From: Christoph Hellwig <hch@lst.de>
To: Gavin Li <gavinli@thegavinli.com>
Cc: Gavin Li <git@thegavinli.com>,
iommu@lists.linux-foundation.org,
Robin Murphy <robin.murphy@arm.com>,
Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH v1] dma-mapping: normal memory for mmap() on coherent architectures
Date: Sat, 3 Aug 2019 08:39:27 +0200 [thread overview]
Message-ID: <20190803063927.GA29719@lst.de> (raw)
In-Reply-To: <CA+GxvY5EzTOXWSn_nKb2=v2Lzy6kKBvd+LfWpeNF5o2iD1E6Rg@mail.gmail.com>
On Fri, Aug 02, 2019 at 11:35:48PM -0700, Gavin Li wrote:
> Ah, seems like it wasn't as simple of a fix as I thought :)
With our mess of dma flags nothing is ever as simple as it seems..
> I intended to use dma_mmap_coherent() in the usbfs driver
> (drivers/usb/core/devio.c) because its mmap() was broken on arm64 and
> all the other noncoherent DMA architectures.
Good to know, that is the right thing to do!
I'll try to expedite the fix to 5.3-rc + stable backports once we agree
on the details.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2019-08-03 6:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 18:07 [PATCH v1] dma-mapping: normal memory for mmap() on coherent architectures gavinli
2019-08-03 6:23 ` Christoph Hellwig
2019-08-03 6:35 ` Gavin Li
2019-08-03 6:39 ` Christoph Hellwig [this message]
2020-10-28 11:39 ` Oded Gabbay
2020-10-28 17:31 ` Christoph Hellwig
2020-10-28 17:38 ` Oded Gabbay
2020-10-28 17:39 ` Christoph Hellwig
2020-10-28 19:33 ` Oded Gabbay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190803063927.GA29719@lst.de \
--to=hch@lst.de \
--cc=gavinli@thegavinli.com \
--cc=git@thegavinli.com \
--cc=iommu@lists.linux-foundation.org \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.