aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorJeremy Linton <[email protected]>2025-07-19 04:37:33 +0000
committerCatalin Marinas <[email protected]>2025-07-23 11:08:17 +0000
commitcbbcfb94c55c02a8c4ce52b5da0770b5591a314c (patch)
tree823f14506ce5d725ea6fb346bd8bc337daa4096a /drivers/platform/x86/intel/pmt/class.c
parentarm64: signal: Remove ISB when resetting POR_EL0 (diff)
downloadkernel-cbbcfb94c55c02a8c4ce52b5da0770b5591a314c.tar.gz
kernel-cbbcfb94c55c02a8c4ce52b5da0770b5591a314c.zip
arm64/gcs: task_gcs_el0_enable() should use passed task
Mark Rutland noticed that the task parameter is ignored and 'current' is being used instead. Since this is usually what its passed, it hasn't yet been causing problems but likely will as the code gets more testing. But, once this is fixed, it creates a new bug in copy_thread_gcs() since the gcs_el_mode isn't yet set for the task before its being checked. Move gcs_alloc_thread_stack() after the new task's gcs_el0_mode initialization to avoid this. Fixes: fc84bc5378a8 ("arm64/gcs: Context switch GCS state for EL0") Signed-off-by: Jeremy Linton <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions