From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] sh: simplify kexec vbr code V2
Date: Wed, 18 Mar 2009 10:34:46 +0000 [thread overview]
Message-ID: <20090318103446.GA7391@linux-sh.org> (raw)
In-Reply-To: <20090318084731.5923.41436.sendpatchset@rx1.opensource.se>
On Wed, Mar 18, 2009 at 05:47:31PM +0900, Magnus Damm wrote:
> Setup the vbr register in machine_kexec() V2. This
> instead of passing values to the assembly snippet.
On Wed, Mar 18, 2009 at 05:49:45PM +0900, Magnus Damm wrote:
> Rework the kexec code to avoid using P2SEG. Instead
> we walk the page list in machine_kexec() and convert
> the addresses from physical to virtual using C.
On Wed, Mar 18, 2009 at 05:51:29PM +0900, Magnus Damm wrote:
> Add kexec jump support to the SuperH architecture V2.
>
> Similar to the x86 implementation, with the following
> exceptions:
>
> - Instead of separating the assembly code flow into
> two parts for regular kexec and kexec jump we use a
> single code path. In the assembly snippet regular
> kexec is just kexec jump that never comes back.
>
> - Instead of using a swap page when moving data between
> pages the page copy assembly routine has been modified
> to exchange the data between the pages using registers.
>
> - We walk the page list twice in machine_kexec() to
> do and undo physical to virtual address conversion.
Applied with a few fixups, including ftrace state save/restore.
prev parent reply other threads:[~2009-03-18 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 8:47 [PATCH] sh: simplify kexec vbr code V2 Magnus Damm
2009-03-18 10:34 ` 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=20090318103446.GA7391@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.