Re: [PATCH 1/8] powerpc/perf: Check that events only include valid bits on Power8

2013-06-25 Thread Anshuman Khandual
On 06/24/2013 04:58 PM, Michael Ellerman wrote: > A mistake we have made in the past is that we pull out the fields we > need from the event code, but don't check that there are no unknown bits > set. This means that we can't ever assign meaning to those unknown bits > in future. > > Although we h

[PATCH 1/8] powerpc/perf: Check that events only include valid bits on Power8

2013-06-24 Thread Michael Ellerman
A mistake we have made in the past is that we pull out the fields we need from the event code, but don't check that there are no unknown bits set. This means that we can't ever assign meaning to those unknown bits in future. Although we have once again failed to do this at release, it is still ear