Re: [PATCH] PCI: shpchp: add WQ_PERCPU to alloc_workqueue users
From: Marco Crivellari
Date: Wed Dec 24 2025 - 10:17:15 EST
On Fri, Nov 7, 2025 at 3:36 PM Marco Crivellari
<marco.crivellari@xxxxxxxx> wrote:
> [...]
> ---
> drivers/pci/hotplug/shpchp_core.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c
> index 0c341453afc6..56308515ecba 100644
> --- a/drivers/pci/hotplug/shpchp_core.c
> +++ b/drivers/pci/hotplug/shpchp_core.c
> @@ -80,7 +80,8 @@ static int init_slots(struct controller *ctrl)
> slot->device = ctrl->slot_device_offset + i;
> slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i);
>
> - slot->wq = alloc_workqueue("shpchp-%d", 0, 0, slot->number);
> + slot->wq = alloc_workqueue("shpchp-%d", WQ_PERCPU, 0,
> + slot->number);
> if (!slot->wq) {
> retval = -ENOMEM;
> goto error_slot;
Gentle ping.
Thanks!
--
Marco Crivellari
L3 Support Engineer