* [devsec-tsm:devsec-phase2 13/24] include/linux/pci-tsm.h:190:27: error: 'struct pci_dev' has no member named 'ide_cap'; did you mean 'devcap'?
@ 2026-07-06 3:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-06 3:06 UTC (permalink / raw)
To: Dan Williams; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/devsec/tsm devsec-phase2
head: fca18645f5a7726a7d2723322a520ecff3e72b45
commit: a2be27064cb1e7ccb165e331527d1123a4df0fc9 [13/24] PCI, device core: Add private memory access for DEVICE_TRUST_TCB
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20260706/202607061003.qAFuCy2e-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607061003.qAFuCy2e-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607061003.qAFuCy2e-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/pci/pci-driver.c:22:
include/linux/pci-tsm.h: In function 'is_pci_tsm_pf0':
>> include/linux/pci-tsm.h:190:27: error: 'struct pci_dev' has no member named 'ide_cap'; did you mean 'devcap'?
190 | if (pdev->ide_cap || (pdev->devcap & PCI_EXP_DEVCAP_TEE))
| ^~~~~~~
| devcap
vim +190 include/linux/pci-tsm.h
f224c20c3d7613 Dan Williams 2026-03-02 166
3225f52cde56f4 Dan Williams 2025-10-31 167 /* physical function0 and capable of 'connect' */
3225f52cde56f4 Dan Williams 2025-10-31 168 static inline bool is_pci_tsm_pf0(struct pci_dev *pdev)
3225f52cde56f4 Dan Williams 2025-10-31 169 {
3225f52cde56f4 Dan Williams 2025-10-31 170 if (!pdev)
3225f52cde56f4 Dan Williams 2025-10-31 171 return false;
3225f52cde56f4 Dan Williams 2025-10-31 172
3225f52cde56f4 Dan Williams 2025-10-31 173 if (!pci_is_pcie(pdev))
3225f52cde56f4 Dan Williams 2025-10-31 174 return false;
3225f52cde56f4 Dan Williams 2025-10-31 175
3225f52cde56f4 Dan Williams 2025-10-31 176 if (pdev->is_virtfn)
3225f52cde56f4 Dan Williams 2025-10-31 177 return false;
3225f52cde56f4 Dan Williams 2025-10-31 178
3225f52cde56f4 Dan Williams 2025-10-31 179 /*
3225f52cde56f4 Dan Williams 2025-10-31 180 * Allow for a Device Security Manager (DSM) associated with function0
3225f52cde56f4 Dan Williams 2025-10-31 181 * of an Endpoint to coordinate TDISP requests for other functions
3225f52cde56f4 Dan Williams 2025-10-31 182 * (physical or virtual) of the device, or allow for an Upstream Port
3225f52cde56f4 Dan Williams 2025-10-31 183 * DSM to accept TDISP requests for the Endpoints downstream of the
3225f52cde56f4 Dan Williams 2025-10-31 184 * switch.
3225f52cde56f4 Dan Williams 2025-10-31 185 */
3225f52cde56f4 Dan Williams 2025-10-31 186 switch (pci_pcie_type(pdev)) {
3225f52cde56f4 Dan Williams 2025-10-31 187 case PCI_EXP_TYPE_ENDPOINT:
3225f52cde56f4 Dan Williams 2025-10-31 188 case PCI_EXP_TYPE_UPSTREAM:
3225f52cde56f4 Dan Williams 2025-10-31 189 case PCI_EXP_TYPE_RC_END:
3225f52cde56f4 Dan Williams 2025-10-31 @190 if (pdev->ide_cap || (pdev->devcap & PCI_EXP_DEVCAP_TEE))
3225f52cde56f4 Dan Williams 2025-10-31 191 break;
3225f52cde56f4 Dan Williams 2025-10-31 192 fallthrough;
3225f52cde56f4 Dan Williams 2025-10-31 193 default:
3225f52cde56f4 Dan Williams 2025-10-31 194 return false;
3225f52cde56f4 Dan Williams 2025-10-31 195 }
3225f52cde56f4 Dan Williams 2025-10-31 196
3225f52cde56f4 Dan Williams 2025-10-31 197 return PCI_FUNC(pdev->devfn) == 0;
3225f52cde56f4 Dan Williams 2025-10-31 198 }
3225f52cde56f4 Dan Williams 2025-10-31 199
:::::: The code at line 190 was first introduced by commit
:::::: 3225f52cde56f46789a4972d3c54df8a4d75f022 PCI/TSM: Establish Secure Sessions and Link Encryption
:::::: TO: Dan Williams <dan.j.williams@intel.com>
:::::: CC: Dan Williams <dan.j.williams@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 3:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 3:06 [devsec-tsm:devsec-phase2 13/24] include/linux/pci-tsm.h:190:27: error: 'struct pci_dev' has no member named 'ide_cap'; did you mean 'devcap'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.