diff options
author | Wan Zongshun <[email protected]> | 2015-10-30 13:11:39 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-11-01 11:26:23 +0100 |
commit | 2167ceabf34163727ca4e283c0f030e3960932e5 (patch) | |
tree | 433525ef378c2a76fc5db2e07f22c4c98d2d3669 /tools/perf/util/trace-event-scripting.c | |
parent | 221836e92cd5664de6fc2f1d836f6343ae5f2e43 (diff) |
x86/cpu: Add CLZERO detection
AMD Fam17h processors introduce support for the CLZERO
instruction. It zeroes out the 64 byte cache line specified in
RAX.
Add the bit here to allow /proc/cpuinfo to list the feature.
Boris: we're adding this as a separate ->x86_capability leaf
because CPUID_80000008_EBX is going to contain more feature bits
and it will fill out with time.
Signed-off-by: Wan Zongshun <[email protected]>
Signed-off-by: Aravind Gopalakrishnan <[email protected]>
[ Wrap code in patch form, fix comments. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Huang Rui <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions