[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163916163109.780317.2105758416817622025.b4-ty@arm.com>
Date: Fri, 10 Dec 2021 18:40:53 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: linux-arm-kernel@...ts.infradead.org, wangkefeng.wang@...wei.com,
will@...nel.org, linux-kernel@...r.kernel.org,
Yunfeng Ye <yeyunfeng@...wei.com>
Cc: Hewenliang <hewenliang4@...wei.com>, wuxu.wu@...wei.com
Subject: Re: [PATCH v3 1/2] arm64: mm: Rename asid2idx() to ctxid2asid()
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
Powered by blists - more mailing lists