[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YYt2cTEn4MKLuvdk@infradead.org>
Date: Tue, 9 Nov 2021 23:36:17 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Kishon Vijay Abraham I <kishon@...com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Rob Herring <robh@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] PCI: keystone: Set DMA mask and coherent DMA mask
On Wed, Nov 10, 2021 at 01:03:43PM +0530, Kishon Vijay Abraham I wrote:
> + if (dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(48)) &&
> + dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32))) {
There is no need to fall back to a smaller mask, the core DMA code
just cares about the addressability of the device.
Powered by blists - more mailing lists