- Prevent the amd/power module from being removed while in use

- Mark AMD IBS as not supporting content exclusion

- Add a workaround for AMD erratum #1197 where IBS registers might
not be restored properly after exiting CC6 state

- Fix a potential truncation of a 32-bit variable due to shifting

- Read the correct bits describing the number of configurable address
ranges on Intel PT
perf/x86/amd/power: Assign pmu.module

Assign pmu.module so the driver can't be unloaded whilst in use.

Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-4-kim.phillips@amd.com
1 file changed