Re: [PATCH v2 2/6] MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF

2016-09-22 Thread Ralf Baechle
On Tue, Sep 20, 2016 at 09:47:25AM +0100, Matt Redfearn wrote: > When adding a wired entry to the TLB via add_wired_entry, the tlb is > flushed with local_flush_tlb_all, which on CPUs with TLBINV results in > the new wired entry being flushed again. > > Behavior of the TLBINV instruction applies

Re: [PATCH v2 2/6] MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF

2016-09-22 Thread Ralf Baechle
On Tue, Sep 20, 2016 at 09:47:25AM +0100, Matt Redfearn wrote: > When adding a wired entry to the TLB via add_wired_entry, the tlb is > flushed with local_flush_tlb_all, which on CPUs with TLBINV results in > the new wired entry being flushed again. > > Behavior of the TLBINV instruction applies