diff options
| author | Oliver Upton <[email protected]> | 2023-10-04 23:49:46 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2023-10-05 09:33:15 +0000 |
| commit | d34b76489ea0c6168d230d4f9ad065422ba5f6d6 (patch) | |
| tree | 3119655c62cbdf254dfc217333abfe3e594b09e8 /scripts/gcc-plugins/latent_entropy_plugin.c | |
| parent | KVM: arm64: Add a predicate for testing if SMCCC filter is configured (diff) | |
| download | kernel-d34b76489ea0c6168d230d4f9ad065422ba5f6d6.tar.gz kernel-d34b76489ea0c6168d230d4f9ad065422ba5f6d6.zip | |
KVM: arm64: Only insert reserved ranges when SMCCC filter is used
The reserved ranges are only useful for preventing userspace from
adding a rule that intersects with functions we must handle in KVM. If
userspace never writes to the SMCCC filter than this is all just wasted
work/memory.
Insert reserved ranges on the first call to KVM_ARM_VM_SMCCC_FILTER.
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions
