From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v6 13/15] media: ipu3-cio2: Defer probing until the PMIC is fully setup
Date: Fri, 26 Nov 2021 05:31:21 +0800 [thread overview]
Message-ID: <202111260530.KpKC5Rrw-lkp@intel.com> (raw)
In-Reply-To: <20211125165412.535063-14-hdegoede@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 3249 bytes --]
Hi Hans,
I love your patch! Perhaps something to improve:
[auto build test WARNING on media-tree/master]
[also build test WARNING on wsa/i2c/for-next broonie-regulator/for-next linus/master v5.16-rc2 next-20211125]
[cannot apply to clk/clk-next]
[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]
url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/Add-support-for-X86-ACPI-camera-sensor-PMIC-setup-with-clk-and-regulator-platform-data/20211126-005917
base: git://linuxtv.org/media_tree.git master
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20211126/202111260530.KpKC5Rrw-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/e5cd2c79411cf24a2cabc5c7d2a222c1a3557460
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hans-de-Goede/Add-support-for-X86-ACPI-camera-sensor-PMIC-setup-with-clk-and-regulator-platform-data/20211126-005917
git checkout e5cd2c79411cf24a2cabc5c7d2a222c1a3557460
# save the config file to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/pci/intel/ipu3/cio2-bridge.c:321:5: warning: no previous prototype for 'cio2_bridge_sensors_are_ready' [-Wmissing-prototypes]
321 | int cio2_bridge_sensors_are_ready(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/cio2_bridge_sensors_are_ready +321 drivers/media/pci/intel/ipu3/cio2-bridge.c
308
309 /*
310 * The VCM cannot be probed until the PMIC is completely setup. We cannot rely
311 * on -EPROBE_DEFER for this, since the consumer<->supplier relations between
312 * the VCM and regulators/clks are not described in ACPI, instead they are
313 * passed as board-data to the PMIC drivers. Since -PROBE_DEFER does not work
314 * for the clks/regulators the VCM i2c-clients must not be instantiated until
315 * the PMIC is fully setup.
316 *
317 * The sensor/VCM ACPI device has an ACPI _DEP on the PMIC, check this using the
318 * acpi_dev_ready_for_enumeration() helper, like the i2c-core-acpi code does
319 * for the sensors.
320 */
> 321 int cio2_bridge_sensors_are_ready(void)
322 {
323 struct acpi_device *adev;
324 bool ready = true;
325 unsigned int i;
326
327 for (i = 0; i < ARRAY_SIZE(cio2_supported_sensors); i++) {
328 const struct cio2_sensor_config *cfg =
329 &cio2_supported_sensors[i];
330
331 for_each_acpi_dev_match(adev, cfg->hid, NULL, -1) {
332 if (!adev->status.enabled)
333 continue;
334
335 if (!acpi_dev_ready_for_enumeration(adev))
336 ready = false;
337 }
338 }
339
340 return ready;
341 }
342
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Hans de Goede <hdegoede@redhat.com>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
Mark Gross <markgross@kernel.org>,
Andy Shevchenko <andy@infradead.org>,
Wolfram Sang <wsa-dev@sang-engineering.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Daniel Scally <djrscally@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Cc: kbuild-all@lists.01.org, linux-media@vger.kernel.org
Subject: Re: [PATCH v6 13/15] media: ipu3-cio2: Defer probing until the PMIC is fully setup
Date: Fri, 26 Nov 2021 05:31:21 +0800 [thread overview]
Message-ID: <202111260530.KpKC5Rrw-lkp@intel.com> (raw)
In-Reply-To: <20211125165412.535063-14-hdegoede@redhat.com>
Hi Hans,
I love your patch! Perhaps something to improve:
[auto build test WARNING on media-tree/master]
[also build test WARNING on wsa/i2c/for-next broonie-regulator/for-next linus/master v5.16-rc2 next-20211125]
[cannot apply to clk/clk-next]
[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]
url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/Add-support-for-X86-ACPI-camera-sensor-PMIC-setup-with-clk-and-regulator-platform-data/20211126-005917
base: git://linuxtv.org/media_tree.git master
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20211126/202111260530.KpKC5Rrw-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/e5cd2c79411cf24a2cabc5c7d2a222c1a3557460
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Hans-de-Goede/Add-support-for-X86-ACPI-camera-sensor-PMIC-setup-with-clk-and-regulator-platform-data/20211126-005917
git checkout e5cd2c79411cf24a2cabc5c7d2a222c1a3557460
# save the config file to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/pci/intel/ipu3/cio2-bridge.c:321:5: warning: no previous prototype for 'cio2_bridge_sensors_are_ready' [-Wmissing-prototypes]
321 | int cio2_bridge_sensors_are_ready(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/cio2_bridge_sensors_are_ready +321 drivers/media/pci/intel/ipu3/cio2-bridge.c
308
309 /*
310 * The VCM cannot be probed until the PMIC is completely setup. We cannot rely
311 * on -EPROBE_DEFER for this, since the consumer<->supplier relations between
312 * the VCM and regulators/clks are not described in ACPI, instead they are
313 * passed as board-data to the PMIC drivers. Since -PROBE_DEFER does not work
314 * for the clks/regulators the VCM i2c-clients must not be instantiated until
315 * the PMIC is fully setup.
316 *
317 * The sensor/VCM ACPI device has an ACPI _DEP on the PMIC, check this using the
318 * acpi_dev_ready_for_enumeration() helper, like the i2c-core-acpi code does
319 * for the sensors.
320 */
> 321 int cio2_bridge_sensors_are_ready(void)
322 {
323 struct acpi_device *adev;
324 bool ready = true;
325 unsigned int i;
326
327 for (i = 0; i < ARRAY_SIZE(cio2_supported_sensors); i++) {
328 const struct cio2_sensor_config *cfg =
329 &cio2_supported_sensors[i];
330
331 for_each_acpi_dev_match(adev, cfg->hid, NULL, -1) {
332 if (!adev->status.enabled)
333 continue;
334
335 if (!acpi_dev_ready_for_enumeration(adev))
336 ready = false;
337 }
338 }
339
340 return ready;
341 }
342
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2021-11-25 21:31 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 16:53 [PATCH v6 00/15] Add support for X86/ACPI camera sensor/PMIC setup with clk and regulator platform data Hans de Goede
2021-11-25 16:53 ` [PATCH v6 01/15] ACPI: delay enumeration of devices with a _DEP pointing to an INT3472 device Hans de Goede
2021-11-25 16:53 ` [PATCH v6 02/15] i2c: acpi: Use acpi_dev_ready_for_enumeration() helper Hans de Goede
2021-11-26 7:16 ` Mika Westerberg
2021-11-25 16:54 ` [PATCH v6 03/15] i2c: acpi: Add i2c_acpi_new_device_by_fwnode() function Hans de Goede
2021-11-25 17:22 ` Andy Shevchenko
2021-11-26 11:19 ` Hans de Goede
2021-11-26 7:18 ` Mika Westerberg
2021-11-27 22:49 ` Wolfram Sang
2021-11-25 16:54 ` [PATCH v6 04/15] platform_data: Add linux/platform_data/tps68470.h file Hans de Goede
2021-11-25 16:54 ` [PATCH v6 05/15] regulator: Introduce tps68470-regulator driver Hans de Goede
2021-11-25 23:32 ` Laurent Pinchart
2021-11-26 11:22 ` Hans de Goede
2021-11-27 23:38 ` Laurent Pinchart
2021-11-29 12:08 ` Mark Brown
2021-11-29 15:35 ` Laurent Pinchart
2021-11-25 16:54 ` [PATCH v6 06/15] clk: Introduce clk-tps68470 driver Hans de Goede
2021-11-25 16:54 ` [PATCH v6 07/15] platform/x86: int3472: Enable I2c daisy chain Hans de Goede
2021-11-25 23:39 ` Laurent Pinchart
2021-11-26 11:30 ` Hans de Goede
2021-11-26 11:39 ` Daniel Scally
2021-11-26 11:45 ` Hans de Goede
2021-11-26 11:56 ` Daniel Scally
2021-12-03 10:21 ` Hans de Goede
2021-11-25 16:54 ` [PATCH v6 08/15] platform/x86: int3472: Split into 2 drivers Hans de Goede
2021-11-25 16:54 ` [PATCH v6 09/15] platform/x86: int3472: Add get_sensor_adev_and_name() helper Hans de Goede
2021-11-25 16:54 ` [PATCH v6 10/15] platform/x86: int3472: Pass tps68470_clk_platform_data to the tps68470-regulator MFD-cell Hans de Goede
2021-11-25 16:54 ` [PATCH v6 11/15] platform/x86: int3472: Pass tps68470_regulator_platform_data " Hans de Goede
2021-11-25 16:54 ` [PATCH v6 12/15] platform/x86: int3472: Deal with probe ordering issues Hans de Goede
2021-11-25 16:54 ` [PATCH v6 13/15] media: ipu3-cio2: Defer probing until the PMIC is fully setup Hans de Goede
2021-11-25 21:31 ` kernel test robot [this message]
2021-11-25 21:31 ` kernel test robot
2021-11-26 11:01 ` Hans de Goede
2021-11-26 11:01 ` Hans de Goede
2021-11-25 16:54 ` [PATCH v6 14/15] media: ipu3-cio2: Call cio2_bridge_init() before anything else Hans de Goede
2021-11-25 16:54 ` [PATCH v6 15/15] media: ipu3-cio2: Add support for instantiating i2c-clients for VCMs Hans de Goede
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=202111260530.KpKC5Rrw-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.