]> git.hungrycats.org Git - linux/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>
Wed, 13 Sep 2023 07:48:39 +0000 (09:48 +0200)
commit86a6b5515e8e7480f69c73ed7f4e8303da64897c
treeeb94fcabdc1f81a645207e61e7c8fe6f967bb2b8
parent17c6bced492cdace4eca40b3d38f4ee3b46dc775
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