From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rSlvn2l5ZzDqZV for ; Mon, 13 Jun 2016 18:15:33 +1000 (AEST) From: Christian Zigotzky Content-Type: multipart/alternative; boundary=Apple-Mail-D126BB2C-F286-4FA8-A423-D7EE8B53AAE9 Mime-Version: 1.0 (1.0) Subject: Re: Kernel 4.7: PAGE_GUARDED and _PAGE_NO_CACHE Message-Id: <25BBCC66-53B2-4009-B2BA-CD1070EA71E9@xenosoft.de> Date: Mon, 13 Jun 2016 09:14:33 +0100 References: <8B4C4AB7-5C17-4992-935A-361153472793@xenosoft.de> <1463990507.3078.16.camel@kernel.crashing.org> <1464088614.3078.79.camel@kernel.crashing.org> <1298e1f6-beb7-5487-72a1-366ebd140c17@xenosoft.de> <87d1obqxg9.fsf@skywalker.in.ibm.com> <9690f9a4-70c7-8acc-42d0-779bcc93db52@xenosoft.de> <66397458-c40a-4e83-c5e5-0ba69fb48986@xenosoft.de> <874m99uibc.fsf@skywalker.in.ibm.com> <1465174304.12265.0.camel@ellerman.id.au> <50194690-18ac-edfd-42cb-8f1cc96055c9@xenosoft.de> <484bd17c3f3.74dd55e@auth.smtp.1and1.co.uk> <87r3c71zs9.fsf@skywalker.in.ibm.com> <1465470910.31662.10.camel@ellerman.id.au> <40816527-1be8-329c-2be0-86c39062c2e9@xenosoft.de> In-Reply-To: <40816527-1be8-329c-2be0-86c39062c2e9@xenosoft.de> To: Michael Ellerman , "Aneesh Kumar K.V" , Darren Stevens , Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, Michael Ellerman , Julian Margetson , Adrian Cox , "R.T.Dickinson" , "R.T.Dickinson" , Pat Wall , Pat Wall , "contact@a-eon.com" , Matthew Leaman , luigi burdo , Christian Zigotzky List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --Apple-Mail-D126BB2C-F286-4FA8-A423-D7EE8B53AAE9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 mai= nline kernel support. Revert of the three PowerPC commits works but the kern= el doesn't compile anymore. Cheers, Christian Sent from my iPhone > On 09 Jun 2016, at 14:13, Christian Zigotzky wrot= e: >=20 > Michael, >=20 > Thank you for your patch. I was able to compile the kernel but unfortunate= ly it doesn't boot. >=20 > Do you have another hint or patch for me? >=20 > Thanks in advance, >=20 > Christian >=20 >> On 09 June 2016 at 1:15 PM, Michael Ellerman wrote: >>> On Thu, 2016-06-09 at 10:48 +0200, Christian Zigotzky wrote: >>>=20 >>> Shall I modify the workaround? Is the workaround for lack of the device >>> tree the problem? >> I don't think so. >>=20 >> You could try this patch to try and isolate it: >>=20 >> 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 =3D ISA_IO_BASE + 64K to ISA_IO_BASE + 2G, PHB IO spaces= >> * IOREMAP_BASE =3D 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) >>=20 >>=20 >> cheers >=20 --Apple-Mail-D126BB2C-F286-4FA8-A423-D7EE8B53AAE9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
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 Powe= rPC commits. Our kernel lost the mainline kernel support. Revert of the thre= e PowerPC commits works but the kernel doesn't compile anymore.
=

Cheers,

Sent from my iPhone

On 09 Jun 2016, at= 14:13, Christian Zigotzky <chz= igotzky@xenosoft.de> wrote:

Michael,

Thank you for your patch.= I was able to compile the kernel but unfortunately it doesn't boot.<= br>
Do you have another hint or patch for me?
Thanks in advance,

Christian

On 09 June 2016 at 1:15 PM, Mich= ael Ellerman wrote:
On Thu, 2016-0= 6-09 at 10:48 +0200, Christian Zigotzky wrote:

=
Shall I modify the workaround? Is the workar= ound for lack of the device
tree the problem?
I don't think so.

=
You could try this patch to try and isolate i= t:

diff --git a/arch/powerpc/include/asm/= book3s/64/pgtable.h b/arch/powerpc/include/asm/book3s/64/pgtable.h
index 88a5ecaa157b..ae2f2705e8= a0 100644
--- a/arch/= powerpc/include/asm/book3s/64/pgtable.h
+++ b/arch/powerpc/include/asm/book3s/64/pgtable.h=
@@ -251,7 +251,7 @@ extern u= nsigned long ioremap_bot;
<= span>   *  PHB_IO_BASE =3D ISA_IO_BASE + 64K to ISA_IO_BASE += 2G, PHB IO spaces
&= nbsp; * IOREMAP_BASE =3D ISA_IO_BASE + 2G to VMALLOC_START + PGTABLE_RA= NGE
  */
-#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    0x8= 0000000ul
 #def= ine  ISA_IO_BASE    (KERN_IO_START)
 #define  ISA_IO_END    (= KERN_IO_START + 0x10000ul)
=

cheers



<= /html>= --Apple-Mail-D126BB2C-F286-4FA8-A423-D7EE8B53AAE9--