Re: [PATCH 6/6] KVM: PPC: Book3S HV Nested: L2 LPCR should inherit L1 LPES setting

2022-03-09 Thread Fabiano Rosas
Nicholas Piggin writes: > The L1 should not be able to adjust LPES mode for the L2. Setting LPES > if the L0 needs it clear would cause external interrupts to be sent to > L2 and missed by the L0. > > Clearing LPES when it may be set, as typically happens with XIVE enabled > could cause a perform

[PATCH 6/6] KVM: PPC: Book3S HV Nested: L2 LPCR should inherit L1 LPES setting

2022-03-02 Thread Nicholas Piggin
The L1 should not be able to adjust LPES mode for the L2. Setting LPES if the L0 needs it clear would cause external interrupts to be sent to L2 and missed by the L0. Clearing LPES when it may be set, as typically happens with XIVE enabled could cause a performance issue despite having no native X