Thread (39 messages) 39 messages, 7 authors, 2022-02-01

Re: [PATCH v4 7/7] arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC

From: Marc Zyngier <maz@kernel.org>
Date: 2021-12-20 08:44:50
Also in: linux-arm-kernel, linux-clk, linux-samsung-soc, lkml

On Sun, 19 Dec 2021 14:36:20 +0000,
David Virag [off-list ref] wrote:
On Tue, 2021-12-07 at 19:42 +0000, Marc Zyngier wrote:
quoted
On 2021-12-06 15:31, David Virag wrote:
quoted
Add initial Exynos7885 device tree nodes with dts for the Samsung 
Galaxy
A8 (2018), a.k.a. "jackpotlte", with model number "SM-A530F".
Currently this includes some clock support, UART support, and I2C 
nodes.

Signed-off-by: David Virag <redacted>
[...]
quoted
+       psci {
+               compatible = "arm,psci";
+               method = "smc";
+               cpu_suspend = <0xc4000001>;
+               cpu_off = <0x84000002>;
+               cpu_on = <0xc4000003>;
Aren't these the standard PSCI 0.2 function numbers? Can't you
make the compatible "arm,psci-0.2" instead?
This is not a proper PSCI 0.2 implementation. For example 0.2 has a get
version call which is definitely not implemented properly as after
setting the compatible to 0.2 I get the following:

[    0.000000] psci: PSCIv65535.65535 detected in firmware.

Which is obviously not right.
Indeed. That's a bloody -1 returned by the firmware. Quality
implementation, as usual...

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help