lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92337e78-2a6b-4f41-a3d6-3e07361eba21@arm.com>
Date: Mon, 14 Oct 2024 09:14:05 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: Gavin Shan <gshan@...hat.com>, linux-arm-kernel@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, catalin.marinas@....com, will@...nel.org,
 ardb@...nel.org, shan.gavin@...il.com
Subject: Re: [PATCH] arm64: head: Drop SWAPPER_TABLE_SHIFT



On 10/14/24 08:33, Gavin Shan wrote:
> There is no users of SWAPPER_TABLE_SHIFT after commit 84b04d3e6bdb
> ("arm64: kernel: Create initial ID map from C code"). Just drop it.
> 
> Signed-off-by: Gavin Shan <gshan@...hat.com>

Reviewed-by: Anshuman Khandual <anshuman.khandual@....com>

> ---
>  arch/arm64/include/asm/kernel-pgtable.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/include/asm/kernel-pgtable.h b/arch/arm64/include/asm/kernel-pgtable.h
> index bf05a77873a4..fd5a08450b12 100644
> --- a/arch/arm64/include/asm/kernel-pgtable.h
> +++ b/arch/arm64/include/asm/kernel-pgtable.h
> @@ -26,7 +26,6 @@
>  #define SWAPPER_SKIP_LEVEL	0
>  #endif
>  #define SWAPPER_BLOCK_SIZE	(UL(1) << SWAPPER_BLOCK_SHIFT)
> -#define SWAPPER_TABLE_SHIFT	(SWAPPER_BLOCK_SHIFT + PAGE_SHIFT - 3)
>  
>  #define SWAPPER_PGTABLE_LEVELS		(CONFIG_PGTABLE_LEVELS - SWAPPER_SKIP_LEVEL)
>  #define INIT_IDMAP_PGTABLE_LEVELS	(IDMAP_LEVELS - SWAPPER_SKIP_LEVEL)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ