Re: [Qemu-devel] [PATCH 1/4] spapr: only update SDR1 once per-cpu during CAS

2017-09-09 Thread David Gibson
On Mon, Sep 04, 2017 at 11:46:55PM +0200, Greg Kurz wrote: > Commit b55d295e3ec9 added the possibility to support HPT resizing with KVM. > In the case of PR, we need to pass the userspace address of the HPT to KVM > using the SDR1 slot. > This is handled by kvmppc_update_sdr1() which uses CPU_FOREA

[Qemu-devel] [PATCH 1/4] spapr: only update SDR1 once per-cpu during CAS

2017-09-04 Thread Greg Kurz
Commit b55d295e3ec9 added the possibility to support HPT resizing with KVM. In the case of PR, we need to pass the userspace address of the HPT to KVM using the SDR1 slot. This is handled by kvmppc_update_sdr1() which uses CPU_FOREACH() to update all CPUs. It is hence not needed to call kvmppc_upda