Messages in this thread | | | Date | Mon, 14 Jun 2021 16:21:14 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH] arm64/mm: Drop SECTION_[SHIFT|SIZE|MASK] |
| |
On Mon, Jun 14, 2021 at 01:48:26PM +0530, Anshuman Khandual wrote: > SECTION_[SHIFT|SIZE|MASK] are essentially PMD_[SHIFT|SIZE|MASK]. But these > create confusion being similar to generic sparsemem memory sections, which > are derived from SECTION_SIZE_BITS. Section references have always implied > PMD level block mapping. Instead just use all PMD level macros which would > make it explicit and also remove confusion with sparsmem memory sections. > > Cc: Catalin Marinas <catalin.marinas@arm.com> > Cc: Will Deacon <will@kernel.org> > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
The clean-up looks good to me:
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
| |