linux_dsm_epyc7002/arch/x86/xen
Stefano Stabellini ee176455e2 xen: mask_rw_pte: do not apply the early_ioremap checks on x86_32
The two "is_early_ioremap_ptep" checks in mask_rw_pte are only used on
x86_64, in fact early_ioremap is not used at all to setup the initial
pagetable on x86_32.
Moreover on x86_32 the two checks are wrong because the range
pgt_buf_start..pgt_buf_end initially should be mapped RW because
the pages in the range are not pagetable pages yet and haven't been
cleared yet. Afterwards considering the pgt_buf_start..pgt_buf_end is
part of the initial mapping, xen_alloc_pte is capable of turning
the ptes RO when they become pagetable pages.

Fix the issue and improve the readability of the code providing two
different implementation of mask_rw_pte for x86_32 and x86_64.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2011-04-20 09:43:13 -04:00
..
debugfs.c
debugfs.h
enlighten.c xen: Allow PV-OPS kernel to detect whether XSAVE is supported 2011-04-06 08:31:13 -04:00
grant-table.c
irq.c
Kconfig fix XEN_SAVE_RESTORE Kconfig dependencies 2011-04-11 22:54:48 +02:00
Makefile
mmu.c xen: mask_rw_pte: do not apply the early_ioremap checks on x86_32 2011-04-20 09:43:13 -04:00
mmu.h
multicalls.c
multicalls.h
p2m.c xen: fix p2m section mismatches 2011-03-29 10:01:03 -04:00
pci-swiotlb-xen.c
platform-pci-unplug.c
setup.c xen: do not create the extra e820 region at an addr lower than 4G 2011-04-20 09:04:40 -04:00
smp.c
spinlock.c
suspend.c
time.c
vdso.h
xen-asm_32.S
xen-asm_64.S
xen-asm.h
xen-asm.S
xen-head.S
xen-ops.h