[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YO5tU2KWW1Sabk35@matsya>
Date: Wed, 14 Jul 2021 10:21:31 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: dave.jiang@...el.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] dmaengine: idxd: Simplify code and axe the use of a
deprecated API
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
Powered by blists - more mailing lists