[PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-15 Thread Lei Wen
This copy really don't need to do at the very second before the kernel would crash. Signed-off-by: Lei Wen --- arch/arm/kernel/machine_kexec.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel

Re: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-15 Thread Simon Horman
On Thu, Sep 15, 2011 at 10:32:09PM -0700, Lei Wen wrote: > This copy really don't need to do at the very second before the kernel > would crash. > > Signed-off-by: Lei Wen This seems reasonable to me. Acked-by: Simon Horman ___ kexec mailing list ke

Re: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-17 Thread Lei Wen
Hi Simon, On Fri, Sep 16, 2011 at 1:45 PM, Simon Horman wrote: > On Thu, Sep 15, 2011 at 10:32:09PM -0700, Lei Wen wrote: >> This copy really don't need to do at the very second before the kernel >> would crash. >> >> Signed-off-by: Lei Wen > > This seems reasonable to me. > > Acked-by: Simon Ho

RE: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-19 Thread Lei Wen
TCH] ARM: kdump: copy kernel relocation code at the kexec > prepare > stage > > On Thu, Sep 15, 2011 at 10:32:09PM -0700, Lei Wen wrote: > > diff --git a/arch/arm/kernel/machine_kexec.c > b/arch/arm/kernel/machine_kexec.c > > index e59bbd4..f60fc90 100644 > > --- a/arc

Re: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-19 Thread Russell King - ARM Linux
On Mon, Sep 19, 2011 at 07:11:59AM -0700, Lei Wen wrote: > Thanks for this reminding! > Then how about add flush_icache_range at the end of machine_kexec_prepare? > Could it be acceptable? I think it should be done. > Also with this change, do we still need flush icache at the end stage of > mach

Re: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-19 Thread Russell King - ARM Linux
On Thu, Sep 15, 2011 at 10:32:09PM -0700, Lei Wen wrote: > diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c > index e59bbd4..f60fc90 100644 > --- a/arch/arm/kernel/machine_kexec.c > +++ b/arch/arm/kernel/machine_kexec.c > @@ -32,6 +32,21 @@ static atomic_t waiting_for_

Re: [PATCH] ARM: kdump: copy kernel relocation code at the kexec prepare stage

2011-09-19 Thread Lei Wen
On Sat, Sep 17, 2011 at 9:58 PM, Lei Wen wrote: > Hi Simon, > > On Fri, Sep 16, 2011 at 1:45 PM, Simon Horman wrote: >> On Thu, Sep 15, 2011 at 10:32:09PM -0700, Lei Wen wrote: >>> This copy really don't need to do at the very second before the kernel >>> would crash. >>> >>> Signed-off-by: Lei W