tmp_suning_uos_patched/arch/tile
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
..
configs md: remove CONFIG_MULTICORE_RAID456 entirely 2013-03-20 13:21:14 +11:00
gxio tile PCI RC: support more MSI-X interrupt vectors 2013-08-06 12:55:24 -04:00
include tile: various console improvements 2013-08-12 14:46:18 -04:00
kernel tile: support "memmap" boot parameter 2013-08-12 14:46:43 -04:00
kvm arch/tile/kvm: remove depends on CONFIG_EXPERIMENTAL 2013-01-17 12:11:26 -08:00
lib tile: optimize strnlen using SIMD instructions 2013-08-01 20:08:51 -04:00
mm mm: remove free_area_cache 2013-07-10 18:11:34 -07:00
Kbuild
Kconfig tile: various console improvements 2013-08-12 14:46:18 -04:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile arch/tile: avoid generating .eh_frame information in modules 2012-10-23 10:21:43 -04:00