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>] [day] [month] [year] [list]
Message-Id: <20240219130718.2491496-1-skseofh@gmail.com>
Date: Mon, 19 Feb 2024 22:07:18 +0900
From: skseofh@...il.com
To: catalin.marinas@....com,
	will@...nel.org,
	rmk+kernel@...linux.org.uk,
	tglx@...utronix.de,
	mark.rutland@....com
Cc: linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	Daero Lee <skseofh@...il.com>
Subject: [PATCH] arm64: remove duplicated early fixmap init

From: Daero Lee <skseofh@...il.com>

We call early_fixmap_init() in two place.
- early_fdt_init()
- setup_arch()

Because early_fdt_init() is called before going to setup_arch(),
early_fixmap_init() can be deleted from setup_arch()

Signed-off-by: Daero Lee <skseofh@...il.com>
---
 arch/arm64/kernel/setup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 42c690bb2d60..ce45f4a9ac4a 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -305,7 +305,6 @@ void __init __no_sanitize_address setup_arch(char **cmdline_p)
 	 */
 	arm64_use_ng_mappings = kaslr_requires_kpti();
 
-	early_fixmap_init();
 	early_ioremap_init();
 
 	setup_machine_fdt(__fdt_pointer);
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ