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

From: Liang, Kan
Date: Thu May 28 2020 - 10:08:35 EST




On 5/28/2020 10:02 AM, Andi Kleen wrote:
+
+ 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.


OK. Will only dump the invalid offset.

Thanks,
Kan