Re: [PATCH 5.10] perf/x86/intel/pt: Relax address filter validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 26, 2022 at 03:15:10PM +0300, Adrian Hunter wrote:
> commit c243cecb58e3905baeace8827201c14df8481e2a upstream
> 
> The requirement for 64-bit address filters is that they are canonical
> addresses. In other respects any address range is allowed which would
> include user space addresses.
> 
> That can be useful for tracing virtual machine guests because address
> filtering can be used to advantage in place of current privilege level
> (CPL) filtering.
> 
> Now for stable because a side effect is that this also fixes
> address filter validation for addresses in kernel modules.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20220131072453.2839535-2-adrian.hunter@xxxxxxxxx
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> ---
>  arch/x86/events/intel/pt.c | 63 ++++++++++++++++++++++++++++++--------
>  1 file changed, 50 insertions(+), 13 deletions(-)

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux