kernel_optimize_test/arch/arm/kernel
Santosh Shilimkar ca47440847 ARM: 7952/1: mm: Fix the memblock allocation for LPAE machines
Commit ad6492b8 added much needed memblock_virt_alloc_low() and further
commit 07bacb3 {memblock, bootmem: restore goal for alloc_low} fixed
the issue with low memory limit thanks to Yinghai. But even after all
these fixes, there is still one case where the limit check done with
ARCH_LOW_ADDRESS_LIMIT for low memory fails. Russell pointed out the
issue with 32 bit LPAE machines in below thread.
	https://lkml.org/lkml/2014/1/28/364

Since on some LPAE machines where memory start address is beyond 4GB,
the low memory marker in memblock will be set to default
ARCH_LOW_ADDRESS_LIMIT which is wrong. We can fix this by letting
architectures set the ARCH_LOW_ADDRESS_LIMIT using another export
similar to memblock_set_current_limit() but am not sure whether
its worth the trouble. Tell me if you think otherwise.

Rather am just trying to fix that one broken case using
memblock_virt_alloc() in setup code since the memblock.current_limit
is updated appropriately makes it work on all ARM 32 bit machines.

Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Strashko, Grygorii <grygorii.strashko@ti.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-02-10 11:44:12 +00:00
..
.gitignore
arch_timer.c
armksyms.c ARM: 7877/1: use built-in byte swap function 2013-12-29 12:32:45 +00:00
arthur.c
asm-offsets.c
atags_compat.c
atags_parse.c
atags_proc.c
atags.h
bios32.c
calls.S sched: Add new scheduler syscalls to support an extended scheduling parameters ABI 2014-01-13 13:41:04 +01:00
cpuidle.c
crash_dump.c
debug.S
devtree.c arch/arm/kernel/: use memblock apis for early memory allocations 2014-01-21 16:19:47 -08:00
dma-isa.c
dma.c
early_printk.c
elf.c
entry-armv.S ARM: 7946/1: asm: __und_usr_thumb need byteswap instructions in BE case 2014-01-28 14:34:02 +00:00
entry-common.S
entry-header.S
entry-v7m.S ARM: 7890/1: v7-M: drop using mach/entry-macro.S 2013-12-29 12:32:32 +00:00
etm.c ARM: 7905/1: etm: Remove unnecessary amba_set_drvdata() 2013-12-29 12:32:34 +00:00
fiq.c
fiqasm.S
ftrace.c
head-common.S
head-nommu.S ARM: fix asm/memory.h build error 2013-12-13 20:25:30 +00:00
head.S ARM: 7947/1: Make pgtbl macro more robust 2014-01-28 14:34:03 +00:00
hw_breakpoint.c
hyp-stub.S
insn.c
insn.h
io.c ARM: 7930/1: Introduce atomic MMIO modify 2014-01-28 14:06:25 +00:00
irq.c
isa.c
iwmmxt.S
jump_label.c
kgdb.c
kprobes-arm.c
kprobes-common.c
kprobes-test-arm.c
kprobes-test-thumb.c
kprobes-test.c
kprobes-test.h
kprobes-thumb.c
kprobes.c
kprobes.h
machine_kexec.c ARM: 7897/1: kexec: Use the right ISA for relocate_new_kernel 2013-11-30 22:21:02 +00:00
Makefile
module.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 08:51:29 +09:00
opcodes.c
patch.c
patch.h
perf_event_cpu.c ARM: 7937/1: perf_event: Silence sparse warning 2014-01-11 12:06:58 +00:00
perf_event_v6.c
perf_event_v7.c
perf_event_xscale.c
perf_event.c Revert "ARM: 7556/1: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD" 2013-12-17 15:21:35 +01:00
perf_regs.c
pj4-cp0.c
process.c ARM: 7912/1: check stack pointer in get_wchan 2013-12-09 23:24:31 +00:00
psci_smp.c
psci.c
ptrace.c
relocate_kernel.S ARM: 7897/1: kexec: Use the right ISA for relocate_new_kernel 2013-11-30 22:21:02 +00:00
return_address.c
setup.c ARM: 7952/1: mm: Fix the memblock allocation for LPAE machines 2014-02-10 11:44:12 +00:00
signal.c
sigreturn_codes.S ARM: 7895/1: signal: fix armv7-m build issue in sigreturn_codes.S 2013-11-30 22:21:00 +00:00
sleep.S
smp_scu.c
smp_tlb.c
smp_twd.c
smp.c ARM: SMP implementations are not supposed to return from smp_ops.cpu_die() 2014-01-21 16:42:14 +00:00
stacktrace.c ARM: 7913/1: fix framepointer check in unwind_frame 2013-12-09 23:24:33 +00:00
suspend.c
swp_emulate.c
sys_arm.c
sys_oabi-compat.c
tcm.c ARM: add permission annotations to MT_MEMORY* mapping types 2013-12-11 09:53:14 +00:00
thumbee.c
time.c
topology.c ARM: 7920/1: topology: Staticise non-exported symbols 2013-12-29 12:32:42 +00:00
traps.c Merge branches 'amba', 'fixes', 'kees', 'misc' and 'unstable/sa11x0' into for-next 2014-01-21 21:26:33 +00:00
unwind.c
v7m.c
vmlinux.lds.S
xscale-cp0.c