linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Mark Rutland <mark.rutland@arm.com>,
	linux-arm-kernel@lists.infradead.org
Cc: Will Deacon <will@kernel.org>,
	maz@kernel.org, james.morse@arm.com, joey.gouly@arm.com
Subject: Re: [PATCH 0/4] arm64: entry: rework user return handling
Date: Thu,  5 Aug 2021 14:38:56 +0100	[thread overview]
Message-ID: <162817061093.16854.7299387625427703505.b4-ty@arm.com> (raw)
In-Reply-To: <20210802140733.52716-1-mark.rutland@arm.com>

On Mon, 2 Aug 2021 15:07:29 +0100, Mark Rutland wrote:
> These patches (based on v5.14-rc3) rework the arm64 entry code,
> converting the bulk of `ret_to_user` and `work_pending` assembly code to
> C. This simplifies the code, and ensure that for each exception there is
> a single assembly<->c transition, which may make it easier to handle
> backtracing in future if metadata is necessary.
> 
> The bulk of the additions are comments added in patch 2, which clarify
> the semantics of some helpers functions used during entry/exit.
> 
> [...]

Applied to arm64 (for-next/entry). There was a small conflict in entry.S
with the changes from the for-next/mte branch - clear_mte_async_tcf
macro call moved around. I also fixed the typos that Joey mentioned.

Please have a look to make sure everthing is still ok. Thanks!

[1/4] arm64: entry: consolidate entry/exit helpers
      https://git.kernel.org/arm64/c/46a2b02d232e
[2/4] arm64: entry: clarify entry/exit helpers
      https://git.kernel.org/arm64/c/bc29b71f53b1
[3/4] arm64: entry: move bulk of ret_to_user to C
      https://git.kernel.org/arm64/c/4d1c2ee2709f
[4/4] arm64: entry: call exit_to_user_mode() from C
      https://git.kernel.org/arm64/c/e130338eed5d

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2021-08-05 13:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 14:07 [PATCH 0/4] arm64: entry: rework user return handling Mark Rutland
2021-08-02 14:07 ` [PATCH 1/4] arm64: entry: consolidate entry/exit helpers Mark Rutland
2021-08-03 12:07   ` Joey Gouly
2021-08-02 14:07 ` [PATCH 2/4] arm64: entry: clarify " Mark Rutland
2021-08-03 11:53   ` Joey Gouly
2021-08-02 14:07 ` [PATCH 3/4] arm64: entry: move bulk of ret_to_user to C Mark Rutland
2021-08-03 12:06   ` Joey Gouly
2021-08-02 14:07 ` [PATCH 4/4] arm64: entry: call exit_to_user_mode() from C Mark Rutland
2021-08-03 12:17   ` Joey Gouly
2021-08-05 13:38 ` Catalin Marinas [this message]

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=162817061093.16854.7299387625427703505.b4-ty@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=james.morse@arm.com \
    --cc=joey.gouly@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=will@kernel.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).