Re: [patch 2/6] x86, perf, cqm: Use proper data type

From: Thomas Gleixner
Date: Tue May 19 2015 - 09:03:35 EST


On Tue, 19 May 2015, Matt Fleming wrote:

> On Tue, 19 May, at 12:00:51AM, Thomas Gleixner wrote:
> > int is really not a proper data type for a MSR. Use u32 to make it
> > clear that we are dealing with a 32bit unsigned hardware value.
> >
> > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > ---
> > arch/x86/kernel/cpu/perf_event_intel_cqm.c | 4 ++--
> > include/linux/perf_event.h | 2 +-
> > 2 files changed, 3 insertions(+), 3 deletions(-)
>
> Yeah, makes sense, but this is missing a bunch of changes to other
> functions that pass rmids around.

Right. I cared about the stuff which handles the cached state.

> Lemme take a swing at that.

Yes, please.

Thanks,

tglx
--
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/