From patchwork Tue May 28 10:06:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 13676421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7D51C25B78 for ; Tue, 28 May 2024 10:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=r+JjYJN+x/ZF3YNvMr+BCX0Ilag6XWTcZXf65b/qvMs=; b=IzxfyHRFcKpJjZ Oxgb1PBhZmbeWDehe7xfhBMg86XBanecyKlMnL1XDuRh21qXQ+hOz4Lk2a3xplqXaSFrqr3jGo90X yNZ705Mnmq6jl7Y5O71d75Rxzm0+ABWN8fWE1T3KKe4/vx55uXt/O0/zG4dEBzGlUoAEfTaQ9NbkH WZzbHNMr86GnqEWZXimy0EpsFF03IWZd04XFGMdS9fX7rw0DPoQM94V1NiMY402o6FcH0Ef5ulKhs yoKpIhB7Hc9QTT5HYcVowOBlIeH47Z41ANlxgRPCklSyC5L0CgiCg74UNL2dTPaTqYJrZsJ+5fFU8 XJ9ZamOfp1uiYxtS40kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBtjQ-000000009ZJ-2hf3; Tue, 28 May 2024 10:07:00 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBtjH-000000009Ut-2l4M for linux-arm-kernel@lists.infradead.org; Tue, 28 May 2024 10:06:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A35DACE0D85; Tue, 28 May 2024 10:06:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6529C3277B; Tue, 28 May 2024 10:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716890808; bh=C0Lc9f035MeY02CMX3n2ZTaZkVQ6TuRa0sQ8hl6Jz1M=; h=From:To:Cc:Subject:Date:From; b=M1XQ+8OYLp9ia8ZBVNx2Lnpxhz/WbcvhIquqEMknhzUgOR7NtikVDLeqNdObyvaC3 mUtzyR/1mKhM/avJ780EWNuTehJp8GkYd2VEiH+vRO5s5yjBxZ6zDvsxJ3L0Oayqth 2GRECXkfFfWNkqH2v//YGzqNg7CcZRcARGCCDfxEWadvh4Uc0Sent1hOW4FhuB3SJX mQlRW/rRm3ArOculCfc7214ya8eA0mn2eCfzbKVHmhlWHiXYvbi0kPF6R2SI2mpRPa GbS8nveyT3fOCaEFT5MJx6d7GnmB+4HE3bcAoj30tjJ6xjnFsJ32NiFmnhM5lYfZT9 IQ+Kvcl9IVy8Q== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sBtjC-00GFdz-S0; Tue, 28 May 2024 11:06:46 +0100 From: Marc Zyngier To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Cc: James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Joey Gouly Subject: [PATCH 0/2] KVM/arm64 fixes for NV PAC support Date: Tue, 28 May 2024 11:06:30 +0100 Message-Id: <20240528100632.1831995-1-maz@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, joey.gouly@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240528_030651_928844_437CD830 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Here's a small series of fixes following the introduction of NV PAuth support in 6.10: - address the relative priorities of Instruction abort, Illegal Execution state, and PAC failure (already posted) - Expose BTI to a NV guest now that we have PAC up and running Unless someone shouts, I'll take these patches in the next batch of fixes. M. Marc Zyngier (2): KVM: arm64: nv: Fix relative priorities of exceptions generated by ERETAx KVM: arm64: nv: Expose BTI and CSV_frac to a guest hypervisor arch/arm64/kvm/emulate-nested.c | 21 +++++++++++---------- arch/arm64/kvm/nested.c | 6 ++++-- 2 files changed, 15 insertions(+), 12 deletions(-) Reviewed-by: Oliver Upton