summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic-irqfd.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-02-02 17:32:14 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-12 06:41:48 +0100
commit7127d43e1843400658e42c0b21dc598a59d603e4 (patch)
treeeb11cfc9d2e4f36a459bfbd830b40973e4f58397 /virt/kvm/arm/vgic/vgic-irqfd.c
parenta8123045c94638114a0b1ab19fd218dd3a5cd0b5 (diff)
arm64: fix erroneous __raw_read_system_reg() cases
commit 7d0928f18bf890d2853281f59aba0dd5a46b34f9 upstream. Since it was introduced in commit da8d02d19ffdd201 ("arm64/capabilities: Make use of system wide safe value"), __raw_read_system_reg() has erroneously mapped some sysreg IDs to other registers. For the fields in ID_ISAR5_EL1, our local feature detection will be erroneous. We may spuriously detect that a feature is uniformly supported, or may fail to detect when it actually is, meaning some compat hwcaps may be erroneous (or not enforced upon hotplug). This patch corrects the erroneous entries. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Fixes: da8d02d19ffdd201 ("arm64/capabilities: Make use of system wide safe value") Reported-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-irqfd.c')
0 files changed, 0 insertions, 0 deletions