linux_old1/arch/sh
Magnus Damm 68a1aed703 sh: boot kernel with SR.BL set
Update the SH kernel to keep SR.BL set until the VBR
register has been initialized. Useful to allow boot
of the kernel even though exceptions are pending.

Without this patch there is a window of time when
exceptions such as NMI are enabled but no exception
handlers are installed.

This patch modifies both the zImage loader and the
actual kernel to boot with BL=1, but the zImage
loader is modfied in such a way that the init_sr
value is unchanged to not break the zImage loader
provided by kexec.

Tested on sh7724 Ecovec and on the SH4AL-DSP core
included in sh7372.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-09-30 09:43:32 +09:00
..
boards Revert "sh: ecovec24: modify tsc2007 platform settings" 2010-09-14 18:26:38 +09:00
boot sh: boot kernel with SR.BL set 2010-09-30 09:43:32 +09:00
cchips sh: change to new flag variable 2010-09-23 16:18:18 +09:00
configs sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
drivers sh: pci: Use a generic raw spinlock for PCI config access locking. 2010-09-20 18:56:13 +09:00
include sh: provide generic arch_debugfs_dir. 2010-09-24 04:04:26 +09:00
kernel sh: boot kernel with SR.BL set 2010-09-30 09:43:32 +09:00
lib sh: change to new flag variable 2010-09-23 16:18:18 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
mm sh: provide generic arch_debugfs_dir. 2010-09-24 04:04:26 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools sh: add sh7757lcr board support 2010-07-06 17:38:32 +09:00
Kconfig sh: fix recursive dependency in Kconfig 2010-08-16 13:34:11 +09:00
Kconfig.cpu sh: Turn on speculative return for SH7785 and SH7786 2010-02-18 18:54:18 +09:00
Kconfig.debug sh: Remove old early serial console code V2 2009-12-15 12:07:35 +09:00
Makefile sh: mach-sdk7786: update defconfig for compressed kernel image. 2010-04-26 17:45:34 +09:00