[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a226272a-55ea-4687-8c71-a6fd2a77c4cd@kernel.org>
Date: Tue, 13 Jan 2026 12:33:12 -0600
From: "Mario Limonciello (AMD) (kernel.org)" <superm1@...nel.org>
To: Lizhi Hou <lizhi.hou@....com>, ogabbay@...nel.org,
quic_jhugo@...cinc.com, dri-devel@...ts.freedesktop.org,
maciej.falkowski@...ux.intel.com
Cc: linux-kernel@...r.kernel.org, max.zhen@....com, sonal.santan@....com
Subject: Re: [PATCH V1] accel/amdxdna: Fix notifier_wq flushing warning
On 1/13/2026 11:36 AM, Lizhi Hou wrote:
> Create notifier_wq with WQ_MEM_RECLAIM flag to fix the possible warning.
>
> workqueue: WQ_MEM_RECLAIM amdxdna_js:drm_sched_free_job_work [gpu_sched] is flushing !WQ_MEM_RECLAIM notifier_wq:0x0
>
> Fixes: e486147c912f ("accel/amdxdna: Add BO import and export")
> Signed-off-by: Lizhi Hou <lizhi.hou@....com>
Reviewed-by: Mario Limonciello (AMD) <superm1@...nel.org>
> ---
> drivers/accel/amdxdna/amdxdna_pci_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/accel/amdxdna/amdxdna_pci_drv.c b/drivers/accel/amdxdna/amdxdna_pci_drv.c
> index a7968fd140a9..1c83efb51f7d 100644
> --- a/drivers/accel/amdxdna/amdxdna_pci_drv.c
> +++ b/drivers/accel/amdxdna/amdxdna_pci_drv.c
> @@ -277,7 +277,7 @@ static int amdxdna_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> fs_reclaim_release(GFP_KERNEL);
> }
>
> - xdna->notifier_wq = alloc_ordered_workqueue("notifier_wq", 0);
> + xdna->notifier_wq = alloc_ordered_workqueue("notifier_wq", WQ_MEM_RECLAIM);
> if (!xdna->notifier_wq)
> return -ENOMEM;
>
Powered by blists - more mailing lists