[PATCH 4/5] i3c: mipi-i3c-hci: Add a quirk to set timing parameters

kernel test robot lkp at intel.com
Tue Jul 23 19:41:42 PDT 2024


Hi Shyam,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.10 next-20240723]
[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/Shyam-Sundar-S-K/i3c-mipi-i3c-hci-Add-MIPI0100-ACPI-ID-to-the-I3C-Support-List/20240724-013958
base:   linus/master
patch link:    https://lore.kernel.org/r/20240723173538.3493935-5-Shyam-sundar.S-k%40amd.com
patch subject: [PATCH 4/5] i3c: mipi-i3c-hci: Add a quirk to set timing parameters
config: arm-randconfig-004-20240724 (https://download.01.org/0day-ci/archive/20240724/202407241020.dsJauFym-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407241020.dsJauFym-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407241020.dsJauFym-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/i3c/master/mipi-i3c-hci/hci_quirks.c: In function 'amd_i3c_hci_quirks_init':
>> drivers/i3c/master/mipi-i3c-hci/hci_quirks.c:25:13: error: 'boot_cpu_data' undeclared (first use in this function)
      25 |         if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
         |             ^~~~~~~~~~~~~
   drivers/i3c/master/mipi-i3c-hci/hci_quirks.c:25:13: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/i3c/master/mipi-i3c-hci/hci_quirks.c:25:41: error: 'X86_VENDOR_AMD' undeclared (first use in this function); did you mean 'X86_VENDOR_ANY'?
      25 |         if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
         |                                         ^~~~~~~~~~~~~~
         |                                         X86_VENDOR_ANY


vim +/boot_cpu_data +25 drivers/i3c/master/mipi-i3c-hci/hci_quirks.c

    22	
    23	void amd_i3c_hci_quirks_init(struct i3c_hci *hci)
    24	{
  > 25		if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
    26			hci->quirks |= HCI_QUIRK_AMD_PIO_MODE;
    27			hci->quirks |= HCI_QUIRK_AMD_OD_PP_TIMING;
    28		}
    29	}
    30	

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



More information about the linux-i3c mailing list