Re: [PATCH 03/17] pci: Only allow WC mmap on prefetchable resources

2017-03-24 Thread David Woodhouse
On Fri, 2017-03-24 at 17:05 +0100, Arnd Bergmann wrote: > On Wed, Mar 22, 2017 at 2:25 PM, David Woodhouse wrote: > > > > From: David Woodhouse > > > > The /proc/bus/pci mmap interface allows the user to specify whether they > > want WC or not. Don't let them do so on non-prefetchable BARs. > >

Re: [PATCH 03/17] pci: Only allow WC mmap on prefetchable resources

2017-03-24 Thread Arnd Bergmann
On Wed, Mar 22, 2017 at 2:25 PM, David Woodhouse wrote: > From: David Woodhouse > > The /proc/bus/pci mmap interface allows the user to specify whether they > want WC or not. Don't let them do so on non-prefetchable BARs. > > Signed-off-by: David Woodhouse > Cc: sta...@vger.kernel.org Can you e