From: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au
Cc: linuxppc-dev@lists.ozlabs.org,
"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: [PATCH V2 0/8] THP fixes for ppc64
Date: Wed, 13 Aug 2014 12:31:56 +0530 [thread overview]
Message-ID: <1407913324-8062-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2014-08-13 7:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 7:01 Aneesh Kumar K.V [this message]
2014-08-13 7:01 ` [PATCH V2 1/8] powerpc: thp: Add write barrier after updating the valid bit Aneesh Kumar K.V
2014-08-13 7:01 ` [PATCH V2 2/8] powerpc: thp: don't recompute vsid and ssize in loop on invalidate Aneesh Kumar K.V
2014-08-13 7:01 ` [PATCH V2 3/8] powerpc: thp: invalidate old 64K based hash page mapping before insert of 4k pte Aneesh Kumar K.V
2014-08-13 7:02 ` [PATCH V2 4/8] powerpc: thp: Handle combo pages in invalidate Aneesh Kumar K.V
2014-08-13 7:02 ` [PATCH V2 5/8] powerpc: thp: inalidate with vpn in loop Aneesh Kumar K.V
2014-08-13 7:02 ` [PATCH V2 6/8] powerpc: thp: use ACCESS_ONCE when loading pmdp Aneesh Kumar K.V
2014-08-13 7:02 ` [PATCH V2 7/8] powerpc: mm: Use read barrier when creating real_pte Aneesh Kumar K.V
2014-08-13 7:02 ` [PATCH V2 8/8] powerpc: thp: Add tracepoints to track hugepage invalidate Aneesh Kumar K.V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1407913324-8062-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com \
--to=aneesh.kumar@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).