Re: [PATCH V2 35/68] powerpc/mm: Abstraction for switch_mmu_context

2016-04-27 Thread Aneesh Kumar K.V
Balbir Singh writes: > On 09/04/16 16:13, Aneesh Kumar K.V wrote: >> Signed-off-by: Aneesh Kumar K.V >> --- >> arch/powerpc/include/asm/mmu_context.h | 25 + >> arch/powerpc/kernel/swsusp.c | 2 +- >> arch/powerpc/mm/mmu_context_nohash.c | 3 ++- >> drivers

Re: [PATCH V2 35/68] powerpc/mm: Abstraction for switch_mmu_context

2016-04-27 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: How we swith mmu context differ between hash and radix. For hash we need to switch the slb details and for radix we need to switch PID SPR. > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/mmu_context.h | 25 + > arch/power

Re: [PATCH V2 35/68] powerpc/mm: Abstraction for switch_mmu_context

2016-04-21 Thread Balbir Singh
On 09/04/16 16:13, Aneesh Kumar K.V wrote: > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/mmu_context.h | 25 + > arch/powerpc/kernel/swsusp.c | 2 +- > arch/powerpc/mm/mmu_context_nohash.c | 3 ++- > drivers/cpufreq/pmac32-cpufreq.c

[PATCH V2 35/68] powerpc/mm: Abstraction for switch_mmu_context

2016-04-08 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/mmu_context.h | 25 + arch/powerpc/kernel/swsusp.c | 2 +- arch/powerpc/mm/mmu_context_nohash.c | 3 ++- drivers/cpufreq/pmac32-cpufreq.c | 2 +- drivers/macintosh/via-pmu.c| 4 +