diff options
author | Jacob Pan <[email protected]> | 2023-08-09 20:48:01 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-08-09 17:44:39 +0200 |
commit | f5ccf55e10281ae4523b83fe87f2c27fd634dc9d (patch) | |
tree | 151a64b7074aa47bbb22df816bb39135c834c0cf /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7d0c9da6c1509664d96488042bacc02308ca33b2 (diff) |
dmaengine/idxd: Re-enable kernel workqueue under DMA API
Kernel workqueues were disabled due to flawed use of kernel VA and SVA
API. Now that we have the support for attaching PASID to the device's
default domain and the ability to reserve global PASIDs from SVA APIs,
we can re-enable the kernel work queues and use them under DMA API.
We also use non-privileged access for in-kernel DMA to be consistent
with the IOMMU settings. Consequently, interrupt for user privilege is
enabled for work completion IRQs.
Link: https://lore.kernel.org/linux-iommu/[email protected]/
Tested-by: Tony Zhu <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Jacob Pan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions