Thread (3 messages) 3 messages, 3 authors, 2021-07-14

Re: [PATCH] dmaengine: idxd: Simplify code and axe the use of a deprecated API

From: Vinod Koul <vkoul@kernel.org>
Date: 2021-07-14 04:51:37
Also in: kernel-janitors, lkml

On 08-07-21, 07:08, Christophe JAILLET wrote:
The wrappers in include/linux/pci-dma-compat.h should go away.

Replace 'pci_set_dma_mask/pci_set_consistent_dma_mask' by an equivalent
and less verbose 'dma_set_mask_and_coherent()' call.

Even if the code may look different, it should have exactly the same
run-time behavior.
If pci_set_dma_mask(64) fails and pci_set_dma_mask(32) succeeds, then
pci_set_consistent_dma_mask(64) will also fail.
Applied, thanks

-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help