History log of /arch/microblaze/mm/pgtable.c
Revision Date Author Comments
7c0d26150781cbd8a522259c9dea9e7ef23df8e3 22-Dec-2011 Michal Simek <monstr@monstr.eu> microblaze: Fix mapin_ram function

Fix how many pages are allocated in mapin_ram. It is lowmem_size
not setup CONFIG_LOWMEM_SIZE because it is the same for all systems.
Which means that wrong pages are allocated if memory size is smaller
than CONFIG_LOWMEM_SIZE. It has dramatic impact on bootup time.
On sp605 MMU full hw design is 7s.

Signed-off-by: Michal Simek <monstr@monstr.eu>
419387612c03fce2ca6d5a3d6aac3dae42069264 15-Dec-2011 Michal Simek <monstr@monstr.eu> microblaze: Introduce fixmap

Fixmap will be used for highmem support.

Signed-off-by: Michal Simek <monstr@monstr.eu>
83a92529c1789f86481190743a6bb09f31ec39a8 19-Dec-2011 Michal Simek <monstr@monstr.eu> microblaze: mm: Fix lowmem max memory size limits

Use CONFIG_LOWMEM_SIZE if system has larger ram size.
For system with larger ram size, enable HIGMEM support.

Also setup limitation for memblock and use memblock
allocation in lowmem region.

Signed-off-by: Michal Simek <monstr@monstr.eu>
ee19b424b4ba8674a18943bf43d82d026d1e5bed 28-Feb-2012 Joe Perches <joe@perches.com> microblaze: Use vsprintf extention %pf with builtin_return_address

Emit the function name not the address when possible.

builtin_return_address() gives an address. When building
a kernel with CONFIG_KALLSYMS, emit the actual function
name not the address.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
ee4bcdf1d248c4ebe5f73e11631c3bd3f76d777b 13-May-2010 Michal Simek <monstr@monstr.eu> microblaze: export assembly functions used by modules

Export __strncpy_user, memory_size, ioremap_bot for modules.

Signed-off-by: Michal Simek <monstr@monstr.eu>
e7682231092d1d1dd49bc590d6d3b7f0ddc07e74 16-Apr-2010 Michal Simek <monstr@monstr.eu> microblaze: Remove ancient code

I found several function which we don't use that's why I am removing them.

Signed-off-by: Michal Simek <monstr@monstr.eu>
63f1032b97638fc2b023fa968b7703c8ebe6d6d9 13-Apr-2010 Michal Simek <monstr@monstr.eu> microblaze: Quiet section mismatch warnings for MMU version

Remove section mismatch - based on ppc aproach.

WARNING: vmlinux.o(.text+0x64834): Section mismatch in reference
from the function __pte_alloc_kernel() to the function .init.text:early_get_page()
The function __pte_alloc_kernel() references
the function __init early_get_page().
This is often because __pte_alloc_kernel lacks a __init
annotation or the annotation of early_get_page is wrong.

Signed-off-by: Michal Simek <monstr@monstr.eu>
78ebfa884bcef125464399f8d1cb05937bfeb6e1 23-Mar-2010 Michal Simek <monstr@monstr.eu> microblaze: Adding likely macros

On the base on GCOV analytics is helpful to add likely/unlikely
macros.

Signed-off-by: Michal Simek <monstr@monstr.eu>
cca5613f0278fb0ae0aba285a496add55d0cabab 22-Feb-2010 Michal Simek <monstr@monstr.eu> microblaze: Remove VMALLOC_VMADDR

Signed-off-by: Michal Simek <monstr@monstr.eu>
233eb92115c87bc3bbfab99e3e198654acf4cd58 10-Dec-2009 Michal Simek <monstr@monstr.eu> microblaze: Remove show_tmem function

show_tmem function do nothing that's why I removed it.
There is also cleaning of commented ancient code.

Signed-off-by: Michal Simek <monstr@monstr.eu>
15902bf63c8332946e5a1f48a72e3ae22874b11b 26-May-2009 Michal Simek <monstr@monstr.eu> microblaze_mmu_v2: Page table - ioremap - pgtable.c/h, section update

Signed-off-by: Michal Simek <monstr@monstr.eu>