Skip to content

Commit 232eee3

Browse files
committed
Merge tag 'fpga-fixes-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga into char-misc-linus
Moritz writes: FPGA Manager fix for 5.14 Kajol's fix adds a missing pmu_migrate_context() call which presents a problem if the CPU collecting FME PMU data is taken offline. All patches have been reviewed on the mailing list, and have been in the last few linux-next releases (as part of my fixes branch) without issues. Signed-off-by: Moritz Fischer <[email protected]> * tag 'fpga-fixes-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga: fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
2 parents 4c4c125 + ec6446d commit 232eee3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/fpga/dfl-fme-perf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,8 @@ static int fme_perf_offline_cpu(unsigned int cpu, struct hlist_node *node)
953953
return 0;
954954

955955
priv->cpu = target;
956+
perf_pmu_migrate_context(&priv->pmu, cpu, target);
957+
956958
return 0;
957959
}
958960

0 commit comments

Comments
 (0)