From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: "Romain Caritey" <Romain.Caritey@microchip.com>,
"Baptiste Le Duc" <baptiste.le-duc@vates.tech>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Michal Orzel" <michal.orzel@amd.com>,
"Julien Grall" <julien@xen.org>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Connor Davis" <connojdavis@gmail.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v5 10/26] xen/riscv: implement make_cpus_node()
Date: Fri, 10 Jul 2026 18:00:05 +0200 [thread overview]
Message-ID: <2eb30962-4357-4113-8589-14da7637ebb6@gmail.com> (raw)
In-Reply-To: <0c65cc0a-76c6-4ca3-8d39-7f6d82b7f54b@suse.com>
On 7/9/26 3:20 PM, Jan Beulich wrote:
> On 06.07.2026 17:57, Oleksii Kurochko wrote:
>> Implement make_cpus_node() to create cpus node for a guest domain.
>>
>> This function is going to be use by common dom0less code during
>> construction domain.
>>
>> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
>> ---
>> Changes in v5:
>> - Drop Acked-by: Jan Beulich <jbeulich@suse.com> as extra changes were done
>> because of the changed in prev. patch.
>> - Move isa_str allocation and construction out of arch_domain_create() and
>> into make_cpus_node() as a local variable, since the string is only
>> needed during FDT generation. Use a two-call build_guest_isa_str()
>> pattern (size probe, then fill) with xvmalloc_array, and convert all
>> post-allocation error returns to goto out so xvfree() runs on every path.
>> ---
>> Changes in v4:
>> - Update the comment in make_cpus_node() to match code style.
>> - Add Acked-by: Jan Beulich <jbeulich@suse.com>.
>> ---
>> Changes in v3:
>> - Add blank line above make_cpus_node() function definition.
>> - Move 'unsigned int cpu' from function-level declarations into the for loop.
>> - Drop 'uint32_t reg = cpu_to_fdt32(cpu)'; use fdt_property_cell(fdt, "reg", cpu)
>> instead of fdt_property(fdt, "reg", ®, sizeof(reg)) so byte-order adjustment
>> is handled internally.
>> - Add matching /* interrupt-controller */ start comment; fix end comment to
>> /* end interrupt-controller */.
>> - Update d->arch.guest_isa_str to ->isa_str in make_cpus_node() function.
>> ---
>> Changes in v2:
>> - s/u32/uint32_t for timebase_frequency local variable.
>> - Drop +1 from BUILD_BUG_ON().
>> - return fdt_end_node(fdt); instead of res at the end of the function.
>> ---
>> ---
>> build/tools/fixdep | Bin 0 -> 13632 bytes
>
> There was a stray file in the v4 series iirc. Now there again is a stray file
> in v5. Can you please make sure to take a look yourself before posting a
> series?
Sorry about that, I will double-check next time.
> Are you doing out-of-tree hypervisor builds, but with a build directory
> within the source repo? There is an entry in .gitignore after all, just for
> xen/tools/fixdep.
No, it should in-tree:
CONTAINER=bookworm-riscv64 ./automation/scripts/containerize make V=1
XEN_TARGET_ARCH=riscv64 -C xen
Sometime I am doing without CONTAINER when I want to check on my system
with newer compile version but still I don't use O=, just make ... -C xen.
>
> With this properly dropped:
> Acked-by: Jan Beulich <jbeulich@suse.com>
Thanks.
~ Oleksii
next prev parent reply other threads:[~2026-07-10 16:00 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 15:57 [PATCH v5 00/26] Introduce enablemenant of dom0less Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 01/26] xen/dom0less: turn max_init_domid into a common variable Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 02/26] xen: arm: move declaration of map_device_irqs_to_domain() to common header Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 03/26] xen: arm: update p2m_set_allocation() prototype Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 04/26] xen/Kconfig: introduce HAS_STATIC_MEMORY Oleksii Kurochko
2026-07-07 9:52 ` Jan Beulich
2026-07-08 11:50 ` Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 05/26] xen/riscv: rename enum intc_version to intc_variant Oleksii Kurochko
2026-07-06 16:05 ` Jan Beulich
2026-07-07 7:34 ` Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 06/26] xen/riscv: Implement ARCH_PAGING_MEMPOOL Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 07/26] xen/riscv: Implement construct_domain() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 08/26] xen/riscv: implement prerequisites for domain_create() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 09/26] xen/riscv: introduce guest riscv,isa string Oleksii Kurochko
2026-07-09 13:05 ` Jan Beulich
2026-07-10 15:00 ` Oleksii Kurochko
2026-07-13 6:37 ` Jan Beulich
2026-07-06 15:57 ` [PATCH v5 10/26] xen/riscv: implement make_cpus_node() Oleksii Kurochko
2026-07-09 13:20 ` Jan Beulich
2026-07-10 16:00 ` Oleksii Kurochko [this message]
2026-07-06 15:57 ` [PATCH v5 11/26] xen/riscv: implement make_timer_node() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 12/26] xen/riscv: implement make_arch_nodes() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 13/26] xen/riscv: introduce init interrupt controller operations Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 14/26] xen/riscv: implement make_intc_domU_node() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 15/26] xen/riscv: introduce aia_init() and aia_usable() Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 16/26] xen/riscv: introduce per-vCPU IMSIC state Oleksii Kurochko
2026-07-06 15:57 ` [PATCH v5 17/26] xen/riscv: introduce minimal virtual APLIC (vAPLIC) infrastructure Oleksii Kurochko
2026-07-09 15:39 ` Jan Beulich
2026-07-10 15:52 ` Oleksii Kurochko
2026-07-13 6:41 ` Jan Beulich
2026-07-13 9:57 ` Oleksii Kurochko
2026-07-13 15:44 ` Jan Beulich
2026-07-06 15:57 ` [PATCH v5 18/26] xen/riscv: introduce (de)initialization helpers for vINTC Oleksii Kurochko
2026-07-06 15:58 ` [PATCH v5 19/26] xen/riscv: generate IMSIC DT node for guest domains Oleksii Kurochko
2026-07-09 15:49 ` Jan Beulich
2026-07-13 10:41 ` Oleksii Kurochko
2026-07-06 15:58 ` [PATCH v5 20/26] xen/riscv: create APLIC " Oleksii Kurochko
2026-07-09 15:55 ` Jan Beulich
2026-07-06 15:58 ` [PATCH v5 21/26] xen/riscv: implement IRQ routing for device passthrough Oleksii Kurochko
2026-07-16 12:35 ` Jan Beulich
2026-07-06 15:58 ` [PATCH v5 22/26] xen/riscv: implement init_intc_phandle() Oleksii Kurochko
2026-07-06 15:58 ` [PATCH v5 23/26] xen/riscv: initialize RCU, scheduler, and system domains in start_xen() Oleksii Kurochko
2026-07-06 15:58 ` [PATCH v5 24/26] xen/riscv: provide init_vuart() Oleksii Kurochko
2026-07-06 15:58 ` [PATCH v5 25/26] xen/riscv: add initial dom0less infrastructure support Oleksii Kurochko
2026-07-16 12:37 ` Jan Beulich
2026-07-06 15:58 ` [PATCH v5 26/26] xen/riscv: do a 4th linking pass if necessary Oleksii Kurochko
2026-07-06 16:13 ` Jan Beulich
2026-07-07 8:19 ` Oleksii Kurochko
2026-07-07 8:37 ` Jan Beulich
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=2eb30962-4357-4113-8589-14da7637ebb6@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=Romain.Caritey@microchip.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=baptiste.le-duc@vates.tech \
--cc=connojdavis@gmail.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox