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:Fuad Tabba <tabba@google.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20231214100158.2305400-11-tabba@google.com (cherry picked from commit fc04838f)
Loading
Please sign in to comment