Thread (2 messages) flat view 2 messages, 2 authors, 2014-12-11

Re: [PATCH RFC 3/5] pci: add pci_iomap_range

From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-12-11 22:28:15
Also in: linux-arch, lkml

On Thursday 11 December 2014 21:37:34 Michael S. Tsirkin wrote:
        if (flags & IORESOURCE_MEM) {
-               if (flags & IORESOURCE_CACHEABLE)
+               if (!force_nocache && (flags & IORESOURCE_CACHEABLE))
                        return ioremap(start, len);
                return ioremap_nocache(start, len);
        }
ioremap is the same as ioremap_nocache, so this doesn't really make any
sense. IORESOURCE_CACHEABLE is practically only set for ROM bars, which
we rarely map.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help