From: Paul Mackerras Date: Wed, 31 Mar 2021 04:28:01 +0000 Subject: Re: [PATCH v4 03/46] KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2 Message-Id: List-Id: References: <20210323010305.1045293-1-npiggin@gmail.com> <20210323010305.1045293-4-npiggin@gmail.com> In-Reply-To: <20210323010305.1045293-4-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, Fabiano Rosas On Tue, Mar 23, 2021 at 11:02:22AM +1000, Nicholas Piggin wrote: > These are already disallowed by H_SET_MODE from the guest, also disallow > these by updating LPCR directly. > > AIL modes can affect the host interrupt behaviour while the guest LPCR > value is set, so filter it here too. > > Suggested-by: Fabiano Rosas > Signed-off-by: Nicholas Piggin Acked-by: Paul Mackerras