Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-11-14 Thread Michael Ellerman
On Thu, 2019-07-11 at 14:58:14 UTC, "Aneesh Kumar K.V" wrote: > Avoids confusion when printing Oops message like below > > Faulting instruction address: 0xc008bdb4 > Oops: Kernel access of bad area, sig: 11 [#1] > LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV > >

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-12 Thread Christophe Leroy
Le 12/07/2019 à 14:22, Michael Ellerman a écrit : Christophe Leroy writes: Le 12/07/2019 à 08:25, Michael Ellerman a écrit : "Aneesh Kumar K.V" writes: ... diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 11caa0291254..b181d6860f28 100644 ---

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-12 Thread Michael Ellerman
Christophe Leroy writes: > Le 12/07/2019 à 08:25, Michael Ellerman a écrit : >> "Aneesh Kumar K.V" writes: ... >>> diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c >>> index 11caa0291254..b181d6860f28 100644 >>> --- a/arch/powerpc/kernel/traps.c >>> +++

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-12 Thread Christophe Leroy
Le 12/07/2019 à 08:25, Michael Ellerman a écrit : "Aneesh Kumar K.V" writes: Avoids confusion when printing Oops message like below Faulting instruction address: 0xc008bdb4 Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-12 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > Avoids confusion when printing Oops message like below > > Faulting instruction address: 0xc008bdb4 > Oops: Kernel access of bad area, sig: 11 [#1] > LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV > > This was because we never clear the

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-11 Thread Christophe Leroy
Le 11/07/2019 à 16:58, Aneesh Kumar K.V a écrit : Avoids confusion when printing Oops message like below Faulting instruction address: 0xc008bdb4 Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV This was because we

Re: [PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-11 Thread Nicholas Piggin
Aneesh Kumar K.V's on July 12, 2019 12:58 am: > Avoids confusion when printing Oops message like below > > Faulting instruction address: 0xc008bdb4 > Oops: Kernel access of bad area, sig: 11 [#1] > LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV > > This was because

[PATCH v2] powerpc/book3s/mm: Update Oops message to print the correct translation in use

2019-07-11 Thread Aneesh Kumar K.V
Avoids confusion when printing Oops message like below Faulting instruction address: 0xc008bdb4 Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K MMU=Radix MMU=Hash SMP NR_CPUS=2048 NUMA PowerNV This was because we never clear the MMU_FTR_HPTE_TABLE feature flag even if