On 2014/9/25 17:53, Liu Hua wrote:
> From: Dave Martin <[email protected]>
> 
> Hi Greg,
> 
> commit e2ccba49085ab5d71b092de2a5176eb9b19cc876 upstream

commit XXX upstream.  <-- don't forget the dot

> 
> Copying a function with memcpy() and then trying to execute the
> result isn't trivially portable to Thumb.
> 
> This patch modifies the kexec soft restart code to copy its
> assembler trampoline relocate_new_kernel() using fncpy() instead,
> so that relocate_new_kernel can be in the same ISA as the rest of
> the kernel without problems.
> 
> Without this patch THUMB2 kernel can not go through kdump process.
> I have test it  on 3.10. This patch applies to v3.13+. 3.10 stable
> and 3.12stable need it.
> 

Please don't stuff this into the middle of the original changelog...

> (1) A separate backport is needed for 3.10;

Then send out the backport.

> (2) it can apply to 3.12 stable directly.

3.12 is maintained by Jiri.

> 
> Signed-off-by: Dave Martin <[email protected]>
> Acked-by: Will Deacon <[email protected]>
> Reported-by: Taras Kondratiuk <[email protected]>
> Tested-by: Taras Kondratiuk <[email protected]>
> Signed-off-by: Russell King <[email protected]>
> Integrated-by: Liu Hua <[email protected]>

Please remove this line.

> Signed-off-by: Liu Hua <[email protected]>

If the commit can be cherry-picked cleanly, just tell the stable
maintainer the commit ID, otherwise you should add changelog
for what you did to the original patch.

Like this:

https://lkml.org/lkml/2014/9/22/818

[lizf: Backported to 3.4:
 - Drop changes to arch/arm/include/asm/cacheflush.h and
   arch/arm/mach-exynos/mcpm-exynos.c]
Signed-off-by: Zefan Li <[email protected]>]

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to