[PATCH v12 6/7] acpi: Provide the mechanism to validate processors in the ACPI tables

2016-08-25 Thread Dou Liyang
[Problem] When we set cpuid <-> nodeid mapping to be persistent, it will use the DSDT As we know, the ACPI tables are just like user's input in that respect, and we don't crash if user's input is unreasonable. Such as, the mapping of the proc_id and pxm in some machine's ACPI table is like this:

[PATCH v12 6/7] acpi: Provide the mechanism to validate processors in the ACPI tables

2016-08-25 Thread Dou Liyang
[Problem] When we set cpuid <-> nodeid mapping to be persistent, it will use the DSDT As we know, the ACPI tables are just like user's input in that respect, and we don't crash if user's input is unreasonable. Such as, the mapping of the proc_id and pxm in some machine's ACPI table is like this: