kernel_optimize_test/arch/parisc
Helge Deller d006e95b55 parisc: Detect QEMU earlier in boot process
While adding LASI support to QEMU, I noticed that the QEMU detection in
the kernel happens much too late. For example, when a LASI chip is found
by the kernel, it registers the LASI LED driver as well.  But when we
run on QEMU it makes sense to avoid spending unnecessary CPU cycles, so
we need to access the running_on_QEMU flag earlier than before.

This patch now makes the QEMU detection the fist task of the Linux
kernel by moving it to where the kernel enters the C-coding.

Fixes: 310d82784f ("parisc: qemu idle sleep support")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v4.14+
2019-04-06 19:07:55 +02:00
..
boot parisc: remove meaningless ccflags-y in arch/parisc/boot/Makefile 2019-02-21 20:37:11 +01:00
configs
include parisc: also set iaoq_b in instruction_pointer_set() 2019-04-06 19:07:55 +02:00
kernel parisc: Detect QEMU earlier in boot process 2019-04-06 19:07:55 +02:00
lib parisc: iomap: introduce io{read|write}64 2019-01-22 13:39:59 +01:00
math-emu signal/parisc: Use force_sig_fault where appropriate 2018-04-25 10:44:06 -05:00
mm parisc: use memblock_alloc() instead of custom get_memblock() 2019-02-22 08:15:04 +01:00
oprofile
defpalo.conf
install.sh
Kconfig 32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option 2019-02-19 10:10:05 +01:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile parisc: generate uapi header and system call table files 2018-12-10 08:26:04 +01:00
nm