public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Richard Weinberger <richard.weinberger@gmail.com>
Cc: Vivek Goyal <vgoyal@redhat.com>,
	Daniel Kiper <daniel.kiper@oracle.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	hbabu@us.ibm.com, "H. Peter Anvin" <hpa@linux.intel.com>,
	Kees Cook <keescook@chromium.org>,
	kexec@lists.infradead.org, LKML <linux-kernel@vger.kernel.org>,
	david.vrabel@citrix.com, jbeulich@suse.com, keir@xen.org,
	xen-devel@lists.xen.org
Subject: Re: kexec: Clearing registers just before jumping into purgatory
Date: Fri, 11 Oct 2013 17:44:00 +0100	[thread overview]
Message-ID: <20131011164400.GA32133@srcf.ucam.org> (raw)
In-Reply-To: <CAFLxGvyDYHy-UbZhdQiGvXL=8t0aW8wABc0GRkwVRy8egKJMKw@mail.gmail.com>

On Fri, Oct 11, 2013 at 06:42:36PM +0200, Richard Weinberger wrote:
> On Fri, Oct 11, 2013 at 6:39 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> > On Fri, Oct 11, 2013 at 06:33:23PM +0200, Richard Weinberger wrote:
> >> On Fri, Oct 11, 2013 at 5:48 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> >> > On Fri, Oct 11, 2013 at 11:44:50AM -0400, Vivek Goyal wrote:
> >> >
> >> >> Just Curious. How is it useful. IOW, what's your use case of booting a new
> >> >> kernel and then jumping back.
> >> >
> >> > I'm kexecing into a kernel with a modified /dev/mem, modifying the
> >> > original kernel and then jumping back into it.
> >>
> >> How do you update the original kernel?
> >
> > It's still in RAM, so the same way you'd modify any other arbitrary
> > physical address?
> 
> So, you have a tool like ksplice which patches the kernel in RAM?

I have /dev/mem and a list of addresses I want to modify.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2013-10-11 16:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11  9:28 kexec: Clearing registers just before jumping into purgatory Daniel Kiper
2013-10-11 10:08 ` Eric W. Biederman
2013-10-11 11:04   ` Daniel Kiper
2013-10-11 12:52     ` Vivek Goyal
2013-10-11 15:37       ` Matthew Garrett
2013-10-11 15:44         ` Vivek Goyal
2013-10-11 15:48           ` Matthew Garrett
2013-10-11 16:33             ` Richard Weinberger
2013-10-11 16:39               ` Matthew Garrett
2013-10-11 16:42                 ` Richard Weinberger
2013-10-11 16:44                   ` Matthew Garrett [this message]
2013-10-11 16:47                     ` Richard Weinberger
2013-10-11 16:55                       ` Matthew Garrett
2013-10-11 16:59                         ` Richard Weinberger
2013-10-11 17:01                           ` Matthew Garrett
2013-10-11 20:44                             ` Eric W. Biederman
2013-10-11 20:50                               ` Matthew Garrett
2013-10-11 16:53                     ` Vivek Goyal
2013-10-11 16:56                       ` Matthew Garrett
2013-10-11 22:15     ` Eric W. Biederman
2013-10-14 18:24       ` Daniel Kiper

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=20131011164400.GA32133@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=daniel.kiper@oracle.com \
    --cc=david.vrabel@citrix.com \
    --cc=ebiederm@xmission.com \
    --cc=hbabu@us.ibm.com \
    --cc=hpa@linux.intel.com \
    --cc=jbeulich@suse.com \
    --cc=keescook@chromium.org \
    --cc=keir@xen.org \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard.weinberger@gmail.com \
    --cc=vgoyal@redhat.com \
    --cc=xen-devel@lists.xen.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