[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1EB1pvWkoHXQh+a@infradead.org>
Date: Thu, 20 Oct 2022 01:07:50 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Niklas Schnelle <schnelle@...ux.ibm.com>
Cc: Matthew Rosato <mjrosato@...ux.ibm.com>, iommu@...ts.linux.dev,
Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>,
Jason Gunthorpe <jgg@...dia.com>,
Gerd Bayer <gbayer@...ux.ibm.com>,
Pierre Morel <pmorel@...ux.ibm.com>,
linux-s390@...r.kernel.org, borntraeger@...ux.ibm.com,
hca@...ux.ibm.com, gor@...ux.ibm.com,
gerald.schaefer@...ux.ibm.com, agordeev@...ux.ibm.com,
svens@...ux.ibm.com, linux-kernel@...r.kernel.org,
Wenjia Zhang <wenjia@...ux.ibm.com>,
Julian Ruess <julianr@...ux.ibm.com>
Subject: Re: [RFC 1/6] s390/ism: Set DMA coherent mask
On Wed, Oct 19, 2022 at 04:44:30PM +0200, Niklas Schnelle wrote:
> if (ret)
> goto err_resource;
>
> + ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(64));
Nit: but you could also just replace the call to dma_set_mask abobe with
a call to dma_set_mask_and_coherent.
Powered by blists - more mailing lists