tree: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main head: 5932ad87828b267649d750869c89c0f1a3873477 commit: 427661e4c48887ea2a226cd972e574ae7686fb95 [36/68] wifi: iwlwifi: read SAR tables from UEFI config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20240203/202402031454.syX4cSGN-lkp@xxxxxxxxx/config) compiler: mips-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240203/202402031454.syX4cSGN-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202402031454.syX4cSGN-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/net/wireless/intel/iwlwifi/mvm/fw.c: In function 'iwl_mvm_get_bios_tables': >> drivers/net/wireless/intel/iwlwifi/mvm/fw.c:1476:50: error: 'struct iwl_mvm' has no member named 'phy_filters' 1476 | iwl_acpi_get_phy_filters(&mvm->fwrt, &mvm->phy_filters); | ^~ vim +1476 drivers/net/wireless/intel/iwlwifi/mvm/fw.c 427661e4c48887 Miri Korenblit 2024-01-31 1421 427661e4c48887 Miri Korenblit 2024-01-31 1422 void iwl_mvm_get_bios_tables(struct iwl_mvm *mvm) 78a19d5285d93e Miri Korenblit 2021-08-05 1423 { 78a19d5285d93e Miri Korenblit 2021-08-05 1424 int ret; 78a19d5285d93e Miri Korenblit 2021-08-05 1425 ebe8f41319fabe Miri Korenblit 2024-01-28 1426 iwl_acpi_get_guid_lock_status(&mvm->fwrt); ebe8f41319fabe Miri Korenblit 2024-01-28 1427 78a19d5285d93e Miri Korenblit 2021-08-05 1428 /* read PPAG table */ e8e10a37c51c08 Matt Chen 2022-03-04 1429 ret = iwl_acpi_get_ppag_table(&mvm->fwrt); 78a19d5285d93e Miri Korenblit 2021-08-05 1430 if (ret < 0) { 78a19d5285d93e Miri Korenblit 2021-08-05 1431 IWL_DEBUG_RADIO(mvm, 78a19d5285d93e Miri Korenblit 2021-08-05 1432 "PPAG BIOS table invalid or unavailable. (%d)\n", 78a19d5285d93e Miri Korenblit 2021-08-05 1433 ret); 78a19d5285d93e Miri Korenblit 2021-08-05 1434 } 78a19d5285d93e Miri Korenblit 2021-08-05 1435 78a19d5285d93e Miri Korenblit 2021-08-05 1436 /* read SAR tables */ 427661e4c48887 Miri Korenblit 2024-01-31 1437 ret = iwl_bios_get_wrds_table(&mvm->fwrt); 78a19d5285d93e Miri Korenblit 2021-08-05 1438 if (ret < 0) { 78a19d5285d93e Miri Korenblit 2021-08-05 1439 IWL_DEBUG_RADIO(mvm, 78a19d5285d93e Miri Korenblit 2021-08-05 1440 "WRDS SAR BIOS table invalid or unavailable. (%d)\n", 78a19d5285d93e Miri Korenblit 2021-08-05 1441 ret); 78a19d5285d93e Miri Korenblit 2021-08-05 1442 /* 78a19d5285d93e Miri Korenblit 2021-08-05 1443 * If not available, don't fail and don't bother with EWRD and 78a19d5285d93e Miri Korenblit 2021-08-05 1444 * WGDS */ 78a19d5285d93e Miri Korenblit 2021-08-05 1445 427661e4c48887 Miri Korenblit 2024-01-31 1446 if (!iwl_bios_get_wgds_table(&mvm->fwrt)) { 78a19d5285d93e Miri Korenblit 2021-08-05 1447 /* 78a19d5285d93e Miri Korenblit 2021-08-05 1448 * If basic SAR is not available, we check for WGDS, 78a19d5285d93e Miri Korenblit 2021-08-05 1449 * which should *not* be available either. If it is 78a19d5285d93e Miri Korenblit 2021-08-05 1450 * available, issue an error, because we can't use SAR 78a19d5285d93e Miri Korenblit 2021-08-05 1451 * Geo without basic SAR. 78a19d5285d93e Miri Korenblit 2021-08-05 1452 */ 78a19d5285d93e Miri Korenblit 2021-08-05 1453 IWL_ERR(mvm, "BIOS contains WGDS but no WRDS\n"); 78a19d5285d93e Miri Korenblit 2021-08-05 1454 } 78a19d5285d93e Miri Korenblit 2021-08-05 1455 78a19d5285d93e Miri Korenblit 2021-08-05 1456 } else { 427661e4c48887 Miri Korenblit 2024-01-31 1457 ret = iwl_bios_get_ewrd_table(&mvm->fwrt); 78a19d5285d93e Miri Korenblit 2021-08-05 1458 /* if EWRD is not available, we can still use 78a19d5285d93e Miri Korenblit 2021-08-05 1459 * WRDS, so don't fail */ 78a19d5285d93e Miri Korenblit 2021-08-05 1460 if (ret < 0) 78a19d5285d93e Miri Korenblit 2021-08-05 1461 IWL_DEBUG_RADIO(mvm, 78a19d5285d93e Miri Korenblit 2021-08-05 1462 "EWRD SAR BIOS table invalid or unavailable. (%d)\n", 78a19d5285d93e Miri Korenblit 2021-08-05 1463 ret); 78a19d5285d93e Miri Korenblit 2021-08-05 1464 78a19d5285d93e Miri Korenblit 2021-08-05 1465 /* read geo SAR table */ 78a19d5285d93e Miri Korenblit 2021-08-05 1466 if (iwl_sar_geo_support(&mvm->fwrt)) { 427661e4c48887 Miri Korenblit 2024-01-31 1467 ret = iwl_bios_get_wgds_table(&mvm->fwrt); 78a19d5285d93e Miri Korenblit 2021-08-05 1468 if (ret < 0) 78a19d5285d93e Miri Korenblit 2021-08-05 1469 IWL_DEBUG_RADIO(mvm, 78a19d5285d93e Miri Korenblit 2021-08-05 1470 "Geo SAR BIOS table invalid or unavailable. (%d)\n", 78a19d5285d93e Miri Korenblit 2021-08-05 1471 ret); 78a19d5285d93e Miri Korenblit 2021-08-05 1472 /* we don't fail if the table is not available */ 78a19d5285d93e Miri Korenblit 2021-08-05 1473 } 78a19d5285d93e Miri Korenblit 2021-08-05 1474 } c4c95454775592 Johannes Berg 2023-06-14 1475 c4c95454775592 Johannes Berg 2023-06-14 @1476 iwl_acpi_get_phy_filters(&mvm->fwrt, &mvm->phy_filters); 78a19d5285d93e Miri Korenblit 2021-08-05 1477 } 6996490501ed80 Luca Coelho 2017-01-12 1478 :::::: The code at line 1476 was first introduced by commit :::::: c4c954547755927807aaca981025847821dd2d0c wifi: iwlwifi: implement WPFC ACPI table loading :::::: TO: Johannes Berg <johannes.berg@xxxxxxxxx> :::::: CC: Johannes Berg <johannes.berg@xxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki