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: 13676417 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EE2271743; Tue, 28 May 2024 10:06:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890809; cv=none; b=kTDhjX2Sb271OAXogw12rkzMG+2Wcp7QnNM/UdjdOxgcn7rQzeRMQtXzX8DF8EkxL8M9nQ5OcVQTjaHpBrZ2qn9dqgb+WsdzD42F65FGM78EXzEOyoGP2g4yF/7vHfOF3xlqP4ATsE8HCAGMhmhmqMcBuEKs2Gzf5Ql0F+16B5Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890809; c=relaxed/simple; bh=C0Lc9f035MeY02CMX3n2ZTaZkVQ6TuRa0sQ8hl6Jz1M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jTsGHYtmLOCaxW704e4il2GunjUWWpae6U51TmnL9+D8wgB1ZUt/cctsfEKTcz1dvgmTQOBnf+pNXygdhh7Q9NSOSHtc8TjQvI4jHIkhDJBBlPPQVfcKK2xTg9qlP1osOhmY0HxB0YwiYR7XVBemsdOGIPQVfk9X990IHvY7HxU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=M1XQ+8OY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M1XQ+8OY" 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 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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