hw/ppc/pnv.c | 4 ++-- hw/ppc/spapr.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-)
Overview ======== Power11 is the newest supported Power processor merged last year. Make it the default processor for PSeries and PowerNV. Testing ======= 1. Git tree with patches: https://gitlab.com/adi-g15-ibm/qemu/-/tree/feat_default_p11 2. Gitlab Pipeline: https://gitlab.com/adi-g15-ibm/qemu/-/pipelines/2542576926/ Aditya Gupta (2): ppc/pnv: Make PowerNV11 as the default powernv machine ppc/pseries: Make Power11 as default cpu for pseries hw/ppc/pnv.c | 4 ++-- hw/ppc/spapr.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) -- 2.54.0
Hi Aditya, I've tested the Power11 default patches on both PSeries and PowerNV guests with various SMP topologies. Testing Environment: - Host: SLES 16.1 - Arch: ppc64le - QEMU: emulator version 11.0.50 PSeries Guest Bringup Status: Success qemu-system-ppc64 -name test-vm -machine pseries,accel=kvm -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -drive file=/var/lib/libvirt/images/sles161.qcow2,if=virtio,format=qcow2 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 PowerNV Guest Bringup Status: Success qemu-system-ppc64 -name test-vm -machine powernv -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -kernel /boot/vmlinux-6.12.0-160099.36-default -initrd /boot/initrd-6.12.0-160099.36-default -append "root=/dev/sda2 rootwait console=hvc0" -device virtio-scsi-pci,id=scsi0 -drive file=/var/lib/libvirt/images/sles161.qcow2,if=none,id=drive0,format=qcow2 -device scsi-hd,bus=scsi0.0,drive=drive0 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 Different topologies tested for both pseries and powernv Status: Success -smp 8,sockets=1,cores=8,threads=1 -smp 8,sockets=1,cores=1,threads=8 -smp 8,sockets=8,cores=1,threads=1 -smp 4,sockets=1,cores=2,threads=2 -smp 4,sockets=2,cores=1,threads=2 -smp 4,sockets=2,cores=2,threads=1 Qemu Unit Test Results Status: Success Ok: 337 Fail: 0 Skipped: 9 Result: All tests passed successfully. Tested-by: Misbah Anjum N <misanjum@linux.ibm.com> Thanks, Misbah Anjum N
Thanks Aditya, Amit and Misbah for the quick turnaround and bringing Power11 to default. I think it's time. I am queuing this patch with minor updates: - patch 1 title prefix changed from ppc/pseries to ppc/spapr to follow the convention - Correcting Amit's email in Tested-by tag. Thanks all once again! Harsh On 23/05/26 12:26 am, Misbah Anjum N wrote: > Hi Aditya, > > I've tested the Power11 default patches on both PSeries and PowerNV guests with various SMP topologies. > > Testing Environment: > - Host: SLES 16.1 > - Arch: ppc64le > - QEMU: emulator version 11.0.50 > > PSeries Guest Bringup > Status: Success > qemu-system-ppc64 -name test-vm -machine pseries,accel=kvm -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -drive file=/var/lib/libvirt/images/sles161.qcow2,if=virtio,format=qcow2 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 > > PowerNV Guest Bringup > Status: Success > qemu-system-ppc64 -name test-vm -machine powernv -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -kernel /boot/vmlinux-6.12.0-160099.36-default -initrd /boot/initrd-6.12.0-160099.36-default -append "root=/dev/sda2 rootwait console=hvc0" -device virtio-scsi-pci,id=scsi0 -drive file=/var/lib/libvirt/images/sles161.qcow2,if=none,id=drive0,format=qcow2 -device scsi-hd,bus=scsi0.0,drive=drive0 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 > > Different topologies tested for both pseries and powernv > Status: Success > -smp 8,sockets=1,cores=8,threads=1 > -smp 8,sockets=1,cores=1,threads=8 > -smp 8,sockets=8,cores=1,threads=1 > -smp 4,sockets=1,cores=2,threads=2 > -smp 4,sockets=2,cores=1,threads=2 > -smp 4,sockets=2,cores=2,threads=1 > > Qemu Unit Test Results > Status: Success > Ok: 337 > Fail: 0 > Skipped: 9 > > Result: All tests passed successfully. > > Tested-by: Misbah Anjum N <misanjum@linux.ibm.com> > > Thanks, > Misbah Anjum N >
On 23/05/26 00:26, Misbah Anjum N wrote: > Hi Aditya, > > I've tested the Power11 default patches on both PSeries and PowerNV guests with various SMP topologies. > > Testing Environment: > - Host: SLES 16.1 > - Arch: ppc64le > - QEMU: emulator version 11.0.50 > > PSeries Guest Bringup > Status: Success > qemu-system-ppc64 -name test-vm -machine pseries,accel=kvm -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -drive file=/var/lib/libvirt/images/sles161.qcow2,if=virtio,format=qcow2 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 > > PowerNV Guest Bringup > Status: Success > qemu-system-ppc64 -name test-vm -machine powernv -m 4096 -smp 8,sockets=1,cores=8,threads=1 -nographic -serial mon:stdio -kernel /boot/vmlinux-6.12.0-160099.36-default -initrd /boot/initrd-6.12.0-160099.36-default -append "root=/dev/sda2 rootwait console=hvc0" -device virtio-scsi-pci,id=scsi0 -drive file=/var/lib/libvirt/images/sles161.qcow2,if=none,id=drive0,format=qcow2 -device scsi-hd,bus=scsi0.0,drive=drive0 -netdev bridge,id=net0,br=virbr0 -device virtio-net-pci,netdev=net0 > > Different topologies tested for both pseries and powernv > Status: Success > -smp 8,sockets=1,cores=8,threads=1 > -smp 8,sockets=1,cores=1,threads=8 > -smp 8,sockets=8,cores=1,threads=1 > -smp 4,sockets=1,cores=2,threads=2 > -smp 4,sockets=2,cores=1,threads=2 > -smp 4,sockets=2,cores=2,threads=1 > > Qemu Unit Test Results > Status: Success > Ok: 337 > Fail: 0 > Skipped: 9 > > Result: All tests passed successfully. > > Tested-by: Misbah Anjum N <misanjum@linux.ibm.com> Thank you for the extensive testing, Misbah ! - Aditya G
Hi Aditya, Thanks for the patches. On 2026/05/22 01:38 AM, Aditya Gupta wrote: > Overview > ======== > > Power11 is the newest supported Power processor merged last year. > Make it the default processor for PSeries and PowerNV. I gave the patches a try and I see the default CPU without the patches is Power10 while with the patches, the default CPU becomes as Power11. PowerNV: ======== Without the patches: -------------------- # cat /proc/cpuinfo processor : 0 cpu : POWER10, altivec supported clock : 3800.000000MHz revision : 2.0 (pvr 0080 1200) timebase : 512000000 platform : PowerNV model : IBM PowerNV (emulated by qemu) machine : PowerNV IBM PowerNV (emulated by qemu) firmware : OPAL MMU : Radix With the patches: ----------------- # cat /proc/cpuinfo processor : 0 cpu : Power11, altivec supported clock : 3800.000000MHz revision : 18.0 (pvr 0082 1200) platform : PowerNV model : IBM PowerNV (emulated by qemu) machine : PowerNV IBM PowerNV (emulated by qemu) firmware : OPAL MMU : Radix pSeries: ======== Without the patches: -------------------- # cat /proc/cpuinfo processor : 0 cpu : POWER10 (architected), altivec supported clock : 1000.000000MHz revision : 2.0 (pvr 0080 1200) timebase : 512000000 platform : pSeries model : IBM pSeries (emulated by qemu) machine : CHRP IBM pSeries (emulated by qemu) MMU : Radix With the patches: ----------------- # cat /proc/cpuinfo processor : 0 cpu : Power11 (architected), altivec supported clock : 1000.000000MHz revision : 18.0 (pvr 0082 1200) timebase : 512000000 platform : pSeries model : IBM pSeries (emulated by qemu) machine : CHRP IBM pSeries (emulated by qemu) MMU : Radix Also, the changes look good to me. Hence: Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Tested-by: Amit Machhiwal <amachihw@linux.ibm.com> Thanks, Amit
On 22/05/26 16:59, Amit Machhiwal wrote: > Hi Aditya, > > Thanks for the patches. > > On 2026/05/22 01:38 AM, Aditya Gupta wrote: >> Overview >> ======== >> >> Power11 is the newest supported Power processor merged last year. >> Make it the default processor for PSeries and PowerNV. > I gave the patches a try and I see the default CPU without the patches is > Power10 while with the patches, the default CPU becomes as Power11. > > PowerNV: > ======== > Without the patches: > -------------------- > # cat /proc/cpuinfo > processor : 0 > cpu : POWER10, altivec supported > clock : 3800.000000MHz > revision : 2.0 (pvr 0080 1200) > > timebase : 512000000 > platform : PowerNV > model : IBM PowerNV (emulated by qemu) > machine : PowerNV IBM PowerNV (emulated by qemu) > firmware : OPAL > MMU : Radix > > With the patches: > ----------------- > # cat /proc/cpuinfo > processor : 0 > cpu : Power11, altivec supported > clock : 3800.000000MHz > revision : 18.0 (pvr 0082 1200) > > platform : PowerNV > model : IBM PowerNV (emulated by qemu) > machine : PowerNV IBM PowerNV (emulated by qemu) > firmware : OPAL > MMU : Radix > > pSeries: > ======== > > Without the patches: > -------------------- > # cat /proc/cpuinfo > processor : 0 > cpu : POWER10 (architected), altivec supported > clock : 1000.000000MHz > revision : 2.0 (pvr 0080 1200) > > timebase : 512000000 > platform : pSeries > model : IBM pSeries (emulated by qemu) > machine : CHRP IBM pSeries (emulated by qemu) > MMU : Radix > > With the patches: > ----------------- > # cat /proc/cpuinfo > processor : 0 > cpu : Power11 (architected), altivec supported > clock : 1000.000000MHz > revision : 18.0 (pvr 0082 1200) > > timebase : 512000000 > platform : pSeries > model : IBM pSeries (emulated by qemu) > machine : CHRP IBM pSeries (emulated by qemu) > MMU : Radix > > Also, the changes look good to me. Hence: > > Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> > Tested-by: Amit Machhiwal <amachihw@linux.ibm.com> Thanks for the tags, Amit !
On 22/05/26 01:38, Aditya Gupta wrote: > Overview > ======== > > Power11 is the newest supported Power processor merged last year. > Make it the default processor for PSeries and PowerNV. > > Testing > ======= > 1. Git tree with patches: https://gitlab.com/adi-g15-ibm/qemu/-/tree/feat_default_p11 > 2. Gitlab Pipeline: https://gitlab.com/adi-g15-ibm/qemu/-/pipelines/2542576926/ Note: For qemu to successfully build, following patches by Amit are required: https://lore.kernel.org/qemu-devel/20260518172517.12466-1-amachhiw@linux.ibm.com/ - Aditya G
© 2016 - 2026 Red Hat, Inc.