Re: How to read BIOS information

From: Michal Piotrowski
Date: Mon May 08 2006 - 11:15:41 EST


Hi,

On 08/05/06, Madhukar Mythri <madhukar.mythri@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/