* [PATCH] arm64: remove duplicated early fixmap init
@ 2024-02-19 13:27 skseofh
0 siblings, 0 replies; 2+ messages in thread
From: skseofh @ 2024-02-19 13:27 UTC (permalink / raw)
To: catalin.marinas, will, rmk+kernel, tglx, mark.rutland
Cc: linux-arm-kernel, linux-kernel, Daero Lee
From: Daero Lee <skseofh@gmail.com>
We call early_fixmap_init() in two places.
- early_fdt_map()
- setup_arch()
Because early_fdt_map() is called before going to setup_arch(),
early_fixmap_init() can be deleted from setup_arch().
Signed-off-by: Daero Lee <skseofh@gmail.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arm64: remove duplicated early fixmap init
@ 2024-02-19 13:07 skseofh
0 siblings, 0 replies; 2+ messages in thread
From: skseofh @ 2024-02-19 13:07 UTC (permalink / raw)
To: catalin.marinas, will, rmk+kernel, tglx, mark.rutland
Cc: linux-arm-kernel, linux-kernel, Daero Lee
From: Daero Lee <skseofh@gmail.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@gmail.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-19 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-19 13:27 [PATCH] arm64: remove duplicated early fixmap init skseofh
-- strict thread matches above, loose matches on Subject: below --
2024-02-19 13:07 skseofh
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).