From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp09.au.ibm.com (e23smtp09.au.ibm.com [202.81.31.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id C1E511A151C for ; Wed, 13 Aug 2014 17:02:23 +1000 (EST) Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Aug 2014 17:02:23 +1000 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [9.190.234.120]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 8369D2BB0055 for ; Wed, 13 Aug 2014 17:02:15 +1000 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s7D6irF552428822 for ; Wed, 13 Aug 2014 16:44:53 +1000 Received: from d23av01.au.ibm.com (localhost [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s7D72DmB005800 for ; Wed, 13 Aug 2014 17:02:14 +1000 From: "Aneesh Kumar K.V" To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au Subject: [PATCH V2 0/8] THP fixes for ppc64 Date: Wed, 13 Aug 2014 12:31:56 +0530 Message-Id: <1407913324-8062-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, This patch series fixes machine check exception that we observed when using transparent huge page along with 4k hash pte on power bare metal platform. Patch "powerpc: mm: Use read barrier when creating real_pte" is not really related to thp, but was added in the series because it is fixing a related issue with 4k pte. That patch was not really needed to fix the MCE. Changes from V1: * Rebased to latest upstream Aneesh Kumar K.V (8): powerpc: thp: Add write barrier after updating the valid bit powerpc: thp: don't recompute vsid and ssize in loop on invalidate powerpc: thp: invalidate old 64K based hash page mapping before insert of 4k pte powerpc: thp: Handle combo pages in invalidate powerpc: thp: inalidate with vpn in loop powerpc: thp: use ACCESS_ONCE when loading pmdp powerpc: mm: Use read barrier when creating real_pte powerpc: thp: Add tracepoints to track hugepage invalidate arch/powerpc/include/asm/machdep.h | 6 +-- arch/powerpc/include/asm/pgtable-ppc64.h | 2 +- arch/powerpc/include/asm/pte-hash64-64k.h | 30 +++++++++-- arch/powerpc/mm/hash_native_64.c | 40 ++++---------- arch/powerpc/mm/hugepage-hash64.c | 88 +++++++++++++++++++++++++++---- arch/powerpc/mm/pgtable_64.c | 44 ++++++++++------ arch/powerpc/mm/tlb_hash64.c | 6 ++- arch/powerpc/platforms/pseries/lpar.c | 20 +++---- include/trace/events/thp.h | 88 +++++++++++++++++++++++++++++++ 9 files changed, 245 insertions(+), 79 deletions(-) create mode 100644 include/trace/events/thp.h -- 1.9.1