From: kernel test robot <lkp@intel.com>
To: Kevin Hilman <khilman@baylibre.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 1/3] pmdomain: ti_sci: add per-device latency constraint management
Date: Tue, 20 Aug 2024 18:27:22 +0800 [thread overview]
Message-ID: <202408201832.dBeZprIs-lkp@intel.com> (raw)
In-Reply-To: <20240819-lpm-v6-10-constraints-pmdomain-v2-1-461325a6008f@baylibre.com>
Hi Kevin,
kernel test robot noticed the following build errors:
[auto build test ERROR on ad7eb1b6b92ee0c959a0a6ae846ddadd7a79ea64]
url: https://github.com/intel-lab-lkp/linux/commits/Kevin-Hilman/pmdomain-ti_sci-add-per-device-latency-constraint-management/20240820-080207
base: ad7eb1b6b92ee0c959a0a6ae846ddadd7a79ea64
patch link: https://lore.kernel.org/r/20240819-lpm-v6-10-constraints-pmdomain-v2-1-461325a6008f%40baylibre.com
patch subject: [PATCH v2 1/3] pmdomain: ti_sci: add per-device latency constraint management
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240820/202408201832.dBeZprIs-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240820/202408201832.dBeZprIs-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/202408201832.dBeZprIs-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pmdomain/ti/ti_sci_pm_domains.c:68:20: error: no member named 'pm_ops' in 'struct ti_sci_ops'
ret = ti_sci->ops.pm_ops.set_latency_constraint(ti_sci, val, TISCI_MSG_CONSTRAINT_SET);
~~~~~~~~~~~ ^
>> drivers/pmdomain/ti/ti_sci_pm_domains.c:68:63: error: use of undeclared identifier 'TISCI_MSG_CONSTRAINT_SET'
ret = ti_sci->ops.pm_ops.set_latency_constraint(ti_sci, val, TISCI_MSG_CONSTRAINT_SET);
^
drivers/pmdomain/ti/ti_sci_pm_domains.c:236:34: error: no member named 'pm_ops' in 'struct ti_sci_ops'
if (pd_provider->ti_sci->ops.pm_ops.set_device_constraint &&
~~~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/pmdomain/ti/ti_sci_pm_domains.c:237:34: error: no member named 'pm_ops' in 'struct ti_sci_ops'
pd_provider->ti_sci->ops.pm_ops.set_latency_constraint)
~~~~~~~~~~~~~~~~~~~~~~~~ ^
4 errors generated.
vim +68 drivers/pmdomain/ti/ti_sci_pm_domains.c
60
61 static int ti_sci_pd_set_lat_constraint(struct device *dev, s32 val)
62 {
63 struct generic_pm_domain *genpd = pd_to_genpd(dev->pm_domain);
64 struct ti_sci_pm_domain *pd = genpd_to_ti_sci_pd(genpd);
65 const struct ti_sci_handle *ti_sci = pd->parent->ti_sci;
66 int ret;
67
> 68 ret = ti_sci->ops.pm_ops.set_latency_constraint(ti_sci, val, TISCI_MSG_CONSTRAINT_SET);
69 if (ret)
70 dev_err(dev, "ti_sci_pd: set latency constraint failed: ret=%d\n",
71 ret);
72 else
73 dev_dbg(dev, "ti_sci_pd: ID:%d set latency constraint %d\n",
74 pd->idx, val);
75
76 return ret;
77 }
78
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-20 10:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-20 0:00 [PATCH v2 0/3] pmdomain: ti_sci: collect and send low-power mode constraints Kevin Hilman
2024-08-20 0:00 ` [PATCH v2 1/3] pmdomain: ti_sci: add per-device latency constraint management Kevin Hilman
2024-08-20 9:04 ` kernel test robot
2024-08-20 10:27 ` kernel test robot [this message]
2024-09-05 11:30 ` Ulf Hansson
2024-09-05 21:57 ` Kevin Hilman
2024-08-20 0:00 ` [PATCH v2 2/3] pmdomain: ti_sci: add wakeup " Kevin Hilman
2024-09-05 11:31 ` Ulf Hansson
2024-09-05 21:58 ` Kevin Hilman
2024-08-20 0:00 ` [PATCH v2 3/3] pmdomain: ti_sci: handle wake IRQs for IO daisy chain wakeups Kevin Hilman
2024-08-20 10:07 ` [PATCH v2 0/3] pmdomain: ti_sci: collect and send low-power mode constraints Dhruva Gole
2024-09-05 11:38 ` Ulf Hansson
2024-09-05 22:07 ` Kevin Hilman
2024-09-06 9:00 ` Ulf Hansson
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=202408201832.dBeZprIs-lkp@intel.com \
--to=lkp@intel.com \
--cc=khilman@baylibre.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.