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

Marc Zyngier maz at kernel.org
Mon Dec 20 00:44:37 PST 2021


On Sun, 19 Dec 2021 14:36:20 +0000,
David Virag <virag.david003 at gmail.com> wrote:
> 
> On Tue, 2021-12-07 at 19:42 +0000, Marc Zyngier wrote:
> > On 2021-12-06 15:31, David Virag wrote:
> > > 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 <virag.david003 at gmail.com>
> > 
> > [...]
> > 
> > > +       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.



More information about the linux-arm-kernel mailing list