perf/arm-cmn: Move IRQs when migrating context
authorRobin Murphy <robin.murphy@arm.com>
Thu, 28 Jan 2021 13:12:44 +0000 (13:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:44 +0000 (11:37 +0100)
commit86399c1911eb52d3208db3201342acdfdcfe3d86
tree8e6e3962486391d64852e53166f7b7f1cce0e8bd
parent1ea83d4891026a572620585174517e8a1f4a40b5
perf/arm-cmn: Move IRQs when migrating context

[ Upstream commit 1c8147ea89c883d1f4e20f1b1d9c879291430102 ]

If we migrate the PMU context to another CPU, we need to remember to
retarget the IRQs as well.

Fixes: 0ba64770a2f2 ("perf: Add Arm CMN-600 PMU driver")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/e080640aea4ed8dfa870b8549dfb31221803eb6b.1611839564.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/perf/arm-cmn.c