From: Markus Metzger Date: Fri, 13 Mar 2009 09:42:18 +0000 (+0100) Subject: x86, bts: detect size of DS fields X-Git-Tag: v2.6.31-rc1~401^2~62^2~35 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc44fb5f7d3e764ed7698c835a1a0f35aba2eb3d;p=pandora-kernel.git x86, bts: detect size of DS fields Impact: more robust DS feature enumeration Detect the size of the pointer-type fields in the DS area configuration via the DTES64 features rather than based on the cpuid. Rename a variable to denote that size to reflect that it only covers the pointer-type fields. Add more boot-time diagnostics giving the detected size and the sizes of BTS and PEBS records. Use the size of the BTS/PEBS record to indicate that the respective feature is not available (if the record size is zero). Signed-off-by: Markus Metzger LKML-Reference: <20090313104218.A30096@sedona.ch.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed