All of lore.kernel.org
 help / color / mirror / Atom feed
* [char-misc:char-misc-testing 39/83] drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
@ 2020-03-18 18:30 kbuild test robot
  2020-03-19  6:40 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2020-03-18 18:30 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3232 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head:   3a371debecc5a16e2f9c0d9de6ffc75c17f7e88b
commit: 04c11b3697c64974301ad375f7a2953ee4f4a11a [39/83] firmware: xilinx: Use APIs instead of IOCTLs
config: arm-randconfig-a001-20200318 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 04c11b3697c64974301ad375f7a2953ee4f4a11a
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sdcardclk_set_phase':
>> drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
   arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sampleclk_set_phase':
   drivers/mmc/host/sdhci-of-arasan.c:736: undefined reference to `zynqmp_pm_set_sd_tapdelay'

vim +668 drivers/mmc/host/sdhci-of-arasan.c

   622	
   623	{
   624		struct sdhci_arasan_clk_data *clk_data =
   625			container_of(hw, struct sdhci_arasan_clk_data, sdcardclk_hw);
   626		struct sdhci_arasan_data *sdhci_arasan =
   627			container_of(clk_data, struct sdhci_arasan_data, clk_data);
   628		struct sdhci_host *host = sdhci_arasan->host;
   629		const char *clk_name = clk_hw_get_name(hw);
   630		u32 node_id = !strcmp(clk_name, "clk_out_sd0") ? NODE_SD_0 : NODE_SD_1;
   631		u8 tap_delay, tap_max = 0;
   632		int ret;
   633	
   634		/*
   635		 * This is applicable for SDHCI_SPEC_300 and above
   636		 * ZynqMP does not set phase for <=25MHz clock.
   637		 * If degrees is zero, no need to do anything.
   638		 */
   639		if (host->version < SDHCI_SPEC_300 ||
   640		    host->timing == MMC_TIMING_LEGACY ||
   641		    host->timing == MMC_TIMING_UHS_SDR12 || !degrees)
   642			return 0;
   643	
   644		switch (host->timing) {
   645		case MMC_TIMING_MMC_HS:
   646		case MMC_TIMING_SD_HS:
   647		case MMC_TIMING_UHS_SDR25:
   648		case MMC_TIMING_UHS_DDR50:
   649		case MMC_TIMING_MMC_DDR52:
   650			/* For 50MHz clock, 30 Taps are available */
   651			tap_max = 30;
   652			break;
   653		case MMC_TIMING_UHS_SDR50:
   654			/* For 100MHz clock, 15 Taps are available */
   655			tap_max = 15;
   656			break;
   657		case MMC_TIMING_UHS_SDR104:
   658		case MMC_TIMING_MMC_HS200:
   659			/* For 200MHz clock, 8 Taps are available */
   660			tap_max = 8;
   661		default:
   662			break;
   663		}
   664	
   665		tap_delay = (degrees * tap_max) / 360;
   666	
   667		/* Set the Clock Phase */
 > 668		ret = zynqmp_pm_set_sd_tapdelay(node_id, PM_TAPDELAY_OUTPUT, tap_delay);
   669		if (ret)
   670			pr_err("Error setting Output Tap Delay\n");
   671	
   672		return ret;
   673	}
   674	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32169 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [char-misc:char-misc-testing 39/83] drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
  2020-03-18 18:30 [char-misc:char-misc-testing 39/83] drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay' kbuild test robot
@ 2020-03-19  6:40 ` Greg Kroah-Hartman
  2020-03-19 19:37   ` Jolly Shah
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2020-03-19  6:40 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

On Thu, Mar 19, 2020 at 02:30:09AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
> head:   3a371debecc5a16e2f9c0d9de6ffc75c17f7e88b
> commit: 04c11b3697c64974301ad375f7a2953ee4f4a11a [39/83] firmware: xilinx: Use APIs instead of IOCTLs
> config: arm-randconfig-a001-20200318 (attached as .config)
> compiler: arm-linux-gnueabi-gcc (GCC) 9.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 04c11b3697c64974301ad375f7a2953ee4f4a11a
>         # save the attached .config to linux build tree
>         GCC_VERSION=9.2.0 make.cross ARCH=arm 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sdcardclk_set_phase':
> >> drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
>    arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sampleclk_set_phase':
>    drivers/mmc/host/sdhci-of-arasan.c:736: undefined reference to `zynqmp_pm_set_sd_tapdelay'

Rajan, and Jolly, I'm dropping all of the xilinx patches from my tree
now, as they don't build properly.

Please fix up and resend the whole series.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [char-misc:char-misc-testing 39/83] drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
  2020-03-19  6:40 ` Greg Kroah-Hartman
@ 2020-03-19 19:37   ` Jolly Shah
  0 siblings, 0 replies; 3+ messages in thread
From: Jolly Shah @ 2020-03-19 19:37 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]

Hi Greg,

On 3/18/20, 11:40 PM, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> wrote:

    On Thu, Mar 19, 2020 at 02:30:09AM +0800, kbuild test robot wrote:
    > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
    > head:   3a371debecc5a16e2f9c0d9de6ffc75c17f7e88b
    > commit: 04c11b3697c64974301ad375f7a2953ee4f4a11a [39/83] firmware: xilinx: Use APIs instead of IOCTLs
    > config: arm-randconfig-a001-20200318 (attached as .config)
    > compiler: arm-linux-gnueabi-gcc (GCC) 9.2.0
    > reproduce:
    >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
    >         chmod +x ~/bin/make.cross
    >         git checkout 04c11b3697c64974301ad375f7a2953ee4f4a11a
    >         # save the attached .config to linux build tree
    >         GCC_VERSION=9.2.0 make.cross ARCH=arm 
    > 
    > If you fix the issue, kindly add following tag
    > Reported-by: kbuild test robot <lkp@intel.com>
    > 
    > All errors (new ones prefixed by >>):
    > 
    >    arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sdcardclk_set_phase':
    > >> drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay'
    >    arm-linux-gnueabi-ld: drivers/mmc/host/sdhci-of-arasan.o: in function `sdhci_zynqmp_sampleclk_set_phase':
    >    drivers/mmc/host/sdhci-of-arasan.c:736: undefined reference to `zynqmp_pm_set_sd_tapdelay'
    
    Rajan, and Jolly, I'm dropping all of the xilinx patches from my tree
    now, as they don't build properly.
    
    Please fix up and resend the whole series.

Ok. We will fix it in next version.

Thanks,
Jolly Shah
    
    thanks,
    
    greg k-h
    


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-19 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-18 18:30 [char-misc:char-misc-testing 39/83] drivers/mmc/host/sdhci-of-arasan.c:668: undefined reference to `zynqmp_pm_set_sd_tapdelay' kbuild test robot
2020-03-19  6:40 ` Greg Kroah-Hartman
2020-03-19 19:37   ` Jolly Shah

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.