diff options
author | Sean Christopherson <seanjc@google.com> | 2023-01-24 22:45:19 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-03-24 02:07:29 +0300 |
commit | 3d8f61bf8bcd69bcd397276d53aa18f7ca8347f9 (patch) | |
tree | f230abf23beab37a7a3cd4736e6aa33f11e34d5f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 68f7c82ab1b8c7057b0c241907ff7906c7407e6d (diff) | |
download | linux-3d8f61bf8bcd69bcd397276d53aa18f7ca8347f9.tar.xz |
x86: KVM: Add common feature flag for AMD's PSFD
Use a common X86_FEATURE_* flag for AMD's PSFD, and suppress it from
/proc/cpuinfo via the standard method of an empty string instead of
hacking in a one-off "private" #define in KVM. The request that led to
KVM defining its own flag was really just that the feature not show up
in /proc/cpuinfo, and additional patches+discussions in the interim have
clarified that defining flags in cpufeatures.h purely so that KVM can
advertise features to userspace is ok so long as the kernel already uses
a word to track the associated CPUID leaf.
No functional change intended.
Link: https://lore.kernel.org/all/d1b1e0da-29f0-c443-6c86-9549bbe1c79d@redhat.como
Link: https://lore.kernel.org/all/YxGZH7aOXQF7Pu5q@nazgul.tnic
Link: https://lore.kernel.org/all/Y3O7UYWfOLfJkwM%2F@zn.tnic
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20230124194519.2893234-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions