diff options
author | Saurabh Sengar <[email protected]> | 2023-08-25 00:47:36 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-10-02 21:30:09 +0200 |
commit | 0d294c8c4efa5c0f283a6dfc82dc014a5dbd9308 (patch) | |
tree | f37e5408ee0a3ad70c04f10c2bfd8759b68ba540 /tools/perf/scripts/python/sched-migration.py | |
parent | 24775700eaa93ff83b2a0f1e005879cdf186cdd9 (diff) |
x86/of: Move the x86_flattree_get_config() call out of x86_dtb_init()
Fetching the device tree configuration before initmem_init() is necessary
to allow the parsing of NUMA node information. However moving the entire
x86_dtb_init() call before initmem_init() is not correct as APIC/IO-APIC enumeration
has to be after initmem_init().
Thus, move the x86_flattree_get_config() call out of x86_dtb_init(),
into setup_arch(), to call it before initmem_init(), and
leave the ACPI/IOAPIC registration sequence as-is.
[ mingo: Updated the changelog for clarity. ]
Signed-off-by: Saurabh Sengar <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions