> > > +
> > > + 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

