diff options
author | Andrew Cooper | 2022-08-10 23:19:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-01-07 11:11:39 +0100 |
commit | 38f99d0b028473e975336932f6feef99c7e3956a (patch) | |
tree | 2949d2a603390311c93dc1b6665aa864bcbc2870 /arch/arc | |
parent | 346ac4a116cbad784f95ef9a1ab195dbe19230b0 (diff) |
x86/fpu/xstate: Fix XSTATE_WARN_ON() to emit relevant diagnostics
commit 48280042f2c6e3ac2cfb1d8b752ab4a7e0baea24 upstream.
"XSAVE consistency problem" has been reported under Xen, but that's the extent
of my divination skills.
Modify XSTATE_WARN_ON() to force the caller to provide relevant diagnostic
information, and modify each caller suitably.
For check_xstate_against_struct(), this removes a double WARN() where one will
do perfectly fine.
CC stable as this has been wonky debugging for 7 years and it is good to
have there too.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220810221909.12768-1-andrew.cooper3@citrix.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions