linux/drivers/platform/cznic
Marco Crivellari f58e25aeb4 platform: cznic: turris-omnia-mcu: replace use of system_wq with system_percpu_wq
Currently if a user enqueues a work item using schedule_delayed_work() the
used wq is "system_wq" (per-cpu wq) while queue_delayed_work() use
WORK_CPU_UNBOUND (used when a cpu is not specified). The same applies to
schedule_work() that is using system_wq and queue_work(), that makes use
again of WORK_CPU_UNBOUND.

This lack of consistency cannot be addressed without refactoring the API.

This patch continues the effort to refactor worqueue APIs, which has begun
with the change introducing new workqueues and a new alloc_workqueue flag:

commit 128ea9f6cc ("workqueue: Add system_percpu_wq and system_dfl_wq")
commit 930c2ea566 ("workqueue: Add new WQ_PERCPU flag")

Replace system_wq with system_percpu_wq, keeping the same behavior.
The old wq (system_wq) will be kept for a few release cycles.

Cc: Marek Behun <kabel@kernel.org>
Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Marco Crivellari <marco.crivellari@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Marek Behún <kabel@kernel.org>
2026-05-07 11:29:59 -10:00
..
Kconfig Merge branch 'cznic/platform' of https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc into soc/drivers 2025-05-12 13:34:21 +02:00
Makefile platform: cznic: turris-omnia-mcu: Add support for digital message signing with HW private key 2025-03-20 17:56:57 +01:00
turris-omnia-mcu-base.c platform: cznic: turris-omnia-mcu: Add support for digital message signing with HW private key 2025-03-20 17:56:57 +01:00
turris-omnia-mcu-gpio.c platform: cznic: turris-omnia-mcu: replace use of system_wq with system_percpu_wq 2026-05-07 11:29:59 -10:00
turris-omnia-mcu-keyctl.c platform: cznic: turris-omnia-mcu: Add support for digital message signing with HW private key 2025-03-20 17:56:57 +01:00
turris-omnia-mcu-sys-off-wakeup.c platform: cznic: turris-omnia-mcu: Add support for poweroff and wakeup 2024-07-01 15:46:37 +02:00
turris-omnia-mcu-trng.c platform: cznic: turris-omnia-mcu: Refactor requesting MCU interrupt 2025-03-20 17:56:56 +01:00
turris-omnia-mcu-watchdog.c platform: cznic: turris-omnia-mcu: Add support for MCU watchdog 2024-07-01 15:46:37 +02:00
turris-omnia-mcu.h platform: cznic: turris-omnia-mcu: Add support for digital message signing with HW private key 2025-03-20 17:56:57 +01:00
turris-signing-key.c platform: cznic: fix function parameter names 2025-03-21 09:50:08 +01:00