Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/arch/powerpc/mm/hash_native_64.c

    r25370 r31885  
    634634        int ssize = batch->ssize;
    635635        int i;
     636        unsigned int use_local;
     637
     638        use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) &&
     639                mmu_psize_defs[psize].tlbiel && !cxl_ctx_in_use();
    636640
    637641        local_irq_save(flags);
     
    660664        }
    661665
    662         if (mmu_has_feature(MMU_FTR_TLBIEL) &&
    663             mmu_psize_defs[psize].tlbiel && local) {
     666        if (use_local) {
    664667                asm volatile("ptesync":::"memory");
    665668                for (i = 0; i < number; i++) {
Note: See TracChangeset for help on using the changeset viewer.