summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2019-04-02 03:28:39 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2019-04-02 05:13:40 +0100
commit5d8d4af24460d079ecdb190254b14b528add1228 (patch)
tree4488c610a920727e7a542a64017f991a9343386e /virt
parent50036ad06b7f31f7312b43752185e37cf1d0b663 (diff)
downloadlinux-5d8d4af24460d079ecdb190254b14b528add1228.tar.gz
linux-5d8d4af24460d079ecdb190254b14b528add1228.tar.bz2
linux-5d8d4af24460d079ecdb190254b14b528add1228.zip
arm64: KVM: Fix system register enumeration
The introduction of the SVE registers to userspace started with a refactoring of the way we expose any register via the ONE_REG interface. Unfortunately, this change doesn't exactly behave as expected if the number of registers is non-zero and consider everything to be an error. The visible result is that QEMU barfs very early when creating vcpus. Make sure we only exit early in case there is an actual error, rather than a positive number of registers... Fixes: be25bbb392fa ("KVM: arm64: Factor out core register ID enumeration") Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions