Re: [PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-12-09 Thread Johan Hovold
On Wed, Dec 09, 2020 at 03:19:26AM +0100, Thomas Gleixner wrote: > On Tue, Dec 08 2020 at 11:05, Johan Hovold wrote: > > > On Tue, Nov 24, 2020 at 02:42:47PM +0100, Johan Hovold wrote: > >> Fix CPU devicetree-node lookups by implementing > >> arch_match_cpu_phys_id(). > >> > >> This allows using

Re: [PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-12-08 Thread Thomas Gleixner
On Tue, Dec 08 2020 at 11:05, Johan Hovold wrote: > On Tue, Nov 24, 2020 at 02:42:47PM +0100, Johan Hovold wrote: >> Fix CPU devicetree-node lookups by implementing >> arch_match_cpu_phys_id(). >> >> This allows using of_get_cpu_node() and of_cpu_device_node_get() to look >> up CPU devicetree nod

Re: [PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-12-08 Thread Johan Hovold
On Tue, Nov 24, 2020 at 02:42:47PM +0100, Johan Hovold wrote: > Fix CPU devicetree-node lookups by implementing > arch_match_cpu_phys_id(). > > This allows using of_get_cpu_node() and of_cpu_device_node_get() to look > up CPU devicetree nodes and specifically makes sure that CPU struct > devices a

[PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-11-24 Thread Johan Hovold
Fix CPU devicetree-node lookups by implementing arch_match_cpu_phys_id(). This allows using of_get_cpu_node() and of_cpu_device_node_get() to look up CPU devicetree nodes and specifically makes sure that CPU struct devices are linked to the correct devicetree nodes. Note that CPUs are described i