android_kernel_xiaomi_sm8350/arch/arm/kernel
Lennert Buytenhek 2552fc27ff [ARM] 3809/3: get rid of 4 megabyte kernel image size limit
We currently have a hardcoded 4 megabyte uncompressed kernel image
size limit, which is easily exceeded by, for example, enabling some of
the various kernel debugging options.

When setting up the initial page tables (which is where this 4M limit
is hardcoded), it's actually relatively easy to find out the true size
of the uncompressed kernel image and create enough page table entries
for things to fit, so this patch makes it so.

In the decompressor, we also need to know the size of the uncompressed
kernel image, to figure out whether there is any chance that uncompressing
the kernel might overwrite the compressed kernel image stored elsewhere
in memory. We don't have that info at this boot stage, though, so we
approximate the size of the uncompressed kernel by taking the compressed
kernel image size and allowing for a maximum 4x expansion.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-09-30 11:30:44 +01:00
..
apm.c [ARM] kthread: switch arch/arm/kernel/apm.c 2006-09-27 23:17:54 +01:00
armksyms.c [ARM] nommu: uaccess tweaks 2006-06-28 17:59:46 +01:00
arthur.c
asm-offsets.c [ARM] Set bit 4 on section mappings correctly depending on CPU 2006-06-29 18:24:21 +01:00
bios32.c [ARM] arch/arm/kernel/bios32.c: no need to set isa_bridge 2006-07-13 16:14:26 +01:00
calls.S
compat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
compat.h
crunch-bits.S [ARM] 3370/2: ep93xx: add crunch support 2006-06-28 17:55:01 +01:00
crunch.c [ARM] 3370/2: ep93xx: add crunch support 2006-06-28 17:55:01 +01:00
debug.S [ARM] 3838/1: ARM: DCC debug console support for ARM11 2006-09-25 10:36:09 +01:00
dma-isa.c
dma.c
ecard.c [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
entry-armv.S [ARM] Add ARM irqtrace support 2006-09-20 14:58:35 +01:00
entry-common.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
entry-header.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fiq.c [ARM] 3692/1: ARM: coswitch irq handling to the generic implementation 2006-07-01 22:30:09 +01:00
head-common.S
head-nommu.S [ARM] nommu: confirms the CR_V bit in nommu mode 2006-09-28 20:17:30 +01:00
head.S [ARM] 3809/3: get rid of 4 megabyte kernel image size limit 2006-09-30 11:30:44 +01:00
init_task.c
io.c
irq.c [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
isa.c [ARM] Arrange for isa.c to use named initialisers 2006-08-28 12:44:03 +01:00
iwmmxt-notifier.c [ARM] 3707/1: iwmmxt: use the generic thread notifier infrastructure 2006-07-01 19:56:48 +01:00
iwmmxt.S [ARM] 3707/1: iwmmxt: use the generic thread notifier infrastructure 2006-07-01 19:56:48 +01:00
Makefile [ARM] Add Integrator support for glibc outb() and friends 2006-08-28 12:47:05 +01:00
module.c [ARM] nommu: allows to support module in nommu 2006-09-27 17:02:50 +01:00
process.c [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
ptrace.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ptrace.h
semaphore.c
setup.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
signal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
signal.h
smp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys_arm.c
sys_oabi-compat.c
time.c [ARM] 3855/1: Add generic time support 2006-09-28 20:59:24 +01:00
traps.c [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
vmlinux.lds.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00