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
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