summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAlexandru Elisei <alexandru.elisei@arm.com>2020-09-24 15:37:30 +0300
committerMarc Zyngier <maz@kernel.org>2020-09-29 16:26:38 +0300
commitaf130d0adc8e48c73030c0d71a59ce1f7809a8fa (patch)
tree3c9035d684fe79dbf318475356aaae2a318c6730 /mm/filemap.c
parent8be86a5eec046cb8bd06b4393d373cd433a32cba (diff)
downloadlinux-af130d0adc8e48c73030c0d71a59ce1f7809a8fa.tar.xz
KVM: arm64: Add undocumented return values for PMU device control group
KVM_ARM_VCPU_PMU_V3_IRQ returns -EFAULT if get_user() fails when reading the interrupt number from kvm_device_attr.addr. KVM_ARM_VCPU_PMU_V3_INIT returns the error value from kvm_vgic_set_owner(). kvm_arm_pmu_v3_init() checks that the vgic has been initialized and the interrupt number is valid, but kvm_vgic_set_owner() can still return the error code -EEXIST if another device has already claimed the interrupt. Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Andrew Jones <drjones@redhat.com> Link: https://lore.kernel.org/r/20200924123731.268177-2-alexandru.elisei@arm.com
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions