xtensa: PMU: fix base address for the newer hardware
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 24 Jul 2023 07:58:24 +0000 (00:58 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 28 Aug 2023 02:22:56 +0000 (19:22 -0700)
commit687eb3c42f4ad81e7c947c50e2d865f692064291
tree172fa1b60eb08f32defd1b240e2ded0e9e4a5a33
parent2dde18cd1d8fac735875f2e4987f11817cc0bc2c
xtensa: PMU: fix base address for the newer hardware

With introduction of ERI access control in RG.0 base address of the PMU
unit registers has changed. Add support for the new PMU configuration.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/core.h
arch/xtensa/kernel/perf_event.c