[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c5c0aa8b-c6fc-ea7b-020e-9ab6bf25cc68@amd.com>
Date: Wed, 14 Jan 2026 09:12:12 -0800
From: Lizhi Hou <lizhi.hou@....com>
To: "Falkowski, Maciej" <maciej.falkowski@...ux.intel.com>,
<ogabbay@...nel.org>, <quic_jhugo@...cinc.com>,
<dri-devel@...ts.freedesktop.org>
CC: <linux-kernel@...r.kernel.org>, <max.zhen@....com>,
<sonal.santan@....com>, <mario.limonciello@....com>
Subject: Re: [PATCH V1] accel/amdxdna: Fix notifier_wq flushing warning
Applied to drm-misc-next.
On 1/14/26 07:04, Falkowski, Maciej wrote:
> Reviewed-by: Maciej Falkowski <maciej.falkowski@...ux.intel.com>
>
> On 1/13/2026 6:36 PM, 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>
>> ---
>> 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