]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
efi: Allow to expose the workqueue via sysfs
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 27 Feb 2026 17:01:03 +0000 (18:01 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 27 Feb 2026 18:21:37 +0000 (08:21 -1000)
commit0bd96853ba723bc3b174e0158a4499758e3296aa
tree284899104902044460ec7a4a9b37bd784344bc3e
parenta4aa8d94f24317338cf6f62eb3267ad99a2ff7f7
efi: Allow to expose the workqueue via sysfs

Exposing the efi_rts_wq workqueue via sysfs provides an easy mechanism
to restrict EFI firmware invocation to certain CPU(s).
This can be used to restrict EFI invocations to specific CPUs while
allowing other workqueue to use the remaning CPUs.

Expose the workqueue via sysfs. Change the name to efi_runtime which is
what will be visible under sysfs.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/firmware/efi/efi.c