aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorEric Auger <[email protected]>2021-04-05 18:39:33 +0200
committerMarc Zyngier <[email protected]>2021-04-06 14:51:37 +0100
commitd9b201e99c616001b4a51627820377b293479384 (patch)
tree4121bdcae170852db5be67e7c4103da0325231fa /lib/mpi/mpi-bit.c
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff)
KVM: arm64: vgic-v3: Fix some error codes when setting RDIST base
KVM_DEV_ARM_VGIC_GRP_ADDR group doc says we should return -EEXIST in case the base address of the redist is already set. We currently return -EINVAL. However we need to return -EINVAL in case a legacy REDIST address is attempted to be set while REDIST_REGIONS were set. This case is discriminated by looking at the count field. Signed-off-by: Eric Auger <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions