diff options
author | Eric Auger <eric.auger@redhat.com> | 2021-04-05 18:39:33 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-06 14:51:37 +0100 |
commit | d9b201e99c616001b4a51627820377b293479384 (patch) | |
tree | 4121bdcae170852db5be67e7c4103da0325231fa /tools/perf/scripts/python/stackcollapse.py | |
parent | 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (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 <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210405163941.510258-2-eric.auger@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions