public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Two questions about the MADT in ACPI table
@ 2017-02-13 13:31 Dou Liyang
  2017-02-13 22:18 ` Rafael J. Wysocki
  2017-02-15  2:38 ` Hanjun Guo
  0 siblings, 2 replies; 11+ messages in thread
From: Dou Liyang @ 2017-02-13 13:31 UTC (permalink / raw)
  To: Rafael J. Wysocki, rafael, Zheng, Lv; +Cc: linux-acpi

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


2: If the order rule can be changed ?
If it can be done, What should I do?

Thanks,
Liyang.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-02-15  8:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 13:31 Two questions about the MADT in ACPI table Dou Liyang
2017-02-13 22:18 ` Rafael J. Wysocki
2017-02-15  2:53   ` Dou Liyang
2017-02-15  3:18     ` Dou Liyang
2017-02-15  6:36       ` Hanjun Guo
2017-02-15  8:01         ` Dou Liyang
2017-02-15  3:54     ` Dou Liyang
2017-02-15  2:38 ` Hanjun Guo
2017-02-15  3:46   ` Dou Liyang
2017-02-15  6:42     ` Hanjun Guo
2017-02-15  7:07       ` Dou Liyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox