Re: [PATCH] mmc: sdhci-pci-gli: GL9750: Mask rootport's replay timer timeout during suspend

From: kernel test robot
Date: Thu Dec 14 2023 - 08:57:39 EST


Hi Kai-Heng,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.7-rc5 next-20231214]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Kai-Heng-Feng/mmc-sdhci-pci-gli-GL9750-Mask-rootport-s-replay-timer-timeout-during-suspend/20231212-221223
base: linus/master
patch link: https://lore.kernel.org/r/20231212141029.239235-1-kai.heng.feng%40canonical.com
patch subject: [PATCH] mmc: sdhci-pci-gli: GL9750: Mask rootport's replay timer timeout during suspend
config: x86_64-randconfig-121-20231213 (https://download.01.org/0day-ci/archive/20231214/202312142103.ADkXHq1r-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312142103.ADkXHq1r-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/202312142103.ADkXHq1r-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/mmc/host/sdhci-pci-gli.c: In function 'mask_replay_timer_timeout':
>> drivers/mmc/host/sdhci-pci-gli.c:1437:33: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1437 | if (!parent || !parent->aer_cap)
| ^~~~~~~
| ats_cap
drivers/mmc/host/sdhci-pci-gli.c:1440:47: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1440 | pci_read_config_dword(parent, parent->aer_cap + PCI_ERR_COR_MASK, &val);
| ^~~~~~~
| ats_cap
drivers/mmc/host/sdhci-pci-gli.c:1442:48: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1442 | pci_write_config_dword(parent, parent->aer_cap + PCI_ERR_COR_MASK, val);
| ^~~~~~~
| ats_cap
drivers/mmc/host/sdhci-pci-gli.c: In function 'unmask_replay_timer_timeout':
drivers/mmc/host/sdhci-pci-gli.c:1450:33: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1450 | if (!parent || !parent->aer_cap)
| ^~~~~~~
| ats_cap
drivers/mmc/host/sdhci-pci-gli.c:1453:45: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1453 | pci_read_config_dword(pdev, parent->aer_cap + PCI_ERR_COR_MASK, &val);
| ^~~~~~~
| ats_cap
drivers/mmc/host/sdhci-pci-gli.c:1455:46: error: 'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
1455 | pci_write_config_dword(pdev, parent->aer_cap + PCI_ERR_COR_MASK, val);
| ^~~~~~~
| ats_cap


vim +1437 drivers/mmc/host/sdhci-pci-gli.c

1431
1432 static void mask_replay_timer_timeout(struct pci_dev *pdev)
1433 {
1434 struct pci_dev *parent = pci_upstream_bridge(pdev);
1435 u32 val;
1436
> 1437 if (!parent || !parent->aer_cap)
1438 return;
1439
1440 pci_read_config_dword(parent, parent->aer_cap + PCI_ERR_COR_MASK, &val);
1441 val |= PCI_ERR_COR_REP_TIMER;
1442 pci_write_config_dword(parent, parent->aer_cap + PCI_ERR_COR_MASK, val);
1443 }
1444

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki