lkml.org 
[lkml]   [2020]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V2 3/3] perf/x86/intel/uncore: Validate MMIO address before accessing
From
Date


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

\
 
 \ /
  Last update: 2020-05-28 16:09    [W:0.047 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site