svn commit: r334616 - head/sys/dev/acpica

Mark Johnston markj at freebsd.org
Thu Jun 7 14:03:01 UTC 2018


On Thu, Jun 07, 2018 at 09:54:01AM -0400, John Baldwin wrote:
> On 6/4/18 10:56 AM, Mark Johnston wrote:
> > Author: markj
> > Date: Mon Jun  4 14:56:02 2018
> > New Revision: 334616
> > URL: https://svnweb.freebsd.org/changeset/base/334616
> > 
> > Log:
> >   Fix the NUMA build for non-x86 platforms.
> >   
> >   acpi_map_pxm_to_vm_domainid() is currently implemented only on x86.
> >   
> >   MFC after:	1 week
> 
> It seems that non-x86 platforms that support NUMA should implement
> this function instead.  The SRAT table is not x86-specific and ACPI
> platforms implementing NUMA will need to provide an SRAT parser to
> describe the memory layout to VM and to map _PXM values to the
> VM domain values assigned by that mapping.

Indeed, this was a small step towards lifting some of the code in
x86/acpica/srat.c into the generic driver for use on arm64. In my
case I'm looking a ThunderX, which exposes NUMA locality info in
both the ofw device tree and the SRAT table. I'm looking at ofw first,
and in the meantime I just needed a buildable options NUMA kernel.


More information about the svn-src-head mailing list