Re: [PATCH V6 08/13] perf: Add Sandy Bridge-EP uncore support

From: Yan, Zheng
Date: Sun Jun 17 2012 - 21:48:09 EST


On 06/16/2012 01:10 AM, Peter Zijlstra wrote:
> On Fri, 2012-06-15 at 14:31 +0800, Yan, Zheng wrote:
>> +static struct event_constraint snbep_uncore_r2pcie_constraints[] = {
>> + UNCORE_EVENT_CONSTRAINT(0x10, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x11, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x12, 0x1),
>> + UNCORE_EVENT_CONSTRAINT(0x23, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x24, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x25, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x26, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x32, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x33, 0x3),
>> + UNCORE_EVENT_CONSTRAINT(0x34, 0x3),
>> + EVENT_CONSTRAINT_END
>> +};
>
> My E5-2600 Uncore Perf. Mon. Guide, March 2012 (Ref.# 327043-001)
> doesn't seem to list events 0x26 and up.
>
> I'm staring at 2.8.5, table 2-108.
>
> Is my document out-dated or what's up?
>
> the r3qpi table seems to match, but the cbox one is funny again, event
> 0x01 doesn't appear in the doc, nor does 0x3b, 0x38, 0x23.
>
Sorry, my document is out-dated. These events were listed in the old
document. should we remove them ?

> FWIW, cbox event constraint 0x1f needs to be an
> EVENT_CONSTRAINT_OVERLAP, see the comment near that macro definition.
>
thanks for reminding

Regards
Yan, Zheng
--
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/