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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> CC: gengdongjiu <gengdj.1984@xxxxxxxxx>
> CC: Tyler Baicar <tbaicar@xxxxxxxxxxxxxx>

Reviewed-by: Marc Zyngier <marc.zyngier@xxxxxxx>

	M.
-- 
Jazz is not dead. It just smells funny...
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux