linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: boot kernel with SR.BL set
Date: Thu, 30 Sep 2010 01:06:51 +0000	[thread overview]
Message-ID: <20100930010651.GB18073@linux-sh.org> (raw)
In-Reply-To: <20100924090538.13826.99190.sendpatchset@t400s>

On Fri, Sep 24, 2010 at 06:05:38PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> 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>

I've applied this, but in the future make sure you update all of the CPUs
when making changes to the boot path. Presently this is introducing a
divergence for all of the nommu parts which we do not want.

      reply	other threads:[~2010-09-30  1:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24  9:05 [PATCH] sh: boot kernel with SR.BL set Magnus Damm
2010-09-30  1:06 ` Paul Mundt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100930010651.GB18073@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).