Re: [Qemu-devel] [PATCH 5/8] spapr: Clean up LPCR updates from hypercalls

2018-05-03 Thread Cédric Le Goater
On 05/03/2018 08:21 AM, David Gibson wrote: > There are several places in spapr_hcall.c where we need to update the LPCR > value on all CPUs. We do this with the set_spr() helper. That's not > really correct because this directly sets the SPR value, without going > through the ppc_store_lpcr() he

[Qemu-devel] [PATCH 5/8] spapr: Clean up LPCR updates from hypercalls

2018-05-02 Thread David Gibson
There are several places in spapr_hcall.c where we need to update the LPCR value on all CPUs. We do this with the set_spr() helper. That's not really correct because this directly sets the SPR value, without going through the ppc_store_lpcr() helper which may need to update state based on the LPC