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)
committerWill Deacon <will@kernel.org>
Thu, 28 Jan 2021 20:14:45 +0000 (20:14 +0000)
commit1c8147ea89c883d1f4e20f1b1d9c879291430102
tree62e8c8d66f0fa8c0d2a17bd2ed457a255e9b1d42
parent79d7c3dca99fa96033695ddf5d495b775a3a137b
perf/arm-cmn: Move IRQs when migrating context

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>
drivers/perf/arm-cmn.c