From: David Woodhouse Date: Wed, 12 Apr 2017 12:25:52 +0000 (+0100) Subject: PCI: Only allow WC mmap on prefetchable resources X-Git-Tag: v3.2.92~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=999df205ec3140149a8eb56dfaefa0946e72327d;p=pandora-kernel.git PCI: Only allow WC mmap on prefetchable resources commit cef4d02305a06be581bb7f4353446717a1b319ec upstream. 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 Signed-off-by: Bjorn Helgaas Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed