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

kernel update

File:
1 edited

Legend:

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

    r31574 r31859  
    637637        int ssize = batch->ssize;
    638638        int i;
     639        unsigned int use_local;
     640
     641        use_local = local && mmu_has_feature(MMU_FTR_TLBIEL) &&
     642                mmu_psize_defs[psize].tlbiel && !cxl_ctx_in_use();
    639643
    640644        local_irq_save(flags);
     
    666670        }
    667671
    668         if (mmu_has_feature(MMU_FTR_TLBIEL) &&
    669             mmu_psize_defs[psize].tlbiel && local) {
     672        if (use_local) {
    670673                asm volatile("ptesync":::"memory");
    671674                for (i = 0; i < number; i++) {
Note: See TracChangeset for help on using the changeset viewer.