* [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
@ 2021-06-14 10:10 Anshuman Khandual
2021-06-14 12:32 ` Gavin Shan
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anshuman Khandual @ 2021-06-14 10:10 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Anshuman Khandual, Catalin Marinas, Will Deacon, Mark Rutland,
linux-kernel
The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had
dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up.
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>
---
This applies on v5.13-rc6.
arch/arm64/include/asm/kernel-pgtable.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h
index a848da2b4d90..1260187adb31 100644
--- a/arch/arm64/include/asm/kernel-pgtable.h
+++ b/arch/arm64/include/asm/kernel-pgtable.h
@@ -100,9 +100,6 @@
#define SWAPPER_TABLE_SHIFT PMD_SHIFT
#endif
-/* The size of the initial kernel direct mapping */
-#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT)
-
/*
* Initial memory map attributes.
*/
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
2021-06-14 10:10 [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE Anshuman Khandual
@ 2021-06-14 12:32 ` Gavin Shan
2021-06-14 14:08 ` Mark Rutland
2021-06-15 12:06 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Gavin Shan @ 2021-06-14 12:32 UTC (permalink / raw)
To: Anshuman Khandual, linux-arm-kernel
Cc: Catalin Marinas, Will Deacon, Mark Rutland, linux-kernel
On 6/14/21 8:10 PM, Anshuman Khandual wrote:
> The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had
> dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up.
>
> 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>
> ---
> This applies on v5.13-rc6.
>
> arch/arm64/include/asm/kernel-pgtable.h | 3 ---
> 1 file changed, 3 deletions(-)
>
Reviewed-by: Gavin Shan <gshan@redhat.com>
> diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h
> index a848da2b4d90..1260187adb31 100644
> --- a/arch/arm64/include/asm/kernel-pgtable.h
> +++ b/arch/arm64/include/asm/kernel-pgtable.h
> @@ -100,9 +100,6 @@
> #define SWAPPER_TABLE_SHIFT PMD_SHIFT
> #endif
>
> -/* The size of the initial kernel direct mapping */
> -#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT)
> -
> /*
> * Initial memory map attributes.
> */
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
2021-06-14 10:10 [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE Anshuman Khandual
2021-06-14 12:32 ` Gavin Shan
@ 2021-06-14 14:08 ` Mark Rutland
2021-06-15 12:06 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Mark Rutland @ 2021-06-14 14:08 UTC (permalink / raw)
To: Anshuman Khandual
Cc: linux-arm-kernel, Catalin Marinas, Will Deacon, linux-kernel,
aisheng.dong
On Mon, Jun 14, 2021 at 03:40:11PM +0530, Anshuman Khandual wrote:
> The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had
> dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up.
>
> 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>
> ---
> This applies on v5.13-rc6.
Dong Aisheng had a patch to do this, along with a few other cleanup
patches:
https://lore.kernel.org/r/20210518101405.1048860-1-aisheng.dong@nxp.com
Thanks,
Mark.
>
> arch/arm64/include/asm/kernel-pgtable.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h
> index a848da2b4d90..1260187adb31 100644
> --- a/arch/arm64/include/asm/kernel-pgtable.h
> +++ b/arch/arm64/include/asm/kernel-pgtable.h
> @@ -100,9 +100,6 @@
> #define SWAPPER_TABLE_SHIFT PMD_SHIFT
> #endif
>
> -/* The size of the initial kernel direct mapping */
> -#define SWAPPER_INIT_MAP_SIZE (_AC(1, UL) << SWAPPER_TABLE_SHIFT)
> -
> /*
> * Initial memory map attributes.
> */
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
2021-06-14 10:10 [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE Anshuman Khandual
2021-06-14 12:32 ` Gavin Shan
2021-06-14 14:08 ` Mark Rutland
@ 2021-06-15 12:06 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2021-06-15 12:06 UTC (permalink / raw)
To: Anshuman Khandual, linux-arm-kernel
Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel, Mark Rutland
On Mon, 14 Jun 2021 15:40:11 +0530, Anshuman Khandual wrote:
> The commit cdef5f6e9e0e ("arm64: mm: allocate pagetables anywhere") had
> dropped the last reference to SWAPPER_INIT_MAP_SIZE. Hence just clean up.
Applied to arm64 (for-next/mm), thanks!
[1/1] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE
https://git.kernel.org/arm64/c/0f473ac746a9
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-15 12:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 10:10 [PATCH] arm64/mm: Drop SWAPPER_INIT_MAP_SIZE Anshuman Khandual
2021-06-14 12:32 ` Gavin Shan
2021-06-14 14:08 ` Mark Rutland
2021-06-15 12:06 ` Will Deacon
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).