diff options
author | Andi Kleen <[email protected]> | 2021-12-15 12:40:29 -0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-01-18 12:09:49 +0100 |
commit | 8c16dc047b5dd8f7b3bf4584fa75733ea0dde7dc (patch) | |
tree | fda5f034b2e7c8d18ee79a72d1c09a239ab88aaf /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 5a4487f9ef5ef2fdb3215cadf0a9c3e5e8678634 (diff) |
x86/perf: Avoid warning for Arch LBR without XSAVE
Some hypervisors support Arch LBR, but without the LBR XSAVE support.
The current Arch LBR init code prints a warning when the xsave size (0) is
unexpected. Avoid printing the warning for the "no LBR XSAVE" case.
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions