Ignore:
Timestamp:
Apr 14, 2017, 9:41:36 PM (4 months ago)
Author:
brainslayer
Message:

kernel update

File:
1 edited

Legend:

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

    r28606 r31859  
    646646        int ssize = batch->ssize;
    647647        int i;
     648        unsigned int use_local;
     649
     650        use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) &&
     651                mmu_psize_defs[psize].tlbiel && !cxl_ctx_in_use();
    648652
    649653        local_irq_save(flags);
     
    672676        }
    673677
    674         if (mmu_has_feature(MMU_FTR_TLBIEL) &&
    675             mmu_psize_defs[psize].tlbiel && local) {
     678        if (use_local) {
    676679                asm volatile("ptesync":::"memory");
    677680                for (i = 0; i < number; i++) {
Note: See TracChangeset for help on using the changeset viewer.