Hi Nick,
I did some sanity testing of this series on KVM on LPAR (P10) with the help of
avocado test suites, LGTM
Tested-by: Gautam Menghani
Hi Nick,
Any comments on this? Can this go in if it looks ok?
Thanks,
Gautam
Hello,
Please let me know if any changes are needed in this patch.
Thanks,
Gautam
est.
Perf impact:
With null syscall benchmark[1], ~45% improvement is observed.
1. Vanilla QEMU
$ ./null_syscall
132.19 ns 456.54 cycles
2. With this patch
$ ./null_syscall
91.18 ns 314.57 cycles
[1]: https://ozlabs.org/~anton/junkcode/null_syscall.c
Signed-off-by: Gautam Menghani
---
v1
On Thu, Apr 10, 2025 at 02:46:47PM +0200, Philippe Mathieu-Daudé wrote:
> Hi Gautam,
>
> On 10/4/25 12:43, Gautam Menghani wrote:
> > Currently, on a P10 KVM guest, the mitigations seen in the output of
> > "lscpu" command are different from the host. The reason
est.
Perf impact:
With null syscall benchmark[1], ~45% improvement is observed.
1. Vanilla QEMU
$ ./null_syscall
132.19 ns 456.54 cycles
2. With this patch
$ ./null_syscall
91.18 ns 314.57 cycles
[1]: https://ozlabs.org/~anton/junkcode/null_syscall.c
Signed-off-by: Gautam Menghani
---
hw/
;
> }
>
> --
> 2.27.0
>
I tested this by launching a QEMU guest in both KVM and TCG modes on a
Power9 PowerNV box. I was able to use the network, and also read and
write files on the disk.
Tested-by: Gautam Menghani
Ok noted, thanks for the feedback Greg and Cedric.
Thanks,
Gautam
605064848.12319-1-...@linux.vnet.ibm.com
QEMU tree to test - github.com/mikey/qemu/tree/kvm-papr
[1] : https://files.openpower.foundation/s/ZmtZyCGiJ2oJHim
Signed-off-by: Gautam Menghani
---
hw/ppc/spapr.c | 2 +-
hw/ppc/spapr_irq.c | 14 +-
2 files changed, 14 insertions(+), 2