On 2017/2/13 21:31, Dou Liyang wrote:
Hi, Rafael, Lv May I ask for your help. Recently, I am very confused about the generation of the MADT in ACPI table. 1: Why we put all the Apic Ids which flag==1 in front of the one which flag==0 in MADT? Just like that: -----orginal-----------------MADT------- Apic Id Enable Flag Apic Id Enable Flag 0x00 1 0x00 1 0x02 1 0x02 1 0x04 0 0x10 1 0x06 0 0x12 1 0x10 1 0x04 0 0x12 1 0x06 0 0x14 0 0x14 0 0x16 0 0x16 0 If the flag is the same, It will not change the order. -----orginal-----------------MADT--------- Apic Id Enable Flag Apic Id Enable Flag 0x00 0 0x00 0 0x02 0 0x02 0 0x04 0 0x04 0 0x06 0 0x06 0 0x10 0 0x10 0 0x12 0 0x12 0 0x14 0 0x14 0 0x16 0 0x16 0
Sorry, a little bit confused, local APIC entries are listed in MADT by firmware, and MADT is a static table which means the OS will not update the orders.
2: If the order rule can be changed ? If it can be done, What should I do?
What's the issue you are facing? any problem here? Thanks Hanjun -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html