From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F407C433DB for ; Wed, 31 Mar 2021 04:28:43 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 82F2B619CD for ; Wed, 31 Mar 2021 04:28:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82F2B619CD Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4F9CxN4s1kz3c8r for ; Wed, 31 Mar 2021 15:28:40 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=AvLMSU/r; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2401:3900:2:1::2; helo=ozlabs.org; envelope-from=paulus@ozlabs.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=AvLMSU/r; dkim-atps=neutral Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4F9Cwy3Qf6z3brM for ; Wed, 31 Mar 2021 15:28:18 +1100 (AEDT) Received: by ozlabs.org (Postfix, from userid 1003) id 4F9Cwm4tspz9sVq; Wed, 31 Mar 2021 15:28:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1617164888; bh=bzfJZ1XyYCAEGWSrsQejGXPgeiIBH5brzLLsqIGTufs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AvLMSU/r2oBAxwxUYw0kAKKUDxWWCfzjC3RhWsdiWQ0m032RsPafOGVLCMxenX8dp DL85cSL9qKxl7nI4LupUV0bUnzKXkcqNO3mzCkLoM5GpumE0l7EalBO7Tn6+aV8lYO N/+amoE7gloncPDDKFEXTjd8hOx5REFN90hkXn9vAgpdj0VUWerWFtg8fCB0GynExB MvIzlC15zls7ntnlhu4G++9kGue8iovZHCMuQIUlKpxMp1aDU+uPdqAqvOnOOQIETg EHh8I9NpgLsE9U7jlbzSLy5CZs8wHN1buQgG51rJuiPZuvxqH3HkFGWUO4ON11d4zm o+uq3Xi/xPijg== Date: Wed, 31 Mar 2021 15:28:01 +1100 From: Paul Mackerras To: Nicholas Piggin Subject: Re: [PATCH v4 03/46] KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2 Message-ID: References: <20210323010305.1045293-1-npiggin@gmail.com> <20210323010305.1045293-4-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210323010305.1045293-4-npiggin@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, Fabiano Rosas Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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