[linux-next:master 10825/15435] drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "low confidence static check warning: drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier" :::::: BCC: [email protected] CC: [email protected] TO: Vinay Belgaumkar <[email protected]> CC: Rodrigo Vivi <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 4477a78374a57c3809b172ad30cceabda48c47c6 commit: 5c45e2dbe6967bf75a500931d643d5989291109b [10825/15435] drm/xe: Use IBC v3 on PTL :::::: branch date: 3 days ago :::::: commit date: 2 weeks ago config: alpha-randconfig-r111-20260817 (https://download.01.org/0day-ci/archive/20260817/[email protected]/config) compiler: alpha-linux-gcc (GCC) 16.1.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/xe/xe_guc_pc.c:1298:32: sparse: sparse: got - drivers/gpu/drm/xe/xe_guc_pc.c:1299:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1299:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1301:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1303:9: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1303:9: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1306:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1307:17: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1307:17: sparse: sparse: got return drivers/gpu/drm/xe/xe_guc_pc.c:1310:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1311:17: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1311:17: sparse: sparse: got return drivers/gpu/drm/xe/xe_guc_pc.c:1314:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1315:17: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1315:17: sparse: sparse: got return drivers/gpu/drm/xe/xe_guc_pc.c:1322:13: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1322:13: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1322:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1323:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1325:9: sparse: sparse: Trying to use reserved word 'return' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1325:16: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1325:16: sparse: sparse: got ret drivers/gpu/drm/xe/xe_guc_pc.c:1326:1: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1326:1: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1336:15: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1336:15: sparse: sparse: got -> drivers/gpu/drm/xe/xe_guc_pc.c:1336:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1339:20: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1339:20: sparse: sparse: got & drivers/gpu/drm/xe/xe_guc_pc.c:1340:11: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1340:11: sparse: sparse: got -> drivers/gpu/drm/xe/xe_guc_pc.c:1341:22: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1341:22: sparse: sparse: got & drivers/gpu/drm/xe/xe_guc_pc.c:1342:1: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1342:1: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1353:29: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1353:29: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1353:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1360:27: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1360:27: sparse: sparse: got , drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Trying to use reserved word 'do' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got ! drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got < drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1360:29: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1361:1: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1361:1: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1376:15: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1376:15: sparse: sparse: got -> drivers/gpu/drm/xe/xe_guc_pc.c:1376:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1380:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1381:17: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1381:17: sparse: sparse: got return drivers/gpu/drm/xe/xe_guc_pc.c:1388:19: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1388:19: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1388:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1391:11: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1391:11: sparse: sparse: got -> drivers/gpu/drm/xe/xe_guc_pc.c:1393:11: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1393:11: sparse: sparse: got -> drivers/gpu/drm/xe/xe_guc_pc.c:1395:9: sparse: sparse: Trying to use reserved word 'return' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1395:16: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1395:16: sparse: sparse: got __devm_add_action_or_reset drivers/gpu/drm/xe/xe_guc_pc.c:1396:1: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1396:1: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got ! drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got * >> drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Trying to use reserved word 'typeof' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1400:17: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1403:9: sparse: sparse: Trying to use reserved word 'case' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1403:14: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1403:14: sparse: sparse: got SLPC_GLOBAL_STATE_INITIALIZING drivers/gpu/drm/xe/xe_guc_pc.c:1405:9: sparse: sparse: Trying to use reserved word 'case' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1405:14: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1405:14: sparse: sparse: got SLPC_GLOBAL_STATE_RESETTING drivers/gpu/drm/xe/xe_guc_pc.c:1407:9: sparse: sparse: Trying to use reserved word 'case' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1407:14: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1407:14: sparse: sparse: got SLPC_GLOBAL_STATE_RUNNING drivers/gpu/drm/xe/xe_guc_pc.c:1409:9: sparse: sparse: Trying to use reserved word 'case' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1409:14: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1409:14: sparse: sparse: got SLPC_GLOBAL_STATE_SHUTTING_DOWN drivers/gpu/drm/xe/xe_guc_pc.c:1411:9: sparse: sparse: Trying to use reserved word 'case' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1411:14: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1411:14: sparse: sparse: got SLPC_GLOBAL_STATE_ERROR drivers/gpu/drm/xe/xe_guc_pc.c:1413:9: sparse: sparse: Trying to use reserved word 'default' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1413:16: sparse: sparse: Expected ; at end of declaration drivers/gpu/drm/xe/xe_guc_pc.c:1413:16: sparse: sparse: got : drivers/gpu/drm/xe/xe_guc_pc.c:1415:9: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1415:9: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:21: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:21: sparse: sparse: got , drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got ! drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got * drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Trying to use reserved word 'typeof' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1426:39: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1427:21: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1427:21: sparse: sparse: got , drivers/gpu/drm/xe/xe_guc_pc.c:1429:39: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1429:39: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1429:9: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1432:21: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1432:21: sparse: sparse: got , drivers/gpu/drm/xe/xe_guc_pc.c:1433:21: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1433:21: sparse: sparse: got , drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got ( drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got ! drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'if' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in nested declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got { drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ) in function declarator drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got * drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Trying to use reserved word 'typeof' as identifier drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: got } drivers/gpu/drm/xe/xe_guc_pc.c:1434:31: sparse: sparse: Expected ; at the end of type declaration vim +/typeof +1400 drivers/gpu/drm/xe/xe_guc_pc.c aaab5404b16f19b Rodrigo Vivi 2025-01-15 1397 aaab5404b16f19b Rodrigo Vivi 2025-01-15 1398 static const char *pc_get_state_string(struct xe_guc_pc *pc) aaab5404b16f19b Rodrigo Vivi 2025-01-15 1399 { aaab5404b16f19b Rodrigo Vivi 2025-01-15 @1400 switch (slpc_shared_data_read(pc, header.global_state)) { aaab5404b16f19b Rodrigo Vivi 2025-01-15 1401 case SLPC_GLOBAL_STATE_NOT_RUNNING: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1402 return "not running"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1403 case SLPC_GLOBAL_STATE_INITIALIZING: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1404 return "initializing"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1405 case SLPC_GLOBAL_STATE_RESETTING: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1406 return "resetting"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1407 case SLPC_GLOBAL_STATE_RUNNING: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1408 return "running"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1409 case SLPC_GLOBAL_STATE_SHUTTING_DOWN: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1410 return "shutting down"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1411 case SLPC_GLOBAL_STATE_ERROR: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1412 return "error"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1413 default: aaab5404b16f19b Rodrigo Vivi 2025-01-15 1414 return "unknown"; aaab5404b16f19b Rodrigo Vivi 2025-01-15 1415 } aaab5404b16f19b Rodrigo Vivi 2025-01-15 1416 } aaab5404b16f19b Rodrigo Vivi 2025-01-15 1417 :::::: The code at line 1400 was first introduced by commit :::::: aaab5404b16f19b06c7d88787d7ba18d91eeb854 drm/xe: Introduce GuC PC debugfs :::::: TO: Rodrigo Vivi <[email protected]> :::::: CC: Rodrigo Vivi <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki