]> git.baikalelectronics.ru Git - kernel.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>
Wed, 13 Sep 2023 07:43:01 +0000 (09:43 +0200)
commit5a8b2c1665ca1ff8d9d04eef01eed1b9fddba00b
treef701c82bc44b010c5ae5f975900279bc0430b821
parent9a9b8596c3dce99a0bac3951ed257e87f30d0445
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