android_kernel_xiaomi_sm8350/arch/x86/kernel
Eduardo Habkost a6523748bd paravirt/x86, 64-bit: move __PAGE_OFFSET to leave a space for hypervisor
Set __PAGE_OFFSET to the most negative possible address +
16*PGDIR_SIZE.  The gap is to allow a space for a hypervisor to fit.
The gap is more or less arbitrary, but it's what Xen needs.

When booting native, kernel/head_64.S has a set of compile-time
generated pagetables used at boot time.  This patch removes their
absolutely hard-coded layout, and makes it parameterised on
__PAGE_OFFSET (and __START_KERNEL_map).

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-08 13:11:04 +02:00
..
acpi x86: check command line when CONFIG_X86_MPPARSE is not set, v2 2008-07-08 12:48:31 +02:00
cpu x86: remove open-coded save/load segment operations 2008-07-08 13:10:25 +02:00
.gitignore
alternative.c
amd_iommu_init.c
amd_iommu.c
aperture_64.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
apic_32.c x86: nmi_watchdog - use nmi_watchdog variable for printing 2008-07-08 12:51:39 +02:00
apic_64.c x86: nmi_watchdog - use NMI_NONE by default 2008-07-08 12:51:41 +02:00
apm_32.c
asm-offsets_32.c
asm-offsets_64.c
asm-offsets.c
audit_64.c
bootflag.c
cpuid.c
crash_dump_32.c
crash_dump_64.c
crash.c
doublefault_32.c
ds.c
e820.c mm, generic, x86 boot: more tweaks to hex prints of some pfn addresses 2008-07-08 13:10:40 +02:00
early_printk.c
early-quirks.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
efi_32.c
efi_64.c
efi_stub_32.S
efi_stub_64.S
efi.c x86 boot: only pick up additional EFI memmap if add_efi_memmap flag 2008-07-08 13:10:41 +02:00
entry_32.S
entry_64.S Merge branch 'x86/uv' into x86/devel 2008-07-08 12:24:13 +02:00
genapic_64.c
genapic_flat_64.c
genx2apic_uv_x.c
geode_32.c
head32.c
head64.c
head_32.S x86: boot secondary cpus through initial_code 2008-07-08 12:48:18 +02:00
head_64.S paravirt/x86, 64-bit: move __PAGE_OFFSET to leave a space for hypervisor 2008-07-08 13:11:04 +02:00
head.c x86 boot: allow overlapping early reserve memory ranges 2008-07-08 12:51:26 +02:00
hpet.c
i386_ksyms_32.c
i387.c
i8237.c
i8253.c
i8259.c
init_task.c
io_apic_32.c x86: change __setup_vector_irq with setup_vector_irq 2008-07-08 12:48:21 +02:00
io_apic_64.c x86: nmi_watchdog - use NMI_NONE by default 2008-07-08 12:51:41 +02:00
io_delay.c
ioport.c
ipi.c
irq_32.c
irq_64.c
irqinit_32.c
irqinit_64.c
k8.c
kdebugfs.c
kgdb.c
kprobes.c
kvm.c
kvmclock.c
ldt.c
machine_kexec_32.c
machine_kexec_64.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
Makefile x86: rename setup_32.c to setup.c 2008-07-08 13:10:49 +02:00
mca_32.c
mfgpt_32.c
microcode.c
mmconf-fam10h_64.c
module_32.c
module_64.c
mpparse.c
msr.c
nmi.c x86: nmi_watchdog - introduce nmi_watchdog_active() helper 2008-07-08 12:51:42 +02:00
numaq_32.c
olpc.c
paravirt_patch_32.c
paravirt_patch_64.c
paravirt.c x86/paravirt: add a pgd_alloc/free hooks 2008-07-08 13:11:01 +02:00
pci-calgary_64.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
pci-dma.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
pci-gart_64.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
pci-nommu.c
pci-swiotlb_64.c x86: remove end_pfn in 64bit 2008-07-08 13:10:38 +02:00
pcspeaker.c
pmtimer_64.c
probe_roms_32.c x86: seperate probe_roms into another file 2008-07-08 12:50:05 +02:00
process_32.c x86: move cpu_exit_clear to process_32.c 2008-07-08 12:48:24 +02:00
process_64.c x86: remove open-coded save/load segment operations 2008-07-08 13:10:25 +02:00
process.c
ptrace.c
pvclock.c
quirks.c
reboot_fixups_32.c
reboot.c
relocate_kernel_32.S
relocate_kernel_64.S
rtc.c
scx200_32.c
setup_percpu.c x86: move parse elfvorehdr back to setup.c 2008-07-08 13:10:53 +02:00
setup.c x86: build fix 2008-07-08 13:10:57 +02:00
sigframe.h
signal_32.c
signal_64.c
smp.c
smpboot.c x86: nmi_watchdog - use NMI_NONE by default 2008-07-08 12:51:41 +02:00
smpcommon_32.c
smpcommon.c
srat_32.c x86: numa32 pfn print out using hex instead 2008-07-08 12:50:23 +02:00
stacktrace.c
step.c
summit_32.c
sys_i386_32.c
sys_x86_64.c
syscall_64.c
syscall_table_32.S
tce_64.c
test_nx.c
test_rodata.c
time_32.c
time_64.c
tlb_32.c
tlb_64.c
tlb_uv.c
tls.c
tls.h
topology.c
trampoline_32.S
trampoline_64.S
trampoline.c
traps_32.c x86: don't use gdt_page openly. 2008-07-08 12:48:15 +02:00
traps_64.c
tsc_32.c
tsc_64.c
tsc_sync.c
verify_cpu_64.S
vm86_32.c
vmi_32.c
vmiclock_32.c
vmlinux_32.lds.S
vmlinux_64.lds.S
vmlinux.lds.S
vsmp_64.c
vsyscall_64.c x86, 64-bit: use write_gdt_entry in vsyscall_set_cpu 2008-07-08 13:10:26 +02:00
x8664_ksyms_64.c x86: move x86_64 gdt closer to i386 2008-07-08 12:48:16 +02:00