Re: [PATCH v2] drivers/bus: set device NUMA node to unknown by default

2022-10-06 Thread David Marchand
On Tue, Oct 4, 2022 at 4:59 PM Olivier Matz wrote: > > The dev->device.numa_node field is set by each bus driver for > every device it manages to indicate on which NUMA node this device lies. > > When this information is unknown, the assigned value is not consistent > across the bus drivers. > > S

Re: [PATCH v2] drivers/bus: set device NUMA node to unknown by default

2022-10-05 Thread Thomas Monjalon
05/10/2022 11:04, Olivier Matz: > Hi David, > > On Wed, Oct 05, 2022 at 10:52:49AM +0200, David Marchand wrote: > > On Tue, Oct 4, 2022 at 4:59 PM Olivier Matz wrote: > > > > > > The dev->device.numa_node field is set by each bus driver for > > > every device it manages to indicate on which NUMA

Re: [PATCH v2] drivers/bus: set device NUMA node to unknown by default

2022-10-05 Thread Olivier Matz
Hi David, On Wed, Oct 05, 2022 at 10:52:49AM +0200, David Marchand wrote: > On Tue, Oct 4, 2022 at 4:59 PM Olivier Matz wrote: > > > > The dev->device.numa_node field is set by each bus driver for > > every device it manages to indicate on which NUMA node this device lies. > > > > When this infor

Re: [PATCH v2] drivers/bus: set device NUMA node to unknown by default

2022-10-05 Thread David Marchand
On Tue, Oct 4, 2022 at 4:59 PM Olivier Matz wrote: > > The dev->device.numa_node field is set by each bus driver for > every device it manages to indicate on which NUMA node this device lies. > > When this information is unknown, the assigned value is not consistent > across the bus drivers. > > S

[PATCH v2] drivers/bus: set device NUMA node to unknown by default

2022-10-04 Thread Olivier Matz
The dev->device.numa_node field is set by each bus driver for every device it manages to indicate on which NUMA node this device lies. When this information is unknown, the assigned value is not consistent across the bus drivers. Set the default value to SOCKET_ID_ANY (-1) by all bus drivers when