diff options
author | Marc Zyngier <maz@kernel.org> | 2023-01-12 15:48:40 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2023-01-12 21:18:08 +0000 |
commit | fd2b165ce2ccdaad7d5972987acac259cff66ccb (patch) | |
tree | 648093d96ab32be7382e719cef6c0755243d4ace /drivers/firmware/psci/psci.c | |
parent | 59d78a2ec0e9cfba5935f3a0d3f14a771461cded (diff) | |
download | linux-fd2b165ce2ccdaad7d5972987acac259cff66ccb.tar.gz linux-fd2b165ce2ccdaad7d5972987acac259cff66ccb.tar.bz2 linux-fd2b165ce2ccdaad7d5972987acac259cff66ccb.zip |
KVM: arm64: vgic-v3: Limit IPI-ing when accessing GICR_{C,S}ACTIVER0
When a vcpu is accessing *its own* redistributor's SGIs/PPIs, there
is no point in doing a stop-the-world operation. Instead, we can
just let the access occur as we do with GICv2.
This is a very minor optimisation for a non-nesting guest, but
a potentially major one for a nesting L1 hypervisor which is
likely to access the emulated registers pretty often (on each
vcpu switch, at the very least).
Reported-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230112154840.1808595-1-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions