Gleb Natapov wrote:
OK. Let me try to explain it one more time. Currently MADT table resides in memory of type "ACPI DATA" and AML code reads and writes this memory during CPU hot-plug. According to ACPI spec "ACPI DATA" ares can be reused by an OS, so consider what will happen if OS puts its data into memory area where MADT was and later gets cpu hotplug event. Do you see the problem now?
I just hesitate ' if OS puts its data ...'. Per my understanding, os will not write madt after booting, only AML write madt when necessary (i.e. cpu hotplug). So is it necessary to mark madt as ACPI NVS?
Thanks, Jinsong