diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-12-20 01:41:00 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-12-20 11:49:09 +0300 |
commit | 38131c02a53ff691e4c496d65d2d087a5ed42bbf (patch) | |
tree | 72a26c1a8ef9ce7e06115ab47276e5dbc3cfe5a7 /scripts/lib/kdoc/kdoc_files.py | |
parent | 2417218f2f234fd7880fb193ebf3ae5fcccfa29b (diff) | |
download | linux-38131c02a53ff691e4c496d65d2d087a5ed42bbf.tar.xz |
KVM: arm64: Track presence of SPE/TRBE in kvm_host_data instead of vCPU
Add flags to kvm_host_data to track if SPE/TRBE is present +
programmable on a per-CPU basis. Set the flags up at init rather than
vcpu_load() as the programmability of these buffers is unlikely to
change.
Reviewed-by: James Clark <james.clark@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241219224116.3941496-4-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions