From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rPrlt2C8nzDqtW for ; Thu, 9 Jun 2016 00:43:38 +1000 (AEST) Received: from pps.filterd (m0082756.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u58Ed2rW046193 for ; Wed, 8 Jun 2016 10:43:36 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 23e9mf2s02-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 08 Jun 2016 10:43:36 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Jun 2016 08:43:35 -0600 From: "Aneesh Kumar K.V" To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" Subject: [PATCH V2 00/16] TLB flush improvments and Segment table support Date: Wed, 8 Jun 2016 20:13:07 +0530 Message-Id: <1465397003-26812-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This series include patches which got posted earlier as independent series. Some of this patches will go upstream via -mm tree. Changes from V1: * Address review feedback * rebase on top of radix fixes which got posted earlier * Fixes for segment table support. NOTE: Even though the patch series include changes to generic mm and other architectures this series is not cross-posted. That is because, the generic mm changes got posted as a separate patch series which can be found at http://thread.gmane.org/gmane.linux.kernel.mm/152620 Aneesh Kumar K.V (16): mm/hugetlb: Simplify hugetlb unmap mm: Change the interface for __tlb_remove_page mm/mmu_gather: Track page size with mmu gather and force flush if page size change powerpc/mm/radix: Implement tlb mmu gather flush efficiently powerpc/mm: Make MMU_FTR_RADIX a MMU family feature powerpc/mm/hash: Add helper for finding SLBE LLP encoding powerpc/mm: Use hugetlb flush functions powerpc/mm: Drop multiple definition of mm_is_core_local powerpc/mm/radix: Add tlb flush of THP ptes powerpc/mm/radix: Rename function and drop unused arg powerpc/mm/radix/hugetlb: Add helper for finding page size from hstate powerpc/mm/hugetlb: Add flush_hugetlb_tlb_range powerpc/mm: remove flush_tlb_page_nohash powerpc/mm: Cleanup LPCR defines powerpc/mm: Switch user slb fault handling to translation enabled powerpc/mm: Support segment table for Power9 arch/arm/include/asm/tlb.h | 29 +- arch/ia64/include/asm/tlb.h | 31 +- arch/powerpc/include/asm/book3s/64/hash.h | 10 + arch/powerpc/include/asm/book3s/64/hugetlb-radix.h | 15 + arch/powerpc/include/asm/book3s/64/mmu-hash.h | 26 ++ arch/powerpc/include/asm/book3s/64/mmu.h | 7 +- arch/powerpc/include/asm/book3s/64/tlbflush-hash.h | 5 - .../powerpc/include/asm/book3s/64/tlbflush-radix.h | 16 +- arch/powerpc/include/asm/book3s/64/tlbflush.h | 27 +- arch/powerpc/include/asm/hugetlb.h | 2 +- arch/powerpc/include/asm/kvm_book3s_64.h | 3 +- arch/powerpc/include/asm/mmu.h | 18 +- arch/powerpc/include/asm/mmu_context.h | 5 +- arch/powerpc/include/asm/reg.h | 54 ++-- arch/powerpc/include/asm/tlb.h | 13 + arch/powerpc/include/asm/tlbflush.h | 1 - arch/powerpc/kernel/entry_64.S | 2 +- arch/powerpc/kernel/exceptions-64s.S | 63 +++- arch/powerpc/kernel/prom.c | 3 +- arch/powerpc/mm/hash_native_64.c | 6 +- arch/powerpc/mm/hash_utils_64.c | 86 ++++- arch/powerpc/mm/hugetlbpage-radix.c | 39 +-- arch/powerpc/mm/mmu_context_book3s64.c | 32 +- arch/powerpc/mm/pgtable-book3s64.c | 4 +- arch/powerpc/mm/pgtable.c | 2 +- arch/powerpc/mm/slb.c | 359 +++++++++++++++++++++ arch/powerpc/mm/tlb-radix.c | 104 +++++- arch/powerpc/mm/tlb_hash32.c | 11 - arch/powerpc/mm/tlb_nohash.c | 6 - arch/s390/include/asm/tlb.h | 22 +- arch/sh/include/asm/tlb.h | 20 +- arch/um/include/asm/tlb.h | 20 +- include/asm-generic/tlb.h | 59 +++- mm/huge_memory.c | 2 +- mm/hugetlb.c | 64 ++-- mm/memory.c | 27 +- 36 files changed, 981 insertions(+), 212 deletions(-) -- 2.7.4