74e2845c5f
With a numa set up such as
-numa nodeid=0,cpus=0 \
-numa nodeid=1,memdev=mem \
-numa nodeid=2,cpus=1
and appropriate hmat_lb entries the initiator list is correctly
computed and writen to HMAT as 0,2 but then the LB data is accessed
using the node id (here 2), landing outside the entry_list array.
Stash the reverse lookup when writing the initiator list and use
it to get the correct array index index.
Fixes:
|
||
---|---|---|
.. | ||
acpi_generic_initiator.c | ||
acpi_interface.c | ||
acpi-cpu-hotplug-stub.c | ||
acpi-mem-hotplug-stub.c | ||
acpi-nvdimm-stub.c | ||
acpi-pci-hotplug-stub.c | ||
acpi-qmp-cmds.c | ||
acpi-stub.c | ||
acpi-x86-stub.c | ||
aml-build-stub.c | ||
aml-build.c | ||
bios-linker-loader.c | ||
core.c | ||
cpu_hotplug.c | ||
cpu.c | ||
cxl-stub.c | ||
cxl.c | ||
erst.c | ||
generic_event_device.c | ||
ghes-stub.c | ||
ghes.c | ||
hmat.c | ||
hmat.h | ||
ich9_tco.c | ||
ich9.c | ||
ipmi-stub.c | ||
ipmi.c | ||
Kconfig | ||
memory_hotplug.c | ||
meson.build | ||
nvdimm.c | ||
pci-bridge-stub.c | ||
pci-bridge.c | ||
pci.c | ||
pcihp.c | ||
piix4.c | ||
tpm.c | ||
trace-events | ||
trace.h | ||
utils.c | ||
viot.c | ||
viot.h | ||
vmgenid.c |