Christoph Lameter
0889eba5b3
x86_64: SPARSEMEM_VMEMMAP 2M page size support
...
x86_64 uses 2M page table entries to map its 1-1 kernel space. We also
implement the virtual memmap using 2M page table entries. So there is no
additional runtime overhead over FLATMEM, initialisation is slightly more
complex. As FLATMEM still references memory to obtain the mem_map pointer and
SPARSEMEM_VMEMMAP uses a compile time constant, SPARSEMEM_VMEMMAP should be
superior.
With this SPARSEMEM becomes the most efficient way of handling virt_to_page,
pfn_to_page and friends for UP, SMP and NUMA on x86_64.
[apw@shadowen.org: code resplit, style fixups]
[apw@shadowen.org: vmemmap x86_64: ensure end of section memmap is initialised]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Andi Kleen <ak@suse.de>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
18 years ago
Jeff Garzik
a79e4198d1
PCI: X86: Introduce and enable PCI domain support
...
* fix bug in pci_read() and pci_write() which prevented PCI domain
support from working (hardcoded domain 0).
* unconditionally enable CONFIG_PCI_DOMAINS
* implement pci_domain_nr() and pci_proc_domain(), as required of
all arches when CONFIG_PCI_DOMAINS is enabled.
* store domain in struct pci_sysdata, as assigned by ACPI
* support "pci=nodomains"
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago
Thomas Gleixner
b8ce335906
x86_64: convert to clock events
...
Finally switch to the clockevents code. Share code with i386 for
hpet and PIT.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
18 years ago
Thomas Gleixner
ba7eda4c60
x86_64: Add (not yet used) clock event functions
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
18 years ago
Thomas Gleixner
89b2bbd69b
x86_64: Select clocksource watchdog in Kconfig
...
TSC must be verified by a continous and reliable clocksource to
allow high resolution timers and or dynamic ticks.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
18 years ago
Thomas Gleixner
754090fb43
x86: remove migration makefile tweaks
...
The makefile tweaks to allow the build during the move of
code from arch/i386 and arch/x86_64 are not longer necessary.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
250c22777f
x86_64: move kernel
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
2db55d344e
x86_64: move ia32
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
33fc6d5133
x86_64: move oprofile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
95119fbd87
x86_64: move mm
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
2a6c8d5a7e
x86_64: move boot
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
9e9b4573e4
x86_64: move boot
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
aadfb679c8
x86_64: move boot
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
f68c065491
x86_64: move pci
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
7648b1330c
x86_64: move vdso
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
185f3d3890
x86_64: move lib
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
51b2833060
x86_64: move kernel/cpufreq
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
e8d08eb1b5
x86_64: move kernel/acpi
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
987c75d717
x86_64: move crypto
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
9a163ed8e0
i386: move kernel
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
f7627e2513
i386: move kernel/cpu
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
ff4395654d
i386: move oprofile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
ad757b6aa5
i386: move mm
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
96ae6ea0be
i386: move boot
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
0530bf37ce
i386: move boot
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
fb9aa6f1d4
i386: move pci
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
44f0257fc3
i386: move lib
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
2ec1df4130
i386: move kernel/cpu/mtrr
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
ee580dc91e
i386: move kernel/cpu/cpufreq
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
c18db0d7e2
i386: move kernel/cpu/mcheck
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
23d6f82bd1
i386: move kernel/acpi
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
9c20194215
i386: move crypto
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
af49d41e8c
x86_64: prepare shared mm/Makefile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
9c89b008ca
x86_64: prepare shared mm/fault.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
4ec0f73f27
x86_64: prepare shared mm/pageattr.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
5140b4f77d
x86_64: prepare shared mm/k8topology.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
c559b6fdd1
x86_64: prepare shared mm/extable.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
4d381b5828
x86_64: prepare shared mm/numa.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
b2110a1778
x86_64: prepare shared mm/mmap.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
4391e4cc25
x86_64: prepare shared mm/init.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
f3ba86d98a
x86_64: prepare shared mm/ioremap.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
de48b04666
x86_64: prepare shared mm/srat.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
b9fe6ce1c0
x86_64: prepare shared boot/compressed/Makefile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
16cfc182fd
x86_64: prepare shared boot/compressed/head.S
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
e5e96ef289
x86_64: prepare shared boot/compressed/vmlinux.scr
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
4290fcfd73
x86_64: prepare shared boot/compressed/vmlinux.lds
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
6f80a03f0c
x86_64: prepare shared boot/compressed/misc.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
7b06e6c58c
x86_64: prepare shared pci/Makefile
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
e0915fb261
x86_64: prepare shared pci/mmconfig.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago
Thomas Gleixner
08d4759ee7
x86_64: prepare shared pci/k8-bus.c
...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 years ago