oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rakesh Babu Saladi <rsaladi2@marvell.com>,
	mark.rutland@arm.com, lpieralisi@kernel.org,
	sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, sgoutham@marvell.com,
	gcherian@marvell.com, naveenm@marvell.com
Cc: oe-kbuild-all@lists.linux.dev, Rakesh Babu Saladi <rsaladi2@marvell.com>
Subject: Re: [PATCH] arm64: smccc: Add trace events to SMC calls.
Date: Sun, 5 Mar 2023 01:38:29 +0800	[thread overview]
Message-ID: <202303050132.lgJCOelW-lkp@intel.com> (raw)
In-Reply-To: <20230304125850.32687-1-rsaladi2@marvell.com>

Hi Rakesh,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/timers/core]
[also build test ERROR on arm/for-next arm/fixes arm64/for-next/core kvmarm/next soc/for-next xilinx-xlnx/master linus/master v6.2 next-20230303]
[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/Rakesh-Babu-Saladi/arm64-smccc-Add-trace-events-to-SMC-calls/20230304-210103
patch link:    https://lore.kernel.org/r/20230304125850.32687-1-rsaladi2%40marvell.com
patch subject: [PATCH] arm64: smccc: Add trace events to SMC calls.
config: parisc-buildonly-randconfig-r003-20230302 (https://download.01.org/0day-ci/archive/20230305/202303050132.lgJCOelW-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.1.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
        # https://github.com/intel-lab-lkp/linux/commit/ebdc6e981b26c56978d65ad39d650fd2a7862d1a
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Rakesh-Babu-Saladi/arm64-smccc-Add-trace-events-to-SMC-calls/20230304-210103
        git checkout ebdc6e981b26c56978d65ad39d650fd2a7862d1a
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303050132.lgJCOelW-lkp@intel.com/

All errors (new ones prefixed by >>):

   hppa-linux-ld: drivers/usb/host/ohci-at91.o: in function `ohci_at91_port_suspend.isra.0':
>> drivers/usb/host/ohci-at91.c:332: undefined reference to `arm_smccc_smc'
   hppa-linux-ld: drivers/memory/mtk-smi.o: in function `mtk_smi_larb_config_port_gen2_general':
   drivers/memory/mtk-smi.c:269: undefined reference to `arm_smccc_smc'
   hppa-linux-ld: drivers/firmware/qcom_scm-legacy.o: in function `scm_legacy_call':
   drivers/firmware/qcom_scm-legacy.c:114: undefined reference to `arm_smccc_smc'
   hppa-linux-ld: drivers/firmware/qcom_scm-legacy.o: in function `scm_legacy_call_atomic':
   drivers/firmware/qcom_scm-legacy.c:234: undefined reference to `arm_smccc_smc'


vim +332 drivers/usb/host/ohci-at91.c

aa6e52a35d388e Thomas Petazzoni 2011-07-13  322  
1e073e3ed9ff9e Clément Léger    2022-06-07  323  static int ohci_at91_port_suspend(struct ohci_at91_priv *ohci_at91, u8 set)
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  324  {
1e073e3ed9ff9e Clément Léger    2022-06-07  325  	struct regmap *regmap = ohci_at91->sfr_regmap;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  326  	u32 regval;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  327  	int ret;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  328  
1e073e3ed9ff9e Clément Léger    2022-06-07  329  	if (ohci_at91->suspend_smc_id) {
1e073e3ed9ff9e Clément Léger    2022-06-07  330  		struct arm_smccc_res res;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  331  
1e073e3ed9ff9e Clément Léger    2022-06-07 @332  		arm_smccc_smc(ohci_at91->suspend_smc_id, set, 0, 0, 0, 0, 0, 0, &res);
1e073e3ed9ff9e Clément Léger    2022-06-07  333  		if (res.a0)
1e073e3ed9ff9e Clément Léger    2022-06-07  334  			return -EINVAL;
1e073e3ed9ff9e Clément Léger    2022-06-07  335  	} else if (regmap) {
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  336  		ret = regmap_read(regmap, AT91_SFR_OHCIICR, &regval);
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  337  		if (ret)
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  338  			return ret;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  339  
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  340  		if (set)
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  341  			regval |= AT91_OHCIICR_USB_SUSPEND;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  342  		else
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  343  			regval &= ~AT91_OHCIICR_USB_SUSPEND;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  344  
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  345  		regmap_write(regmap, AT91_SFR_OHCIICR, regval);
1e073e3ed9ff9e Clément Léger    2022-06-07  346  	}
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  347  
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  348  	return 0;
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  349  }
2e2aa1bc7eff90 Wenyou Yang      2016-08-23  350  

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

       reply	other threads:[~2023-03-04 17:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230304125850.32687-1-rsaladi2@marvell.com>
2023-03-04 17:38 ` kernel test robot [this message]
2023-03-04 17:38 ` [PATCH] arm64: smccc: Add trace events to SMC calls kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202303050132.lgJCOelW-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gcherian@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=naveenm@marvell.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rsaladi2@marvell.com \
    --cc=sgoutham@marvell.com \
    --cc=sudeep.holla@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).