Re: [PATCH] powerpc/powernv: Rework local TLB flush for boot and MCE on POWER9

2017-06-28 Thread Benjamin Herrenschmidt
On Wed, 2017-06-28 at 08:21 +0530, Aneesh Kumar K.V wrote: > > > I am not sure the new location of flushing the tlb is correct/perfect. For ex: > may be we should do it before htab_initialize() so that we start with > all everything flushed ? But otherwise Doesn't matter as long as you do it bef

Re: [PATCH] powerpc/powernv: Rework local TLB flush for boot and MCE on POWER9

2017-06-27 Thread Nicholas Piggin
On Wed, 28 Jun 2017 08:21:55 +0530 "Aneesh Kumar K.V" wrote: > Nicholas Piggin writes: > > > There are two cases outside the normal address space management > > where a CPU's local TLB is to be flushed: > > > > 1. Host boot; in case something has left stale entries in the > > TLB (e.g.,

Re: [PATCH] powerpc/powernv: Rework local TLB flush for boot and MCE on POWER9

2017-06-27 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > There are two cases outside the normal address space management > where a CPU's local TLB is to be flushed: > > 1. Host boot; in case something has left stale entries in the > TLB (e.g., kexec). > > 2. Machine check; to clean corrupted TLB entries. > > CPU state

Re: [PATCH] powerpc/powernv: Rework local TLB flush for boot and MCE on POWER9

2017-06-07 Thread kbuild test robot
Hi Nicholas, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12-rc4 next-20170607] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-powernv-Rework-loca

[PATCH] powerpc/powernv: Rework local TLB flush for boot and MCE on POWER9

2017-06-05 Thread Nicholas Piggin
There are two cases outside the normal address space management where a CPU's local TLB is to be flushed: 1. Host boot; in case something has left stale entries in the TLB (e.g., kexec). 2. Machine check; to clean corrupted TLB entries. CPU state restore from deep idle states also flush