From: Oliver Upton <oliver.upton@linux.dev>
To: kvmarm@lists.linux.dev
Cc: Marc Zyngier <maz@kernel.org>, Joey Gouly <joey.gouly@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
Oliver Upton <oliver.upton@linux.dev>
Subject: [PATCH 0/4] KVM: arm64: nv: Fixes for external abort exception routing
Date: Fri, 30 May 2025 16:06:19 -0700 [thread overview]
Message-ID: <20250530230623.650888-1-oliver.upton@linux.dev> (raw)
SEAs and SErrors come with a set of exception routing rules that are
potentially affected by EL2. KVM currently ignores these and just
injects the exceptions into the present context.
This series aims to address that, enlightening some of the injection
plumbing to the presence of vEL2. Additionally, patches 2 and 4 are
minor fixes for bugs that I found along the way.
Oliver Upton (4):
KVM: arm64: nv: Respect exception routing rules for SEAs
KVM: arm64: nv: Ensure Address size faults affect correct ESR
KVM: arm64: nv: Honor SError exception routing / masking
KVM: arm64: Treat vCPU with pending SError as runnable
arch/arm64/include/asm/kvm_emulate.h | 31 ++++++++++--
arch/arm64/include/asm/kvm_host.h | 20 ++++++--
arch/arm64/include/asm/kvm_nested.h | 2 +
arch/arm64/kvm/arm.c | 7 ++-
arch/arm64/kvm/emulate-nested.c | 53 ++++++++++++++++++++
arch/arm64/kvm/guest.c | 36 +++++++------
arch/arm64/kvm/handle_exit.c | 4 +-
arch/arm64/kvm/inject_fault.c | 75 +++++++++++-----------------
arch/arm64/kvm/mmio.c | 6 +--
arch/arm64/kvm/mmu.c | 17 ++-----
arch/arm64/kvm/nested.c | 36 +++++++++++++
11 files changed, 203 insertions(+), 84 deletions(-)
base-commit: 1b85d923ba8c9e6afaf19e26708411adde94fba8
--
2.39.5
next reply other threads:[~2025-05-30 23:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-30 23:06 Oliver Upton [this message]
2025-05-30 23:06 ` [PATCH 1/4] KVM: arm64: nv: Respect exception routing rules for SEAs Oliver Upton
2025-05-31 16:23 ` Marc Zyngier
2025-05-31 17:51 ` Oliver Upton
2025-05-30 23:06 ` [PATCH 2/4] KVM: arm64: nv: Ensure Address size faults affect correct ESR Oliver Upton
2025-05-30 23:06 ` [PATCH 3/4] KVM: arm64: nv: Honor SError exception routing / masking Oliver Upton
2025-05-30 23:06 ` [PATCH 4/4] KVM: arm64: Treat vCPU with pending SError as runnable Oliver Upton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250530230623.650888-1-oliver.upton@linux.dev \
--to=oliver.upton@linux.dev \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.