VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Kajol Jain <kjain@linux.ibm.com> 2021-07-13 13:12:16 +0530 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-08-12 13:32:21 +0200 commit: fafe9cf51f80f082a4de82da2e75859b1aae2aa7 parent: 03d6da7c923fb2e0652126f82733312d2bf61580
Commit Summary:
fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/drivers/fpga/dfl-fme-perf.c b/drivers/fpga/dfl-fme-perf.c
index 4299145ef347..587c82be12f7 100644
--- a/drivers/fpga/dfl-fme-perf.c
+++ b/drivers/fpga/dfl-fme-perf.c
@@ -953,6 +953,8 @@ static int fme_perf_offline_cpu(unsigned int cpu, struct hlist_node *node)
 		return 0;
 
 	priv->cpu = target;
+	perf_pmu_migrate_context(&priv->pmu, cpu, target);
+
 	return 0;
 }