aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFuad Tabba <[email protected]>2024-04-23 16:05:11 +0100
committerMarc Zyngier <[email protected]>2024-05-01 16:46:58 +0100
commitf11290e0aa6e40e6823f80c7dcdacf033a54aaeb (patch)
tree00581d259e068f1e34b4c3f9c9f81b82be80846b /tools/perf/scripts/python
parentb5b85bd713b1623c192754cd39a3351fa0c13717 (diff)
KVM: arm64: Refactor checks for FP state ownership
To avoid direct comparison against the fp_owner enum, add a new function that performs the check, host_owns_fp_regs(), to complement the existing guest_owns_fp_regs(). To check for fpsimd state ownership, use the helpers instead of directly using the enums. No functional change intended. Suggested-by: Marc Zyngier <[email protected]> Signed-off-by: Fuad Tabba <[email protected]> Reviewed-by: Mark Brown <[email protected]> Acked-by: Oliver Upton <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions