]> xenbits.xensource.com Git - xen.git/commit
Arm: cpu_*_map adjustments
authorJan Beulich <jbeulich@suse.com>
Thu, 17 Apr 2025 08:00:41 +0000 (10:00 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 17 Apr 2025 08:00:41 +0000 (10:00 +0200)
commitb097a774b3cfaecb985c46e4b2579b4a41c86c24
tree9f353fa2ec93cc0e74b40be4b448ed819b2339fa
parenta05598bd12643d17f5c4ac9fbe9b5dc8e3d4c433
Arm: cpu_*_map adjustments

First, they all start out zeroed. There's no point doing an initial
cpumask_clear() on them.

Next, only cpu_online_map may be altered post-boot, and even that only
rarely. Add respective placement attributes.

Finally, cpu_present_map really isn't anything more than an alias of
cpu_possible_map. Avoid the copying, and have the linker provide the
symbol (if needed in the first place; it is needed right now as
common code references the symbol).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
xen/arch/arm/smpboot.c
xen/arch/arm/xen.lds.S