[PATCH igt] igt/perf_pmu: Skip hotplugging cpu0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is a known issue that some "commodity" machines fail when asked to
hotplug CPU0, so don't.

Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
--
Tvrtko, is it just this simple? Or do we need to avoid the physical
package?
-Chris
---
 tests/perf_pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c
index a7501ca5..e9ce2881 100644
--- a/tests/perf_pmu.c
+++ b/tests/perf_pmu.c
@@ -982,7 +982,7 @@ static void cpu_hotplug(int gem_fd)
 	 * this has not affected busyness stats in the parent.
 	 */
 	igt_fork(child, 1) {
-		int cpu = 0;
+		int cpu = 1;
 
 		close(link[0]);
 
-- 
2.16.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux