spapr: Fix support of POWER5+ processors
commit2460e1d75ba60ee67fadabccd988705b7bb911cd
authorCédric Le Goater <clg@kaod.org>
Wed, 12 Jan 2022 10:28:26 +0000 (12 11:28 +0100)
committerCédric Le Goater <clg@kaod.org>
Wed, 12 Jan 2022 10:28:26 +0000 (12 11:28 +0100)
tree513c38b66b6d6fecc5a36b5b10919f0dc2fbc80a
parent23ab6d8813685c38fd1d87f573dded9fe37ee17f
spapr: Fix support of POWER5+ processors

POWER5+ (ISA v2.03) processors are supported by the pseries machine
but they do not have Altivec instructions. Do not advertise support
for it in the DT.

To be noted that this test is in contradiction with the assert in
cap_vsx_apply().

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Tested-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20220105095142.3990430-3-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr.c