Re: How to read BIOS information

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

 



Hi,

On 08/05/06, Madhukar Mythri <[email protected]> wrote:
[snip]
"proc/cpuinfo" says only HT support is their or not but, it will not say
whether HT is Enalbled/Disabled..
How to read ACPI tables ? Can  you give little info on this...
even from Driver program, if its possible please tell me...


How about  comparing /sys/devices/system/cpu/cpu0/topology/core_id and
/sys/devices/system/cpu/cpu1/topology/core_id values?

On my northwood ht (single core) cpu0/topology/core_id and
cpu1/topology/core_id contain "0". For dual core system should be
something like

cpu0/topology/core_id = 0
cpu1/topology/core_id = 0
cpu2/topology/core_id = 1
cpu3/topology/core_id = 1

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux