android_kernel_oneplus_msm8998/arch/tile/kernel
Chris Metcalf 77f8c740d1 tile: support "memmap" boot parameter
This change adds support for the "memmap" boot parameter similar
to what x86 provides.  The tile version supports "memmap=1G$5G",
for example, as a way to reserve a 1 GB range starting at PA 5GB.
The memory is reserved via bootmem during startup, and we create a
suitable "struct resource" marked as "Reserved" so you can see the
range reported by /proc/iomem.  Up to 64 such regions can currently
be reserved on the boot command line.

We do not support the x86 options "memmap=nn@ss" (force some memory
to be available at the given address) since it's pointless to try to
have Linux use memory the Tilera hypervisor hasn't given it.  We do
not support "memmap=nn#ss" to add an ACPI range for later processing,
since we don't support ACPI.  We do not support "memmap=exactmap"
since we don't support reading the e820 information from the BIOS
like x86 does.  I did add support for "memmap=nn" (and the synonym
"mem=nn") which cap the highest PA value at "nn"; these are both
just a synonym for the existing tile boot option "maxmem".

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-08-12 14:46:43 -04:00
..
asm-offsets.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
backtrace.c arch/tile: big-endian: properly bswap instruction bundles when backtracing 2012-06-18 13:11:21 -04:00
compat.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-05-01 07:21:43 -07:00
compat_signal.c tile: switch to generic compat rt_sigaction() 2013-02-03 18:16:22 -05:00
early_printk.c tile: various console improvements 2013-08-12 14:46:18 -04:00
entry.S tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE 2012-10-20 13:13:29 -04:00
futex_64.S arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
hardwall.c tile: various minor cleanups to hardwall subsystem 2013-07-31 11:49:48 -04:00
head_32.S tile: convert uses of "inv" to "finv" 2013-07-31 11:51:19 -04:00
head_64.S tile: convert uses of "inv" to "finv" 2013-07-31 11:51:19 -04:00
hvglue.lds tile: various console improvements 2013-08-12 14:46:18 -04:00
intvec_32.S arch/tile: Call tracehook_report_syscall_{entry,exit} in syscall trace 2013-03-21 15:39:34 -04:00
intvec_64.S tile: support TIF_SYSCALL_TRACEPOINT; select HAVE_SYSCALL_TRACEPOINTS 2013-03-22 15:46:18 -04:00
irq.c arch/tile: use new generic {enable,disable}_percpu_irq() routines 2011-12-03 15:31:49 -05:00
machine_kexec.c arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
Makefile usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
messaging.c arch/tile: bomb raw_local_irq_ to arch_local_irq_ 2010-11-01 15:30:42 -04:00
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci-dma.c tile PCI DMA: fix bug in non-page-aligned accessors 2013-08-06 12:56:04 -04:00
pci.c tile PCI RC: support pci=off boot arg for tilepro 2013-08-05 16:12:57 -04:00
pci_gx.c tile PCI RC: reduce driver's vmalloc space usage 2013-08-06 12:56:12 -04:00
proc.c arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
process.c tile: various minor cleanups to hardwall subsystem 2013-07-31 11:49:48 -04:00
ptrace.c arch/tile: Fix syscall return value passed to tracepoint 2013-04-24 16:45:55 -04:00
reboot.c tile: various console improvements 2013-08-12 14:46:18 -04:00
regs_32.S Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
regs_64.S Disintegrate asm/system.h for Tile 2012-03-28 18:30:03 +01:00
relocate_kernel_32.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
relocate_kernel_64.S arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
setup.c tile: support "memmap" boot parameter 2013-08-12 14:46:43 -04:00
signal.c tile: switch to generic sigaltstack 2013-02-03 18:16:21 -05:00
single_step.c arch/tile: support building big-endian kernel 2012-05-25 12:48:22 -04:00
smp.c arch/tile: Allow tilegx to build with either 16K or 64K page size 2012-05-25 12:48:24 -04:00
smpboot.c tile: Use generic idle loop 2013-04-08 17:39:28 +02:00
stack.c sched: Rename sched.c as sched/core.c in comments and Documentation 2013-06-19 12:58:42 +02:00
sys.c take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h 2012-11-28 23:43:27 -05:00
sysfs.c arch/tile: allow querying cpu module information from the hypervisor 2012-05-25 12:48:28 -04:00
tile-desc_32.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
tile-desc_64.c arch/tile: factor out <arch/opcode.h> header 2011-11-03 16:58:54 -04:00
time.c tile: ns2cycles should use __raw_get_cpu_var 2013-03-26 13:52:16 -04:00
tlb.c arch/tile: support multiple huge page sizes dynamically 2012-05-25 12:48:27 -04:00
traps.c arch/tile: add descriptive text if the kernel reports a bad trap 2012-05-25 12:48:28 -04:00
usb.c usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
vmlinux.lds.S tile: normalize global variables exported by vmlinux.lds 2013-07-03 16:07:34 -07:00