Commit 6709bc06 authored by Fuad Tabba's avatar Fuad Tabba
Browse files

UPSTREAM: KVM: arm64: Update and fix FGT register masks



New trap bits have been defined since the latest update to this
patch.  Moreover, the existing definitions of some of the mask
and the RES0 bits overlap, which could be wrong, confusing, or
both.

Update the bits based on DDI0601 2023-09, and ensure that the
existing bits are consistent.

Subsequent patches will use the generated RES0 fields instead of
specifying them manually. This patch keeps the manual encoding of
the bits to make it easier to review the series.

Fixes: 0fd76865 ("KVM: arm64: Add nPIR{E0}_EL1 to HFG traps")
Bug: 278749606
Change-Id: Ieee8a8797939e8a17c2368e06ba016493db08340
Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-11-tabba@google.com
(cherry picked from commit fc04838f)
parent b38e7b1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment