diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-08-10 02:56:16 +0200 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-09-19 11:14:22 -0700 |
| commit | 6b1bca1b1ab77f60a62087337bfe6e2f0efb9e6d (patch) | |
| tree | 34d96df3bf1994e47b4b8a2ae21c904b90cf969f /net/core/gro_cells.c | |
| parent | 089e4f3c4862ba3f29dff2361caa8084879194fd (diff) | |
KVM: arm64: Fix AArch32 DBGBXVR<n> handling
The consolidation of the breakpoint and watchpoint register accessors
switched DBGBXVR<n> from trap_bvr() to trap_dbg_wb_reg(). The latter
selects backing storage with demux_wb_reg(), which only handles Op2 values
4 through 7. Since DBGBXVR<n> uses Op2 1, an AArch32 guest access hits
KVM_BUG_ON() and marks the VM dead.
DBGBXVR<n> aliases DBGBVR<n>_EL1[63:32], and its AA32(HI) descriptor
already selects the upper half. Map Op2 1 to dbg_bvr[] alongside Op2 4,
restoring the pre-regression behavior.
Fixes: 3ce9f3357e9e ("KVM: arm64: Fold DBGxVR/DBGxCR accessors into common set")
Cc: stable@vger.kernel.org
Assisted-by: Claude:claude-opus-5
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://patch.msgid.link/20260810005616.13227-1-kmehltretter@gmail.com
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'net/core/gro_cells.c')
0 files changed, 0 insertions, 0 deletions
