Re: [PATCH] powerpc/perf: Fix kernel address leaks via Sampling registers

2018-03-06 Thread Madhavan Srinivasan
On Tuesday 06 March 2018 08:36 PM, kbuild test robot wrote: Hi Michael, I love your patch! Yet something to improve: [auto build test ERROR on v4.16-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] powerpc/perf: Fix kernel address leaks via Sampling registers

2018-03-06 Thread kbuild test robot
Hi Michael, I love your patch! Yet something to improve: [auto build test ERROR on v4.16-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH] powerpc/perf: Fix kernel address leaks via Sampling registers

2018-03-04 Thread Madhavan Srinivasan
From: Michael Ellerman Current code in power_pmu_disable() does not clear the sampling registers like Sampling Instruction Address Register (SAIR) and Sampling Data Address Register (SDAR) after disabling the PMU. Since these are userspace readable and could contain kernel