diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-06-12 16:01:11 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-08 13:41:05 -0700 |
| commit | 1f077338d1cd57fd3c2d6dfe193be58cd1d04fee (patch) | |
| tree | 14e2106151ab5afd4d6341dbc7cc9de5a3abe6d7 /tools/perf/scripts/python/flamegraph.py | |
| parent | 48512697c081b9c48b7cdae92f437d99e7c0c03c (diff) | |
KVM: x86: Use kvm_dr{6,7}_valid() to check DR{4,5,6,7} write values in emulator
Use kvm_dr{6,7}_valid() to validate the incoming DR{4,5,6,7} value in the
emulator instead of open coding an equivalent check. In the unlikely event
that the behavior of DR6/7 (and their aliases) changes in the future, using
common helpers will hopefully make it less likely the emulator logic will
be overlooked.
No functional change intended.
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://patch.msgid.link/20260612230113.684301-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
