spapr: Fix support of POWER5+ processors
Status from this message: Applied to ppc7.0.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | target/ppc: Add popcntb instruction to POWER5+ processorstarget/ | +1 | 1 reply | |
| 2/2 | spapr: Fix support of POWER5+ processorshw/ | +6 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Fabiano Rosas |
|---|---|
| 1/2 | R-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] spapr: Fix support of POWER5+ processors
Hello,
Grab the images under :
and run with :
qemu-system-ppc64 -M pseries -cpu POWER5+ -m 1G -smp 2 -kernel ./vmlinux -append "root=/dev/sda" -drive file=./rootfs.ext2,if=scsi,index=0,format=raw -device spapr-vlan,netdev=net0 -netdev user,id=net0 -serial mon:stdio -nographic -nodefaults
CPU 970, 970MP are also well supported.
Virtio devices and USB should be avoided because SLOF would use a 'stdbrx' instruction (cpu_to_le64 helper) which is invalid under POWER5+ and 970 CPUs. SLOF needs to be compiled with -mcpu=power5 to fix this issue.
Thanks,
C.
Cédric Le Goater (2):
target/ppc: Add popcntb instruction to POWER5+ processors
spapr: Fix support of POWER5+ processors
hw/ppc/spapr.c | 10 ++++++---- target/ppc/cpu_init.c | 1 + 2 files changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
2.31.1