]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-its: Fix vgic_its_check_device_id BE handling
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 10:34:53 +0000 (11:34 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:16 +0000 (18:15 +0100)
commit4b6a8d458c2de35bcfc607de8f013d4fae15dbd8
treec16eb6631d0fb377b487a180b3259e59a6716038
parentfc8c1cc6f19417f637ac3952eb76ce934c7eded2
KVM: arm64: vgic-its: Fix vgic_its_check_device_id BE handling

The ITS tables are stored in LE format. If the host is reading
a L1 table entry to check its validity, it must convert it to
the CPU endianness.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c