android_kernel_xiaomi_sm8350/arch/x86/xen
Jeremy Fitzhardinge 2c80b01bea xen: mask _PAGE_PCD from ptes
_PAGE_PCD maps a page with caching disabled, which is typically used for
mapping harware registers.  Xen never allows it to be set on a mapping, and
unprivileged guests never need it since they can't see the real underlying
hardware.  However, some uncached mappings are made early when probing the
(non-existent) APIC, and its OK to mask off the PCD flag in these cases.

This became necessary because Xen started checking for this bit, rather
than silently masking it off.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-29 09:24:52 -08:00
..
enlighten.c i386: Clean up duplicate includes in arch/i386/xen/ 2007-10-17 20:15:58 +02:00
events.c [SPARC, XEN, NET/CXGB3] use irq_handler_t where appropriate 2007-10-23 19:53:17 -04:00
features.c
Kconfig Normalize config options for guest support 2007-10-23 15:49:47 +10:00
Makefile
manage.c
mmu.c xen: mask _PAGE_PCD from ptes 2007-11-29 09:24:52 -08:00
mmu.h
multicalls.c xen: add some debug output for failed multicalls 2007-10-16 11:51:31 -07:00
multicalls.h xen: add batch completion callbacks 2007-10-16 11:51:30 -07:00
setup.c
smp.c Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86 2007-10-17 13:13:16 -07:00
time.c xen: yield to IPI target if necessary 2007-10-16 11:51:30 -07:00
vdso.h
xen-asm.S
xen-head.S
xen-ops.h xen: deal with stale cr3 values when unpinning pagetables 2007-10-16 11:51:30 -07:00