Message ID | 1465470910.31662.10.camel@ellerman.id.au (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Michael, Thank you for your patch. I was able to compile the kernel but unfortunately it doesn't boot. Do you have another hint or patch for me? Thanks in advance, Christian On 09 June 2016 at 1:15 PM, Michael Ellerman wrote: > On Thu, 2016-06-09 at 10:48 +0200, Christian Zigotzky wrote: > >> Shall I modify the workaround? Is the workaround for lack of the device >> tree the problem? > I don't think so. > > You could try this patch to try and isolate it: > > diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h b/arch/powerpc/include/asm/book3s/64/pgtable.h > index 88a5ecaa157b..ae2f2705e8a0 100644 > --- a/arch/powerpc/include/asm/book3s/64/pgtable.h > +++ b/arch/powerpc/include/asm/book3s/64/pgtable.h > @@ -251,7 +251,7 @@ extern unsigned long ioremap_bot; > * PHB_IO_BASE = ISA_IO_BASE + 64K to ISA_IO_BASE + 2G, PHB IO spaces > * IOREMAP_BASE = ISA_IO_BASE + 2G to VMALLOC_START + PGTABLE_RANGE > */ > -#define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) > +#define KERN_IO_START (H_KERN_VIRT_START + (H_KERN_VIRT_SIZE >> 1)) > #define FULL_IO_SIZE 0x80000000ul > #define ISA_IO_BASE (KERN_IO_START) > #define ISA_IO_END (KERN_IO_START + 0x10000ul) > > > cheers > >
Hi All, Can I disable the new PowerPC features with Radix MMU Support (PPC_RADIX_MMU) [Y/n/?] (NEW) -> n ????? I can't compile the RC3 without the PowerPC commits. Our kernel lost the mainline kernel support. Revert of the three PowerPC commits works but the kernel doesn't compile anymore. Cheers, Christian Sent from my iPhone > On 09 Jun 2016, at 14:13, Christian Zigotzky <chzigotzky@xenosoft.de> wrote: > > Michael, > > Thank you for your patch. I was able to compile the kernel but unfortunately it doesn't boot. > > Do you have another hint or patch for me? > > Thanks in advance, > > Christian > >> On 09 June 2016 at 1:15 PM, Michael Ellerman wrote: >>> On Thu, 2016-06-09 at 10:48 +0200, Christian Zigotzky wrote: >>> >>> Shall I modify the workaround? Is the workaround for lack of the device >>> tree the problem? >> I don't think so. >> >> You could try this patch to try and isolate it: >> >> diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h b/arch/powerpc/include/asm/book3s/64/pgtable.h >> index 88a5ecaa157b..ae2f2705e8a0 100644 >> --- a/arch/powerpc/include/asm/book3s/64/pgtable.h >> +++ b/arch/powerpc/include/asm/book3s/64/pgtable.h >> @@ -251,7 +251,7 @@ extern unsigned long ioremap_bot; >> * PHB_IO_BASE = ISA_IO_BASE + 64K to ISA_IO_BASE + 2G, PHB IO spaces >> * IOREMAP_BASE = ISA_IO_BASE + 2G to VMALLOC_START + PGTABLE_RANGE >> */ >> -#define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) >> +#define KERN_IO_START (H_KERN_VIRT_START + (H_KERN_VIRT_SIZE >> 1)) >> #define FULL_IO_SIZE 0x80000000ul >> #define ISA_IO_BASE (KERN_IO_START) >> #define ISA_IO_END (KERN_IO_START + 0x10000ul) >> >> >> cheers >
On Mon, 2016-06-13 at 09:14 +0100, Christian Zigotzky wrote: > Can I disable the new PowerPC features with > > Radix MMU Support (PPC_RADIX_MMU) [Y/n/?] (NEW) -> n > > ????? > > I can't compile the RC3 without the PowerPC commits. Our kernel lost > the mainline kernel support. Revert of the three PowerPC commits > works but the kernel doesn't compile anymore. The right way to not have this problem anymore is to cleanup and submit your patches upstream so they don't break all the time :-) Cheers, Ben.
Hi Ben, I could send you a patch but it doesn't work with the three PowerPC commits. I think we have to fix the boot issue at first. After that we can integrate the first patch for the Nemo board. Cheers, Christian On 13 June 2016 at 10:19 AM, Benjamin Herrenschmidt wrote: > > The right way to not have this problem anymore is to cleanup and > submit your patches upstream so they don't break all the time :-) > > Cheers, > Ben. > >
diff --git a/arch/powerpc/include/asm/book3s/64/pgtable.h b/arch/powerpc/include/asm/book3s/64/pgtable.h index 88a5ecaa157b..ae2f2705e8a0 100644 --- a/arch/powerpc/include/asm/book3s/64/pgtable.h +++ b/arch/powerpc/include/asm/book3s/64/pgtable.h @@ -251,7 +251,7 @@ extern unsigned long ioremap_bot; * PHB_IO_BASE = ISA_IO_BASE + 64K to ISA_IO_BASE + 2G, PHB IO spaces * IOREMAP_BASE = ISA_IO_BASE + 2G to VMALLOC_START + PGTABLE_RANGE */ -#define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) +#define KERN_IO_START (H_KERN_VIRT_START + (H_KERN_VIRT_SIZE >> 1)) #define FULL_IO_SIZE 0x80000000ul #define ISA_IO_BASE (KERN_IO_START) #define ISA_IO_END (KERN_IO_START + 0x10000ul)