[PATCH] KVM: arm64: Use helpers to classify exception types reported via ESR

Marc Zyngier maz at kernel.org
Thu Nov 30 02:47:54 PST 2023


On Tue, 28 Nov 2023 15:04:01 +0100, Ard Biesheuvel wrote:
> Currently, we rely on the fact that exceptions can be trivially
> classified by applying a mask/value pair to the syndrome value reported
> via the ESR register, but this will no longer be true once we enable
> support for 5 level paging.
> 
> So introduce a couple of helpers that encapsulate this mask/value pair
> matching, and wire them up in the code. No functional change intended,
> the actual handling of translation level -1 will be added in a
> subsequent patch.

Applied to next with Mark's suggestion applied.

[1/1] KVM: arm64: Use helpers to classify exception types reported via ESR
      commit: 11e5ea5242e38d44fcede879473566bb6d68f954

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list