Re: Two questions about the MADT in ACPI table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Hanjun

Thank you for your help!

[...]

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.


Yes, MADT will never be updated after booting time.

My concern is how do the firmware arrange the order of the local
APIC entries in MADT.

I found the local APIC entries which its processor enable flag was
1 would be sorted close to the front of MADT.

I startup the computer twice,

1. I don't use the local APIC IDs with 0x10 and 0x12.
There are just 2 online CPUs in the computer in the booting time.
The MADT likes:

-------MADT---------
Apic Id | Enable Flag
0x00        1
0x02        1
0x04        0
0x06        0
0x10        0
0x12        0
0x14        0
0x16        0
-------------------------------------

2. I use the local APIC IDs with 0x10 and 0x12. Then, startup the
computer. There are 4 online CPUs.
The MADT likes:
------MADT-------
Apic Id | Enable Flag
0x00        1
0x02        1
0x10        1
0x12        1
0x04        0
0x16        0
0x14        0
0x16        0

The position of the 0x10 and 0x12 is changed.



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?

Sorry, I do not describe it clearly.
please see the email, which i have cc-ed to you.

Thanks,
Liyang.


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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux