aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2023-10-04 23:49:46 +0000
committerOliver Upton <oliver.upton@linux.dev>2023-10-05 09:33:15 +0000
commitd34b76489ea0c6168d230d4f9ad065422ba5f6d6 (patch)
tree3119655c62cbdf254dfc217333abfe3e594b09e8 /lib/dynamic_debug.c
parentbb17fb31f00ebd8df478a9533c6b77d6eebe6464 (diff)
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 <maz@kernel.org> Link: https://lore.kernel.org/r/20231004234947.207507-3-oliver.upton@linux.dev Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions