Hi Stefano, On 20/02/2025 02:18, Stefano Stabellini wrote:
From: Xenia Ragiadakou <[email protected]>Add vcpu affinity to the dom0less bindings. Example: dom1 { ... cpus = <4>; vcpu0 { compatible = "xen,vcpu"; id = <0>; hard-affinity = "4-7"; }; vcpu1 { compatible = "xen,vcpu"; id = <1>; hard-affinity = "0-3,5"; }; vcpu2 { compatible = "xen,vcpu"; id = <2>; hard-affinity = "1,6"; }; ... Note that the property hard-affinity is optional. It is possible to add other properties in the future not only to specify soft affinity, but also to provide more precise methods for configuring affinity. For instance, on ARM the MPIDR could be use to specify the pCPU. For now, it is left to the future. Signed-off-by: Xenia Ragiadakou <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
Acked-by: Julien Grall <[email protected]> Cheers, -- Julien Grall
