W dniu 22.03.2024 o 19:51, Peter Maydell pisze:
On Tue, 12 Mar 2024 at 08:32, Xiong Yining

xiongyining1480 (2):
   hw/arm/sbsa-ref:Enable CPU cluster on ARM sbsa machine
   hw/arm/sbsa-ref: Add cpu-map to device tree

Thanks for these patches. I think we should squash the two
patches together into one, because the first patch is only
a single line, and also because we shouldn't say that the
machine supports cluster topology until it actually does
by putting the information into the device tree.

There's no rush, because we're  now in softfreeze for 9.0, so these
will have to wait until 9.0 is released (in about a month's time).

I'm also a bit confused by the Reviewed-by: tag from Marcin on patch 2,
because I can't see that in my mail archives of the discussion on version
1 of this patchset, only a Tested-by.
Marcin, are you OK with these patches?

I only tested them. They are fine, will check on Monday.

Also, is this change to the DTB something that would require an
increase in the sbsa-ref platform version number, or not?

TF-A will check for "/cpus/cpu-map" node and if it is missing then will not provide it to EDK2. So far I did not saw patches for firmware side.

I would add bump of platform version to 0.4 one. It is cheap operation and so far (from firmware side) we check for >= 0.3 only.

> Should we adjust the documentation in docs/system/arm/sbsa.rst to
> mention that the DTB might have cluster topology information?

Yes. I will send an update to mention that NUMA configuration can be there too (we already export it from TF-A to EDK2 via SMC calls).

Reply via email to