Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1179756

[PATCH v2 0/2] arm: kernel: implement cpuidle_ops with psci backend

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Jisheng Zhang <jszhang@marvell.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] arm: kernel: implement cpuidle_ops with psci backend
Date Wed, 08 Jul 2015 15:00:03 +0200
Message-ID <pJX7c-2OK-3@gated-at.bofh.it> (permalink)
X-Original-To <linux@arm.linux.org.uk>, <will.deacon@arm.com>, <mark.rutland@arm.com>, <daniel.lezcano@linaro.org>, <Catalin.Marinas@arm.com>, <Lorenzo.Pieralisi@arm.com>
X-Mailer git-send-email 2.1.4
MIME-Version 1.0
Content-Type text/plain
X-Proofpoint-Virus-Version vendor=fsecure engine=2.50.10432:,, definitions=2015-07-08_05:,, signatures=0
X-Proofpoint-Spam-Details rule=outbound_notspam policy=outbound score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1507080205
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
X-Original-Cc <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Jisheng Zhang <jszhang@marvell.com>
X-Original-Date Wed, 8 Jul 2015 20:51:06 +0800
X-Original-Message-ID <1436359868-6176-1-git-send-email-jszhang@marvell.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1179756

Show key headers only | View raw


We'd like to use cpuidle-arm.c for both arm and arm64 with psci as backend.
For arm64, it works. But for arm, we miss cpuidle_ops, these patches try to
address this issue.

Has been tested on Marvell Berlin SoCs. These patches are rebased on the Mark
Rutland's latest psci unification work and Lorenzo Pieralisi's psci related
work[1].

[PATCH 1/2] move psci's cpu_suspend handling to generic code as suggested
	    by Lorenzo.
[PATCH 2/2] implement cpuidle_ops with psci finally.

Since v1:
 - add a new file psci_cpuidle.c to implment cpuidle_ops

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/347352.html

Jisheng Zhang (2):
  firmware: psci: move cpu_suspend handling to generic code
  arm: kernel: implement cpuidle_ops with psci backend

 arch/arm/kernel/Makefile       |  1 +
 arch/arm/kernel/psci_cpuidle.c | 29 +++++++++++++
 arch/arm64/kernel/psci.c       | 95 ------------------------------------------
 drivers/firmware/psci.c        | 95 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/psci.h           |  2 +
 5 files changed, 127 insertions(+), 95 deletions(-)
 create mode 100644 arch/arm/kernel/psci_cpuidle.c

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] arm: kernel: implement cpuidle_ops with psci backend Jisheng Zhang <jszhang@marvell.com> - 2015-07-08 15:00 +0200
  [PATCH v2 2/2] arm: kernel: implement cpuidle_ops with psci backend Jisheng Zhang <jszhang@marvell.com> - 2015-07-08 15:00 +0200

csiph-web