From: kernel test robot <lkp@intel.com>
To: Xu Yang <xu.yang_2@nxp.com>,
gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de,
kernel@pengutronix.de, festevam@gmail.com, peter.chen@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-usb@vger.kernel.org,
devicetree@vger.kernel.org, imx@lists.linux.dev, jun.li@nxp.com
Subject: Re: [PATCH v2 4/6] usb: chipidea: imx: add wakeup interrupt handling
Date: Wed, 26 Feb 2025 15:16:42 +0800 [thread overview]
Message-ID: <202502261559.XexYUCXi-lkp@intel.com> (raw)
In-Reply-To: <20250225053955.3781831-5-xu.yang_2@nxp.com>
Hi Xu,
kernel test robot noticed the following build errors:
[auto build test ERROR on shawnguo/for-next]
[also build test ERROR on tty/tty-testing tty/tty-next tty/tty-linus linus/master v6.14-rc4 next-20250225]
[cannot apply to usb/usb-testing usb/usb-next usb/usb-linus]
[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/Xu-Yang/dt-bindings-usb-chipidea-Add-i-MX95-compatible-string-fsl-imx95-usb/20250225-134215
base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
patch link: https://lore.kernel.org/r/20250225053955.3781831-5-xu.yang_2%40nxp.com
patch subject: [PATCH v2 4/6] usb: chipidea: imx: add wakeup interrupt handling
config: x86_64-buildonly-randconfig-003-20250226 (https://download.01.org/0day-ci/archive/20250226/202502261559.XexYUCXi-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250226/202502261559.XexYUCXi-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502261559.XexYUCXi-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/usb/chipidea/ci_hdrc_imx.c: In function 'imx_controller_resume':
>> drivers/usb/chipidea/ci_hdrc_imx.c:633:14: error: implicit declaration of function 'irqd_irq_disabled'; did you mean 'arch_irqs_disabled'? [-Werror=implicit-function-declaration]
633 | if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
| ^~~~~~~~~~~~~~~~~
| arch_irqs_disabled
>> drivers/usb/chipidea/ci_hdrc_imx.c:633:32: error: implicit declaration of function 'irq_get_irq_data'; did you mean 'irq_set_irq_wake'? [-Werror=implicit-function-declaration]
633 | if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
| ^~~~~~~~~~~~~~~~
| irq_set_irq_wake
cc1: some warnings being treated as errors
vim +633 drivers/usb/chipidea/ci_hdrc_imx.c
616
617 static int imx_controller_resume(struct device *dev,
618 pm_message_t msg)
619 {
620 struct ci_hdrc_imx_data *data = dev_get_drvdata(dev);
621 int ret = 0;
622
623 dev_dbg(dev, "at %s\n", __func__);
624
625 if (!data->in_lpm) {
626 WARN_ON(1);
627 return 0;
628 }
629
630 if (data->plat_data->flags & CI_HDRC_PMQOS)
631 cpu_latency_qos_add_request(&data->pm_qos_req, 0);
632
> 633 if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
634 disable_irq_nosync(data->wakeup_irq);
635
636 ret = imx_prepare_enable_clks(dev);
637 if (ret)
638 return ret;
639
640 data->in_lpm = false;
641
642 ret = imx_usbmisc_resume(data->usbmisc_data,
643 PMSG_IS_AUTO(msg) || device_may_wakeup(dev));
644 if (ret) {
645 dev_err(dev, "usbmisc resume failed, ret=%d\n", ret);
646 goto clk_disable;
647 }
648
649 return 0;
650
651 clk_disable:
652 imx_disable_unprepare_clks(dev);
653 return ret;
654 }
655
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-02-26 7:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-25 5:39 [PATCH v2 0/6] add USB2.0 support for i.MX95-19x19 EVK board Xu Yang
2025-02-25 5:39 ` [PATCH v2 1/6] dt-bindings: usb: chipidea: Add i.MX95 compatible string 'fsl,imx95-usb' Xu Yang
2025-02-25 15:54 ` Rob Herring (Arm)
2025-02-25 5:39 ` [PATCH v2 2/6] dt-bindings: usb: usbmisc-imx: add support for i.MX95 platform Xu Yang
2025-02-25 15:54 ` Rob Herring (Arm)
2025-02-25 5:39 ` [PATCH v2 3/6] usb: chipidea: imx: add HSIO Block Control wakeup setting Xu Yang
2025-02-27 3:15 ` Peter Chen
2025-02-27 6:32 ` Xu Yang
2025-02-27 9:41 ` Xu Yang
2025-02-25 5:39 ` [PATCH v2 4/6] usb: chipidea: imx: add wakeup interrupt handling Xu Yang
2025-02-26 7:16 ` kernel test robot [this message]
2025-02-27 3:25 ` Peter Chen
2025-02-27 6:34 ` Xu Yang
2025-02-25 5:39 ` [PATCH v2 5/6] arm64: dts: imx95: add USB2.0 nodes Xu Yang
2025-02-25 5:39 ` [PATCH v2 6/6] arm64: dts: imx95-19x19-evk: enable USB2.0 node Xu Yang
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=202502261559.XexYUCXi-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=jun.li@nxp.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peter.chen@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=xu.yang_2@nxp.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