diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2017-04-12 14:25:52 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 20:00:49 +0200 |
commit | cef4d02305a06be581bb7f4353446717a1b319ec (patch) | |
tree | c806c699401ede0d5ca0894d33f84bac80e7e99e /kernel/user.c | |
parent | PCI: Fix another sanity check bug in /proc/pci mmap (diff) | |
download | linux-cef4d02305a06be581bb7f4353446717a1b319ec.tar.xz linux-cef4d02305a06be581bb7f4353446717a1b319ec.zip |
PCI: Only allow WC mmap on prefetchable resources
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 <dwmw@amazon.co.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions