diff options
author | 2021-04-05 18:39:33 +0200 | |
---|---|---|
committer | 2021-04-06 14:51:37 +0100 | |
commit | d9b201e99c616001b4a51627820377b293479384 (patch) | |
tree | 4121bdcae170852db5be67e7c4103da0325231fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.12-rc3 (diff) | |
download | linux-dev-d9b201e99c616001b4a51627820377b293479384.tar.xz linux-dev-d9b201e99c616001b4a51627820377b293479384.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions