All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: linux-arm-kernel@lists.infradead.org, wangkefeng.wang@huawei.com,
	will@kernel.org, linux-kernel@vger.kernel.org,
	Yunfeng Ye <yeyunfeng@huawei.com>
Cc: Hewenliang <hewenliang4@huawei.com>, wuxu.wu@huawei.com
Subject: Re: [PATCH v3 1/2] arm64: mm: Rename asid2idx() to ctxid2asid()
Date: Fri, 10 Dec 2021 18:40:53 +0000	[thread overview]
Message-ID: <163916163109.780317.2105758416817622025.b4-ty@arm.com> (raw)
In-Reply-To: <c31516eb-6d15-94e0-421c-305fc010ea79@huawei.com>

On Thu, 9 Dec 2021 09:42:25 +0800, Yunfeng Ye wrote:
> The commit 0c8ea531b774 ("arm64: mm: Allocate ASIDs in pairs") introduce
> the asid2idx and idx2asid macro, but these macros are not really useful
> after the commit f88f42f853a8 ("arm64: context: Free up kernel ASIDs if
> KPTI is not in use").
> 
> The code "(asid & ~ASID_MASK)" can be instead by a macro, which is the
> same code with asid2idx(). So rename it to ctxid2asid() for a better
> understanding.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/2] arm64: mm: Rename asid2idx() to ctxid2asid()
      https://git.kernel.org/arm64/c/a3a5b763410c
[2/2] arm64: mm: Use asid feature macro for cheanup
      https://git.kernel.org/arm64/c/386a74677be1

-- 
Catalin


WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: linux-arm-kernel@lists.infradead.org, wangkefeng.wang@huawei.com,
	will@kernel.org, linux-kernel@vger.kernel.org,
	Yunfeng Ye <yeyunfeng@huawei.com>
Cc: Hewenliang <hewenliang4@huawei.com>, wuxu.wu@huawei.com
Subject: Re: [PATCH v3 1/2] arm64: mm: Rename asid2idx() to ctxid2asid()
Date: Fri, 10 Dec 2021 18:40:53 +0000	[thread overview]
Message-ID: <163916163109.780317.2105758416817622025.b4-ty@arm.com> (raw)
In-Reply-To: <c31516eb-6d15-94e0-421c-305fc010ea79@huawei.com>

On Thu, 9 Dec 2021 09:42:25 +0800, Yunfeng Ye wrote:
> The commit 0c8ea531b774 ("arm64: mm: Allocate ASIDs in pairs") introduce
> the asid2idx and idx2asid macro, but these macros are not really useful
> after the commit f88f42f853a8 ("arm64: context: Free up kernel ASIDs if
> KPTI is not in use").
> 
> The code "(asid & ~ASID_MASK)" can be instead by a macro, which is the
> same code with asid2idx(). So rename it to ctxid2asid() for a better
> understanding.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/2] arm64: mm: Rename asid2idx() to ctxid2asid()
      https://git.kernel.org/arm64/c/a3a5b763410c
[2/2] arm64: mm: Use asid feature macro for cheanup
      https://git.kernel.org/arm64/c/386a74677be1

-- 
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-12-10 18:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  1:42 [PATCH v3 1/2] arm64: mm: Rename asid2idx() to ctxid2asid() Yunfeng Ye
2021-12-09  1:42 ` Yunfeng Ye
2021-12-09  1:46 ` [PATCH v3 2/2] arm64: mm: Use asid feature macro for cheanup Yunfeng Ye
2021-12-09  1:46   ` Yunfeng Ye
2021-12-10 18:40 ` Catalin Marinas [this message]
2021-12-10 18:40   ` [PATCH v3 1/2] arm64: mm: Rename asid2idx() to ctxid2asid() Catalin Marinas

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=163916163109.780317.2105758416817622025.b4-ty@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=hewenliang4@huawei.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wangkefeng.wang@huawei.com \
    --cc=will@kernel.org \
    --cc=wuxu.wu@huawei.com \
    --cc=yeyunfeng@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.