Re: [PATCH v4 11/15] pci: Add pci_iomap_shared{,_range}

From
Michael S. Tsirkin <mst@redhat.com>
Date
2021-09-11 23:54:50
Also in
linux-arch, linux-doc, linux-mips, linux-pci, lkml, sparclinux, virtualization
Reply to
Andi Kleen, 2021-09-10
On Fri, Sep 10, 2021 at 09:34:45AM -0700, Andi Kleen wrote:
quoted
quoted
that's why
an extra level of defense of ioremap opt-in is useful.
OK even assuming this, why is pci_iomap opt-in useful?
That never happens before probe - there's simply no pci_device then.

Hmm, yes that's true. I guess we can make it default to opt-in for
pci_iomap.

It only really matters for device less ioremaps.
OK. And same thing for other things with device, such as
devm_platform_ioremap_resource.
If we agree on all that, this will basically remove virtio
changes from the picture ;)

-- 
MST
Thread (55 messages) 55 messages, 7 authors, last reply 2021-09-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help