tree:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: e76cd2a01c4f01c314e5e1518ca6f1addb014e2b
commit: 41e5c46849b596ecedd275262201da72658bfe2d [10177/10184] net: ethernet: ti:
icss-iep: Add support for generating perout/PPS signal for am57xx variant
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 41e5c46849b596ecedd275262201da72658bfe2d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/net/ethernet/ti/icss_iep.c:511:13: warning: no previous
prototype for 'icss_iep_cap_cmp_handler' [-Wmissing-prototypes]
511 |
irqreturn_t icss_iep_cap_cmp_handler(int irq, void *dev_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~
git remote add ti
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 41e5c46849b596ecedd275262201da72658bfe2d
vim +/icss_iep_cap_cmp_handler +511 drivers/net/ethernet/ti/icss_iep.c
510
511 irqreturn_t icss_iep_cap_cmp_handler(int irq, void *dev_id)
512 {
513 struct icss_iep *iep = (struct icss_iep *)dev_id;
514 struct ptp_clock_event pevent;
515 unsigned int val, index = 0;
516 u64 ns;
517
518 regmap_read(iep->map, ICSS_IEP_CMP_STAT_REG, &val);
519 if (val & BIT(CMP_INDEX(index))) {
520 regmap_write(iep->map, ICSS_IEP_CMP_STAT_REG, BIT(CMP_INDEX(index)));
521 regmap_read(iep->map, ICSS_IEP_CMP1_REG0, &val);
522 ns = val;
523 regmap_read(iep->map, ICSS_IEP_CMP1_REG1, &val);
524 ns |= (u64)val << 32;
525 icss_iep_update_to_next_boundary(iep);
526
527 pevent.pps_times.ts_real = ns_to_timespec64(ns);
528 pevent.type = PTP_CLOCK_PPSUSR;
529 pevent.index = index;
530 ptp_clock_event(iep->ptp_clock, &pevent);
531 dev_dbg(iep->dev, "IEP:pps ts: %llu\n", ns);
532 }
533
534 return IRQ_HANDLED;
535 }
536
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org