[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 1/2] qom: new object to associate device to numa node
From: |
Ankit Agrawal |
Subject: |
Re: [PATCH v6 1/2] qom: new object to associate device to numa node |
Date: |
Tue, 9 Jan 2024 04:21:33 +0000 |
>> > However, I'll leave it up to those more familiar with the QEMU numa
>> > control interface design to comment on whether this approach is preferable
>> > to making the gi part of the numa node entry or doing it like hmat.
>>
>> > -numa srat-gi,node-id=10,gi-pci-dev=dev1
>>
>> The current way of acpi-generic-initiator object usage came out of the
>> discussion
>> on v1 to essentially link all the device NUMA nodes to the device.
>> (https://lore.kernel.org/all/20230926131427.1e441670.alex.williamson@redhat.com/)
>>
>> Can Alex or David comment on which is preferable (the current mechanism vs
>> 1:1
>> mapping per object as suggested by Jonathan)?
>
> I imagine there are ways that either could work, but specifying a
> gi-pci-dev in the numa node declaration appears to get a bit messy if we
> have multiple gi-pci-dev devices to associate to the node whereas
> creating an acpi-generic-initiator object per individual device:node
> relationship feels a bit easier to iterate.
>
> Also if we do extend the ACPI spec to more explicitly allow a device to
> associate to multiple nodes, we could re-instate the list behavior of
> the acpi-generic-initiator whereas I don't see a representation of the
> association at the numa object that makes sense. Thanks,
Ack, making the change to create an individual acpi-generic-initiator object
per device:node.
Alex
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, (continued)
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Alex Williamson, 2024/01/04
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Jonathan Cameron, 2024/01/09
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, David Hildenbrand, 2024/01/09
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Jason Gunthorpe, 2024/01/09
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Dan Williams, 2024/01/09
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Jason Gunthorpe, 2024/01/09
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Dan Williams, 2024/01/10
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Michael S. Tsirkin, 2024/01/11
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Ankit Agrawal, 2024/01/16
Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Alex Williamson, 2024/01/04
- Re: [PATCH v6 1/2] qom: new object to associate device to numa node,
Ankit Agrawal <=
Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Jonathan Cameron, 2024/01/09
Re: [PATCH v6 1/2] qom: new object to associate device to numa node, Markus Armbruster, 2024/01/08