Messages in this thread | | | Date | Mon, 8 May 2006 17:15:53 +0200 | From | "Michal Piotrowski" <> | Subject | Re: How to read BIOS information |
| |
Hi,
On 08/05/06, Madhukar Mythri <madhukar.mythri@wipro.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |