ACPI: NUMA: Add CXL CFMWS 'nodes' to the possible nodes set
authorDan Williams <dan.j.williams@intel.com>
Thu, 20 Oct 2022 23:54:55 +0000 (16:54 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 21 Oct 2022 23:14:59 +0000 (16:14 -0700)
commit24f0692bfd41fd207d99c993a5785c3426762046
treed8d8c44a44388bc88622c804945b44c2d8dd1f1f
parentf010c75c05299ecd65adfd31a7841eea3476ce1f
ACPI: NUMA: Add CXL CFMWS 'nodes' to the possible nodes set

The ACPI CEDT.CFMWS indicates a range of possible address where new CXL
regions can appear. Each range is associated with a QTG id (QoS
Throttling Group id). For each range + QTG pair that is not covered by a proximity
domain in the SRAT, Linux creates a new NUMA node. However, the commit
that added the new ranges missed updating the node_possible mask which
causes memory_group_register() to fail. Add the new nodes to the
nodes_possible mask.

Cc: <stable@vger.kernel.org>
Fixes: fd49f99c1809 ("ACPI: NUMA: Add a node and memblk for each CFMWS not in SRAT")
Cc: Alison Schofield <alison.schofield@intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Tested-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Link: https://lore.kernel.org/r/166631003537.1167078.9373680312035292395.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/numa/srat.c