Re: [PATCH V2 3/3] perf/x86/intel/uncore: Validate MMIO address before accessing

From: Andi Kleen
Date: Thu May 28 2020 - 10:02:29 EST


> > > +
> > > + pr_warn_once("perf uncore: Access invalid address of %s.\n",
> > > + box->pmu->type->name);
> >
> > Pretty hard to debug without the invalid offset.
> >
>
> I will dump the box->io_addr and offset for debugging.

Please don't overengineer.

-Andi