Re: [PATCH 1/7] core, dma-direct: add a flag 32-bit dma limits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christoph Hellwig <hch@xxxxxx>
- Subject: Re: [PATCH 1/7] core, dma-direct: add a flag 32-bit dma limits
- From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 May 2018 16:50:12 +0200
- Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Fenghua Yu <fenghua.yu@xxxxxxxxx>, x86@xxxxxxxxxx, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx
- In-reply-to: <20180525143512.1466-2-hch@lst.de>
- References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-2-hch@lst.de>
- User-agent: Mutt/1.10.0 (2018-05-17)
On Fri, May 25, 2018 at 04:35:06PM +0200, Christoph Hellwig wrote:
> Various PCI bridges (VIA PCI, Xilinx PCIe) limit DMA to only 32-bits
> even if the device itself supports more. Add a single bit flag to
> struct device (to be moved into the dma extension once we around it)
"once we around it"? I don't understand, sorry.
> to flag such devices and reject larger DMA to them.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> include/linux/device.h | 3 +++
> lib/dma-direct.c | 6 ++++++
> 2 files changed, 9 insertions(+)
For the patch, no objection from me:
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]