diff options
author | Kyle Huey <me@kylehuey.com> | 2022-11-16 02:09:29 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-11-17 02:03:30 +0300 |
commit | 2c87767c35ee9744f666ccec869d5fe742c3de0a (patch) | |
tree | 92cb331f3a1aa2e0abc69cd3979ba79a0bb4af73 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1c813ce0305571e1b2e4cc4acca451da9e6ad18f (diff) | |
download | linux-2c87767c35ee9744f666ccec869d5fe742c3de0a.tar.xz |
x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
In preparation for moving PKRU handling code out of
fpu_copy_uabi_to_guest_fpstate() and into copy_uabi_to_xstate(), add an
argument that copy_uabi_from_kernel_to_xstate() can use to pass the
canonical location of the PKRU value. For
copy_sigframe_from_user_to_xstate() the kernel will actually restore the
PKRU value from the fpstate, but pass in the thread_struct's pkru location
anyways for consistency.
Signed-off-by: Kyle Huey <me@kylehuey.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20221115230932.7126-4-khuey%40kylehuey.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions