|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 3/5] arm/sysctl: Implement cpu hotplug ops
Hi, On 10/10/2025 10:21, Mykyta Poturai wrote: Can you add some details in the commit message explaining why the feature is only enabled for 32-bit Arm? --- xen/arch/arm/sysctl.c | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/xen/arch/arm/sysctl.c b/xen/arch/arm/sysctl.c index 32cab4feff..fecd649db1 100644 --- a/xen/arch/arm/sysctl.c +++ b/xen/arch/arm/sysctl.c @@ -12,6 +12,8 @@ #include <xen/dt-overlay.h> #include <xen/errno.h> #include <xen/hypercall.h> +#include <xen/cpu.h> +#include <xsm/xsm.h> #include <asm/arm64/sve.h> #include <public/sysctl.h>@@ -23,6 +25,42 @@ void arch_do_physinfo(struct xen_sysctl_physinfo *pi) The logic seems to be very similar to the x86 code. There are some slight differences in cpu_up_helper() and cpu_down_helper() but: * For cpu_up_helper(), we could create an arch specific helper for the second if check. * For cpu_down_helper(), it would be ok to call cpu_down() a second time on Arm. Can you look at consolidating the code? Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |