]> git.itanic.dy.fi Git - linux-stable/commit
powerpc: Fix SPE Power ISA properties for e500v1 platforms
authorPali Rohár <pali@kernel.org>
Fri, 2 Sep 2022 21:21:02 +0000 (23:21 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:13 +0000 (19:22 +1000)
commit37b9345ce7f4ab17538ea62def6f6d430f091355
tree543f61b726390e5ee8054f94e26ebb59d29728fd
parent18213532de7156af689cb0511d2f95bcbe3c98a0
powerpc: Fix SPE Power ISA properties for e500v1 platforms

Commit 2eb28006431c ("powerpc/e500v2: Add Power ISA properties to comply
with ePAPR 1.1") introduced new include file e500v2_power_isa.dtsi and
should have used it for all e500v2 platforms. But apparently it was used
also for e500v1 platforms mpc8540, mpc8541, mpc8555 and mpc8560.

e500v1 cores compared to e500v2 do not support double precision floating
point SPE instructions. Hence power-isa-sp.fd should not be set on e500v1
platforms, which is in e500v2_power_isa.dtsi include file.

Fix this issue by introducing a new e500v1_power_isa.dtsi include file and
use it in all e500v1 device tree files.

Fixes: 2eb28006431c ("powerpc/e500v2: Add Power ISA properties to comply with ePAPR 1.1")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220902212103.22534-1-pali@kernel.org
arch/powerpc/boot/dts/fsl/e500v1_power_isa.dtsi [new file with mode: 0644]
arch/powerpc/boot/dts/fsl/mpc8540ads.dts
arch/powerpc/boot/dts/fsl/mpc8541cds.dts
arch/powerpc/boot/dts/fsl/mpc8555cds.dts
arch/powerpc/boot/dts/fsl/mpc8560ads.dts