android_kernel_xiaomi_sm8350/arch/x86_64/kernel
Stas Sergeev 99b7de3347 [PATCH] x86: early printk handling fixes
The history is that -mm kernels do not work for me for a few months
already.  The things started from crashing somewhere after starting init,
and for the last month - no boot at all, just "Uncompressing...  OK,
booting kernel", and silence.  Early console didn't work too.  With the
latest releases this degraded into an infinite stream of the "Unknown
interrupt or fault" messages.  So today my patience ran out and I started
to think how can I collect at least some info for the bug-report.  Attached
is the patch that allows to gather some valueable debug info on the problem
by making an early console more useable.  I can't properly test the patch,
as the kernel still doesn't boot, so I'll explain it in details in a hope
someone else can justify the intrusive changes.

arch_hooks.h: added prototypes for setup_early_printk() and early_printk().

setup.c: killed wrong setup_early_printk() prototype.  Moved
setup_early_printk() a bit earlier, as it was not "early enough" to cover
the bug I was fighting with.

early_printk.c: made it to start printing from the bottom of the screen,
otherwise the messages interfere with the ones of the boot-loader, so you
can't read them.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Cc: Andi Kleen <ak@muc.de>
Cc: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:05 -08:00
..
acpi
cpufreq
aperture.c [PATCH] x86_64: no_iommu removal in pci-gart.c 2006-02-26 09:53:29 -08:00
apic.c Revert "[PATCH] x86_64: Only do the clustered systems have unsynchronized TSC assumption on IBM systems" 2006-02-27 20:41:56 -08:00
asm-offsets.c [PATCH] x86_64: Allow nesting of int3 by default for kprobes 2006-01-16 11:27:58 -08:00
crash_dump.c
crash.c
e820.c
early_printk.c [PATCH] x86: early printk handling fixes 2006-03-23 07:38:05 -08:00
entry.S Revert "[PATCH] x86-64: Fix up handling of non canonical user RIPs" 2006-03-14 08:01:47 -08:00
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c [PATCH] i386/x86-64: make setup_early_printk() usage consistent 2006-01-11 19:05:04 -08:00
head.S [PATCH] x86_64: Resolve the RIP of an early exception using kallsyms 2006-02-17 08:00:40 -08:00
i387.c [PATCH] amd64: task_thread_info() 2006-01-12 09:08:51 -08:00
i8259.c [PATCH] amd64: task_thread_info() 2006-01-12 09:08:51 -08:00
init_task.c
io_apic.c [PATCH] x86_64: Better ATI timer fix 2006-02-26 09:53:31 -08:00
ioport.c
irq.c
kprobes.c
ldt.c
machine_kexec.c [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
Makefile [PATCH] x86-64: react to new topology.c location 2006-02-25 11:12:15 -08:00
mce_amd.c
mce_intel.c
mce.c [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. 2006-02-04 16:43:14 -08:00
module.c
mpparse.c [PATCH] Remove KERN_INFO from middle of printk line 2006-02-17 13:59:27 -08:00
nmi.c [PATCH] x86_64: make touch_nmi_watchdog() not touch impossible cpus' private data 2006-02-17 08:00:40 -08:00
pci-dma.c [PATCH] x86_64: Fix swiotlb dma_alloc_coherent fallback 2006-02-04 16:43:13 -08:00
pci-gart.c [PATCH] x86_64: no_iommu removal in pci-gart.c 2006-02-26 09:53:29 -08:00
pci-nommu.c [PATCH] x86_64: IOMMU printk cleanup 2006-02-04 16:43:15 -08:00
pci-swiotlb.c [PATCH] x86_64: IOMMU printk cleanup 2006-02-04 16:43:15 -08:00
pmtimer.c [PATCH] x86_64: Calibrate APIC timer using PM timer 2006-02-04 16:43:15 -08:00
process.c [PATCH] x86_64: Don't allow kprobes on __switch_to 2006-02-04 16:43:14 -08:00
ptrace.c [PATCH] amd64: task_pt_regs() 2006-01-12 09:08:51 -08:00
reboot.c
relocate_kernel.S
setup64.c [PATCH] x86_64: Fix MCE exception stack for boot CPU 2006-01-18 19:20:16 -08:00
setup.c [PATCH] fix build on x86_64 with !CONFIG_HOTPLUG_CPU 2006-02-26 19:07:42 -08:00
signal.c
smp.c
smpboot.c [PATCH] x86_64: Move the SMP time selection earlier 2006-02-26 09:53:31 -08:00
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c [PATCH] x86: mark cyc2ns_scale readmostly 2006-03-22 07:53:55 -08:00
trampoline.S [PATCH] x86_64: Fix SMP bootup with CONFIG_KDUMP enabled 2006-01-11 19:09:58 -08:00
traps.c [PATCH] arch/x86_64/kernel/traps.c PTRACE_SINGLESTEP oops 2006-02-12 16:10:47 -08:00
vmlinux.lds.S [PATCH] x86_64: Let impossible CPUs point to reference per cpu data 2006-02-04 16:43:15 -08:00
vsmp.c
vsyscall.c
x8664_ksyms.c [PATCH] multiple exports of strpbrk 2006-03-22 07:53:56 -08:00