kernel_optimize_test/arch/arm64/mm
Catalin Marinas 2475ff9d2c arm64: Add simple earlyprintk support
This patch adds support for "earlyprintk=" parameter on the kernel
command line. The format is:

  earlyprintk=<name>[,<addr>][,<options>]

where <name> is the name of the (UART) device, e.g. "pl011", <addr> is
the I/O address. The <options> aren't currently used.

The mapping of the earlyprintk device is done very early during kernel
boot and there are restrictions on which functions it can call. A
special early_io_map() function is added which creates the mapping from
the pre-defined EARLY_IOBASE to the device I/O address passed via the
kernel parameter. The pgd entry corresponding to EARLY_IOBASE is
pre-populated in head.S during kernel boot.

Only PL011 is currently supported and it is assumed that the interface
is already initialised by the boot loader before the kernel is started.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2013-01-22 17:51:01 +00:00
..
cache.S arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
context.c arm64: Process management 2012-09-17 13:41:58 +01:00
copypage.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
dma-mapping.c arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
extable.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
fault.c arm64: Make the user fault reporting more specific 2012-11-14 09:54:15 +00:00
flush.c arm64: Convert empty flush_cache_{mm,page} functions to static inline 2012-11-23 18:15:32 +00:00
init.c arm64: mm: update max_dma32 before calculating size of NORMAL zone 2012-11-14 09:54:15 +00:00
ioremap.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
mm.h arm64: Call swiotlb_init() instead of swiotlb_init_with_default_size() 2012-10-08 16:02:09 +01:00
mmap.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
mmu.c arm64: Add simple earlyprintk support 2013-01-22 17:51:01 +00:00
pgd.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
proc-macros.S arm64: Assembly macros and definitions 2012-09-17 10:24:44 +01:00
proc.S arm64: Do not set the SMP/nAMP processor bit 2012-09-24 18:10:29 +01:00
tlb.S arm64: TLB maintenance functionality 2012-09-17 13:42:01 +01:00