Re: [RFC] powerpc: add kexec support on Book-E

2008-10-12 Thread Sebastian Andrzej Siewior
* Benjamin Herrenschmidt | 2008-10-10 14:53:46 [+1100]: >On Wed, 2008-10-01 at 23:20 +0200, Sebastian Andrzej Siewior wrote: > >> +#define KEXEC_MODE_NOMMU 1 >> +#define KEXEC_MODE_BOOKE 2 > >No need for runtime detection here, you cannot and likely never will be >able to build a kernel that does

Re: [RFC] powerpc: add kexec support on Book-E

2008-10-09 Thread Benjamin Herrenschmidt
On Wed, 2008-10-01 at 23:20 +0200, Sebastian Andrzej Siewior wrote: > +#define KEXEC_MODE_NOMMU 1 > +#define KEXEC_MODE_BOOKE 2 No need for runtime detection here, you cannot and likely never will be able to build a kernel that does bot BookE and real mode... > + > +/* 1. Find the index of the e

[RFC] powerpc: add kexec support on Book-E

2008-10-01 Thread Sebastian Andrzej Siewior
From: Sebastian Andrzej Siewior <[EMAIL PROTECTED]> The relocate_new_kernel() code usually disables the MMU and the small code operates on physicall addresses while moving the kernel to its final position. Book-E doesn't support this so a 1:1 mapping must be created. Signed-off-by: Sebastian Andr