From: Jordan Niethe <jniethe5@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Jordan Niethe <jniethe5@gmail.com>, cmr@bluescreens.de
Subject: [PATCH v7 0/5] Use per-CPU temporary mappings for patching on Radix MMU
Date: Wed, 10 Nov 2021 11:37:12 +1100 [thread overview]
Message-ID: <20211110003717.1150965-1-jniethe5@gmail.com> (raw)
This is a revision of Chris' series to introduces a per cpu temporary mm to be
used for patching with strict rwx on radix mmus.
The previous version of the series is here:
https://lore.kernel.org/linuxppc-dev/20210911022904.30962-1-cmr@bluescreens.de/
v7: - introduce helper functions for clearing and restoring breakpoint
registers when using the temporary mm
- use a new patch_instruction_mm() function instead of needing repeated
conditionals and a struct to save state to work within
do_patch_instruction()
- include a ptesync after setting the pte
Christopher M. Riedl (4):
powerpc/64s: Introduce temporary mm for Radix MMU
powerpc: Rework and improve STRICT_KERNEL_RWX patching
powerpc: Use WARN_ON and fix check in poking_init
powerpc/64s: Initialize and use a temporary mm for patching on Radix
Jordan Niethe (1):
powerpc: Allow clearing and restoring registers independent of saved
breakpoint state
arch/powerpc/include/asm/debug.h | 2 +
arch/powerpc/kernel/process.c | 36 ++++++-
arch/powerpc/lib/code-patching.c | 162 +++++++++++++++++++++++++++----
3 files changed, 176 insertions(+), 24 deletions(-)
--
2.25.1
next reply other threads:[~2021-11-10 0:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 0:37 Jordan Niethe [this message]
2021-11-10 0:37 ` [PATCH v7 1/5] powerpc: Allow clearing and restoring registers independent of saved breakpoint state Jordan Niethe
2021-11-10 0:37 ` [PATCH v7 2/5] powerpc/64s: Introduce temporary mm for Radix MMU Jordan Niethe
2021-11-10 0:37 ` [PATCH v7 3/5] powerpc: Rework and improve STRICT_KERNEL_RWX patching Jordan Niethe
2022-03-12 7:30 ` Christophe Leroy
2022-03-14 23:01 ` Jordan Niethe
2021-11-10 0:37 ` [PATCH v7 4/5] powerpc: Use WARN_ON and fix check in poking_init Jordan Niethe
2021-11-10 0:37 ` [PATCH v7 5/5] powerpc/64s: Initialize and use a temporary mm for patching on Radix Jordan Niethe
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=20211110003717.1150965-1-jniethe5@gmail.com \
--to=jniethe5@gmail.com \
--cc=cmr@bluescreens.de \
--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).