Hi, > -----Original Message----- > From: kernel test robot <lkp@xxxxxxxxx> > Subject: Re: [PATCH RFC/RFT 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode > > Hi Biju, > > [This is a private test report for your RFC patch.] kernel test robot noticed the following build > errors: > > [auto build test ERROR on linus/master] > [also build test ERROR on ulf-hansson-mmc-mirror/next v6.16-rc4 next-20250630] [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/Biju-Das/mmc-tmio-Add-64-bit-read-write- > support-for-SD_BUF0-in-polling-mode/20250630-161511 > base: linus/master > patch link: https://lore.kernel.org/r/20250630081315.33288-2-biju.das.jz%40bp.renesas.com > patch subject: [PATCH RFC/RFT 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling > mode > config: sh-randconfig-001-20250630 (https://download.01.org/0day- > ci/archive/20250701/202507010308.KUbUR1fM-lkp@xxxxxxxxx/config) > compiler: sh4-linux-gcc (GCC) 15.1.0 > reproduce (this is a W=1 build): (https://download.01.org/0day- > ci/archive/20250701/202507010308.KUbUR1fM-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/202507010308.KUbUR1fM-lkp@intel. > | com/ > > All errors (new ones prefixed by >>): > > In file included from drivers/mmc/host/renesas_sdhi.h:15, > from drivers/mmc/host/renesas_sdhi_sys_dmac.c:25: > drivers/mmc/host/tmio_mmc.h: In function 'sd_ctrl_read64_rep': > >> drivers/mmc/host/tmio_mmc.h:248:9: error: implicit declaration of > >> function 'ioread64_rep'; did you mean 'ioread32_rep'? > >> [-Wimplicit-function-declaration] > 248 | ioread64_rep(host->ctl + (addr << host->bus_shift), buf, count); > | ^~~~~~~~~~~~ > | ioread32_rep > drivers/mmc/host/tmio_mmc.h: In function 'sd_ctrl_write64_rep': > >> drivers/mmc/host/tmio_mmc.h:254:9: error: implicit declaration of > >> function 'iowrite64_rep'; did you mean 'iowrite32_rep'? > >> [-Wimplicit-function-declaration] > 254 | iowrite64_rep(host->ctl + (addr << host->bus_shift), buf, count); > | ^~~~~~~~~~~~~ > | iowrite32_rep > > > vim +248 drivers/mmc/host/tmio_mmc.h > > 244 > 245 static inline void sd_ctrl_read64_rep(struct tmio_mmc_host *host, int addr, > 246 u64 *buf, int count) > 247 { > > 248 ioread64_rep(host->ctl + (addr << host->bus_shift), buf, count); > 249 } > 250 > 251 static inline void sd_ctrl_write64_rep(struct tmio_mmc_host *host, int addr, > 252 const u64 *buf, int count) > 253 { > > 254 iowrite64_rep(host->ctl + (addr << host->bus_shift), buf, count); > 255 } > 256 Maybe I can guard these functions/caller using CONFIG_ARM64 as it is applicable only to GEN3 Platforms. Similar issue seen on [1]?? [1] https://lkml.iu.edu/hypermail/linux/kernel/2209.2/04657.html Cheers, Biju > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki