* [PATCH] sh: fix kexec by removing check for old kexec-tools
@ 2009-10-26 10:30 Magnus Damm
2009-10-26 10:59 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2009-10-26 10:30 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
This unbreaks kexec support. Without this fix all
cases of kexec fails since __pa() does not behave
like PHYSADDR(). The downside is that we also kill
the code blocking users running old kexec-tools.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/sh/kernel/machine_kexec.c | 6 ------
1 file changed, 6 deletions(-)
--- 0001/arch/sh/kernel/machine_kexec.c
+++ work/arch/sh/kernel/machine_kexec.c 2009-10-26 19:15:04.000000000 +0900
@@ -46,12 +46,6 @@ void machine_crash_shutdown(struct pt_re
*/
int machine_kexec_prepare(struct kimage *image)
{
- /* older versions of kexec-tools are passing
- * the zImage entry point as a virtual address.
- */
- if (image->start != __pa(image->start))
- return -EINVAL; /* upgrade your kexec-tools */
-
return 0;
}
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] sh: fix kexec by removing check for old kexec-tools
2009-10-26 10:30 [PATCH] sh: fix kexec by removing check for old kexec-tools Magnus Damm
@ 2009-10-26 10:59 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2009-10-26 10:59 UTC (permalink / raw)
To: linux-sh
On Mon, Oct 26, 2009 at 07:30:48PM +0900, Magnus Damm wrote:
> This unbreaks kexec support. Without this fix all
> cases of kexec fails since __pa() does not behave
> like PHYSADDR(). The downside is that we also kill
> the code blocking users running old kexec-tools.
On Mon, Oct 26, 2009 at 07:41:58PM +0900, Magnus Damm wrote:
> Add HWBLK_ETHER to the sh_eth platform device
> to allow Runtime PM of the ethernet hardware.
On Mon, Oct 26, 2009 at 07:44:37PM +0900, Magnus Damm wrote:
> Convert the ecovec24 board code to pass the mac
> address to the sh_eth driver using platform data.
> Also, remove the static clock to allow Runtime PM.
Applied for 2.6.33, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-26 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 10:30 [PATCH] sh: fix kexec by removing check for old kexec-tools Magnus Damm
2009-10-26 10:59 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox