[PATCH] KVM: arm/arm64: Fix guest external abort matching

Marc Zyngier marc.zyngier at arm.com
Tue Jul 25 06:36:14 PDT 2017


On 18/07/17 13:37, James Morse wrote:
> The ARM-ARM has two bits in the ESR/HSR relevant to external aborts.
> A range of {I,D}FSC values (of which bit 5 is always set) and bit 9 'EA'
> which provides:
>> an IMPLEMENTATION DEFINED classification of External Aborts.
> 
> This bit is in addition to the {I,D}FSC range, and has an implementation
> defined meaning. KVM should always ignore this bit when handling external
> aborts from a guest.
> 
> Remove the ESR_ELx_EA definition and rewrite its helper
> kvm_vcpu_dabt_isextabt() to check the {I,D}FSC range. This merges
> kvm_vcpu_dabt_isextabt() and the recently added is_abort_sea() helper.
> 
> Reported-by: gengdongjiu <gengdj.1984 at gmail.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> CC: gengdongjiu <gengdj.1984 at gmail.com>
> CC: Tyler Baicar <tbaicar at codeaurora.org>

Reviewed-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list