]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:51 +0000 (12:22 +0200)
commita905ac21b2abe275b17bac612fb482e98eb81124
tree3213815f260fa31afe5d2bfca73c0db432b25dae
parent8742dbf9c25d29b00812227391a0949686c35698
xtensa: PMU: fix base address for the newer hardware

commit 687eb3c42f4ad81e7c947c50e2d865f692064291 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/include/asm/core.h
arch/xtensa/kernel/perf_event.c