diff options
| author | Caleb Sander Mateos <[email protected]> | 2025-08-08 15:52:15 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-08-11 13:57:48 +0000 |
| commit | 5058a62875e1916e5133a1639f0207ea2148c0bc (patch) | |
| tree | 741b7a5f59fdcc414b7691342a62d03055f9b420 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | ublk: don't quiesce in ublk_ch_release (diff) | |
| download | kernel-5058a62875e1916e5133a1639f0207ea2148c0bc.tar.gz kernel-5058a62875e1916e5133a1639f0207ea2148c0bc.zip | |
ublk: check for unprivileged daemon on each I/O fetch
Commit ab03a61c6614 ("ublk: have a per-io daemon instead of a per-queue
daemon") allowed each ublk I/O to have an independent daemon task.
However, nr_privileged_daemon is only computed based on whether the last
I/O fetched in each ublk queue has an unprivileged daemon task.
Fix this by checking whether every fetched I/O's daemon is privileged.
Change nr_privileged_daemon from a count of queues to a boolean
indicating whether any I/Os have an unprivileged daemon.
Signed-off-by: Caleb Sander Mateos <[email protected]>
Fixes: ab03a61c6614 ("ublk: have a per-io daemon instead of a per-queue daemon")
Reviewed-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
