From: Jan Beulich <jbeulich@suse.com>
To: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Julien Grall" <julien@xen.org>,
"Bertrand Marquis" <bertrand.marquis@arm.com>,
"Michal Orzel" <michal.orzel@amd.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Roger Pau Monné" <roger@xenproject.org>,
"Timothy Pearson" <tpearson@raptorengineering.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Connor Davis" <connojdavis@gmail.com>,
"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
"Teddy Astie" <teddy.astie@vates.tech>,
"Daniel P. Smith" <dpsmith@apertussolutions.com>,
"Mykyta Poturai" <Mykyta_Poturai@epam.com>
Subject: Re: [PATCH v10 4/6] arm/sysctl: Implement cpu hotplug ops
Date: Mon, 26 Oct 2026 10:20:28 +0100 [thread overview]
Message-ID: <8bb8d015-b9f5-419f-bfd4-e2810eda4fba@suse.com> (raw)
In-Reply-To: <87y0bpte78.fsf@epam.com>
On 23.10.2026 03:09, Volodymyr Babchuk wrote:
> Mykyta Poturai <Mykyta_Poturai@epam.com> writes:
>> --- a/xen/common/Kconfig
>> +++ b/xen/common/Kconfig
>> @@ -648,8 +648,8 @@ config SYSTEM_SUSPEND
>>
>> config CPU_ONLINE_OFFLINE
>> bool "CPU online/offline support" if EXPERT
>> - depends on X86
>> - default y
>> + depends on !ARM || (!HAS_ITS && !TEE)
>
> I don't think this is correct, unless RISC-V also support this.
I think this can be looked at both ways: Yours or "RISC-V implements
arch_cpu_keep_online()" (even if only as a stub right now). If there
were constraints there, they'd be added here as a 2nd "depends on"
if and when the stub is converted to a proper function.
> Maybe introduce HAS_CPUONLINE_OFFLINE as we do for similar features?
Irrespective of the above that's certainly an option. It might also
help with the unreachable code issue pointed out earlier.
Jan
next prev parent reply other threads:[~2026-10-26 9:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 9:39 [PATCH v10 0/6] Implement CPU hotplug on Arm Mykyta Poturai
2026-10-20 9:39 ` [PATCH v10 2/6] arm/irq: Migrate IRQs during CPU up/down operations Mykyta Poturai
2026-10-23 1:05 ` Volodymyr Babchuk
2026-10-20 9:39 ` [PATCH v10 1/6] arm/irq: Keep track of irq affinities Mykyta Poturai
2026-10-20 9:39 ` [PATCH v10 4/6] arm/sysctl: Implement cpu hotplug ops Mykyta Poturai
2026-10-23 1:09 ` Volodymyr Babchuk
2026-10-26 9:20 ` Jan Beulich [this message]
2026-10-26 9:17 ` Jan Beulich
2026-10-20 9:39 ` [PATCH v10 3/6] Kconfig: Make cpu hotplug configurable Mykyta Poturai
2026-10-20 9:39 ` [PATCH v10 5/6] tools: Allow building xen-hptool without CONFIG_MIGRATE Mykyta Poturai
2026-10-20 9:39 ` [PATCH v10 6/6] docs: Document CPU hotplug Mykyta Poturai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8bb8d015-b9f5-419f-bfd4-e2810eda4fba@suse.com \
--to=jbeulich@suse.com \
--cc=Mykyta_Poturai@epam.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=bertrand.marquis@arm.com \
--cc=connojdavis@gmail.com \
--cc=dpsmith@apertussolutions.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=oleksii.kurochko@gmail.com \
--cc=roger@xenproject.org \
--cc=sstabellini@kernel.org \
--cc=teddy.astie@vates.tech \
--cc=tpearson@raptorengineering.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.