Re: [PATCH v2 07/22] numa: Introduce a generic memory_add_physaddr_to_nid()

2020-07-13 Thread Dan Williams
On Sun, Jul 12, 2020 at 11:58 PM Mike Rapoport wrote: > > Hi Dan, > > On Sun, Jul 12, 2020 at 09:26:43AM -0700, Dan Williams wrote: > > For architectures that opt into storing their numa data in memblock > > (only ARM64 currently), add a memblock generic way to interrogate that > > data for

Re: [PATCH v2 07/22] numa: Introduce a generic memory_add_physaddr_to_nid()

2020-07-13 Thread Mike Rapoport
Hi Dan, On Sun, Jul 12, 2020 at 09:26:43AM -0700, Dan Williams wrote: > For architectures that opt into storing their numa data in memblock > (only ARM64 currently), add a memblock generic way to interrogate that > data for memory_add_physaddr_to_nid(). This requires ARCH_KEEP_MEMBLOCK > to keep

[PATCH v2 07/22] numa: Introduce a generic memory_add_physaddr_to_nid()

2020-07-12 Thread Dan Williams
For architectures that opt into storing their numa data in memblock (only ARM64 currently), add a memblock generic way to interrogate that data for memory_add_physaddr_to_nid(). This requires ARCH_KEEP_MEMBLOCK to keep memblock text and data around after boot. Cc: Mike Rapoport Cc: Jia He Cc: