linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Nicholas Piggin <npiggin@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail.com>
Subject: [RFC PATCH 0/5] powerpc/64s/radix: Use non-atomic ops for PTE
Date: Sun, 20 Dec 2020 09:48:08 +1000	[thread overview]
Message-ID: <20201219234813.830747-1-npiggin@gmail.com> (raw)

This is not entirely settled because of future compatibility concern
but in terms of Linux code and existing processors I think the approach
works.

Thanks,
Nick

Nicholas Piggin (5):
  powerpc/64s: update_mmu_cache inline the radix test
  powerpc/64s: implement mm_nmmu_has_tlbs
  powerpc/64s: add CONFIG_PPC_NMMU for nest MMU support
  powerpc/64s/radix: implement complete radix__ptep_get_and_clear_full
  powerpc/64s/radix: Use non-atomic PTE updates if the MMU does not
    modify the PTE

 arch/powerpc/Kconfig                          |  1 +
 arch/powerpc/include/asm/book3s/64/mmu.h      |  2 +
 arch/powerpc/include/asm/book3s/64/pgtable.h  | 10 +--
 arch/powerpc/include/asm/book3s/64/radix.h    | 50 +++++------
 arch/powerpc/include/asm/book3s/64/tlbflush.h | 11 ++-
 arch/powerpc/include/asm/book3s/pgtable.h     | 11 ++-
 arch/powerpc/include/asm/mmu_context.h        |  5 +-
 arch/powerpc/mm/book3s32/mmu.c                |  4 +-
 arch/powerpc/mm/book3s64/hash_utils.c         |  7 +-
 arch/powerpc/mm/book3s64/radix_hugetlbpage.c  |  3 +-
 arch/powerpc/mm/book3s64/radix_pgtable.c      | 82 +++++++++++++++----
 arch/powerpc/mm/book3s64/radix_tlb.c          | 26 +++---
 arch/powerpc/platforms/Kconfig                |  3 +
 arch/powerpc/platforms/powernv/Kconfig        |  1 +
 14 files changed, 134 insertions(+), 82 deletions(-)

-- 
2.23.0


             reply	other threads:[~2020-12-19 23:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-19 23:48 Nicholas Piggin [this message]
2020-12-19 23:48 ` [RFC PATCH 1/5] powerpc/64s: update_mmu_cache inline the radix test Nicholas Piggin
2020-12-20 11:37   ` Christophe Leroy
2020-12-22  3:32     ` Nicholas Piggin
2020-12-19 23:48 ` [RFC PATCH 2/5] powerpc/64s: implement mm_nmmu_has_tlbs Nicholas Piggin
2020-12-19 23:48 ` [RFC PATCH 3/5] powerpc/64s: add CONFIG_PPC_NMMU for nest MMU support Nicholas Piggin
2020-12-20 11:43   ` Christophe Leroy
2020-12-22  3:37     ` Nicholas Piggin
2020-12-19 23:48 ` [RFC PATCH 4/5] powerpc/64s/radix: implement complete radix__ptep_get_and_clear_full Nicholas Piggin
2020-12-19 23:48 ` [RFC PATCH 5/5] powerpc/64s/radix: Use non-atomic PTE updates if the MMU does not modify the PTE Nicholas Piggin

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=20201219234813.830747-1-npiggin@gmail.com \
    --to=npiggin@gmail.com \
    --cc=linuxppc-dev@lists.ozlabs.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).