linux_dsm_epyc7002/arch/x86/pci
Pallipadi, Venkatesh 9cdec04938 x86, PAT, PCI: Change vma prot in pci_mmap to reflect inherited prot
While looking at the issue in the thread:

  http://marc.info/?l=dri-devel&m=123606627824556&w=2

noticed a bug in pci PAT code and memory type setting.

PCI mmap code did not set the proper protection in vma, when it
inherited protection in reserve_memtype. This bug only affects
the case where there exists a WC mapping before X does an mmap
with /proc or /sys pci interface. This will cause X userlevel
mmap from /proc or /sysfs to fail on fork.

Reported-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: <stable@kernel.org>
LKML-Reference: <20090323190720.GA16831@linux-os.sc.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-24 10:42:35 +01:00
..
acpi.c
amd_bus.c
common.c x86: move a few device initialization objects into .devinit.rodata 2009-03-12 13:12:19 +01:00
direct.c
early.c
fixup.c x86: move a few device initialization objects into .devinit.rodata 2009-03-12 13:12:19 +01:00
i386.c x86, PAT, PCI: Change vma prot in pci_mmap to reflect inherited prot 2009-03-24 10:42:35 +01:00
init.c
irq.c
legacy.c
Makefile
mmconfig_32.c
mmconfig_64.c
mmconfig-shared.c
numaq_32.c x86, apic: remove genapic.h 2009-02-17 17:52:44 +01:00
olpc.c
pcbios.c
visws.c