Failed boards:
cubox multi_v7_defconfig : FAILED 1:37.17 omap5uevm omap2plus_defconfig : FAILED 1:46.03 omap5uevm multi_v7_defconfig : FAILED 1:54.51 omap5uevm multi_lpae_defconfig : FAILED 1:48.83
Successful boards:
apc vt8500_v6_v7_defconfig : passed 1:16.14 arndale exynos_defconfig : passed 1:15.98 arndale multi_v7_defconfig : passed 1:36.24 arndale multi_lpae_defconfig : passed 1:23.90 bbb omap2plus_defconfig : passed 1:36.03 bbb multi_v7_defconfig : passed 1:32.76 beaver tegra_defconfig : passed 1:08.45 beaver multi_v7_defconfig : passed 1:06.70 capri bcm_defconfig : passed 0:38.69 capri multi_v7_defconfig : passed 0:40.83 cubie sunxi_defconfig : passed 1:18.87 cubie multi_v7_defconfig : passed 1:36.90 cubie2 sunxi_defconfig : passed 1:09.06 cubie2 multi_v7_defconfig : passed 1:31.17 cubie2 multi_lpae_defconfig : passed 1:06.40 dalmore tegra_defconfig : passed 1:24.89 dalmore multi_v7_defconfig : passed 1:25.34 dalmore multi_lpae_defconfig : passed 1:30.12 hummingboard imx_v6_v7_defconfig : passed 1:27.48 hummingboard multi_v7_defconfig : passed 1:24.76 jetson tegra_defconfig : passed 1:02.78 jetson multi_v7_defconfig : passed 1:03.22 jetson multi_lpae_defconfig : passed 1:00.86 panda omap2plus_defconfig : warnings 1:39.74 panda multi_v7_defconfig : passed 2:00.94 sama5 sama5_defconfig : passed 1:54.29 seaboard tegra_defconfig : passed 1:08.95 seaboard multi_v7_defconfig : passed 1:14.54 snow exynos_defconfig : passed 1:29.46 snow multi_v7_defconfig : passed 1:30.25 snow multi_lpae_defconfig : passed 1:33.04 snowball u8500_defconfig : passed 2:14.79 snowball multi_v7_defconfig : passed 3:27.73 trimslice tegra_defconfig : passed 1:21.58 trimslice multi_v7_defconfig : passed 1:01.36 wandboard imx_v6_v7_defconfig : passed 1:13.46 wandboard multi_v7_defconfig : passed 1:20.61
Offline boards:
Board legend is available at http://arm-soc.lixom.net/boards.html
Last entries of failed logs below:
========================================================================
Board cubox-multi_v7_defconfig failure log: -------------------------------------------------
[ 1.228459] SPEAr-ehci: EHCI SPEAr driver [ 1.232562] tegra-ehci: Tegra EHCI driver [ 1.236679] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.242854] ohci-pci: OHCI PCI platform driver [ 1.247352] ohci-platform: OHCI generic platform driver [ 1.252654] ohci-omap3: OHCI OMAP3 driver [ 1.256747] SPEAr-ohci: OHCI SPEAr driver [ 1.261452] usbcore: registered new interface driver usb-storage [ 1.268828] mousedev: PS/2 mouse device common for all mice [ 1.275708] rtc-mv f10d8500.real-time-clock: rtc core: registered f10d8500.real-time- as rtc0 [ 1.284959] i2c /dev entries driver [ 1.290911] usbcore: registered new interface driver uvcvideo [ 1.296661] USB Video Class driver (1.1.1) [ 1.300748] gspca_main: v2.14.0 registered [ 1.307811] orion_wdt: Initial timeout 25 sec [ 1.313148] sdhci: Secure Digital Host Controller Interface driver [ 1.319326] sdhci: Copyright(c) Pierre Ossman [ 1.324314] Synopsys Designware Multimedia Card Interface Driver [ 1.330651] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.336996] usbcore: registered new interface driver usbhid [ 1.342557] usbhid: USB HID core driver [ 1.347387] ata1: SATA link down (SStatus 0 SControl F300) [ 1.355404] TCP: cubic registered [ 1.358750] NET: Registered protocol family 17 [ 1.363203] can: controller area network core (rev 20120528 abi 9) [ 1.369436] NET: Registered protocol family 29 [ 1.373867] can: raw protocol (rev 20120528) [ 1.378112] can: broadcast manager protocol (rev 20120528 t) [ 1.383765] can: netlink gateway (rev 20130117) max_hops=1 [ 1.389630] Key type dns_resolver registered [ 1.394081] ThumbEE CPU extension supported. [ 1.398355] Registering SWP/SWPB emulation handler [ 1.403118] PJ4 iWMMXt v2 coprocessor enabled. [ 1.408651] USB Power: 5000 mV [ 1.412152] rtc-mv f10d8500.real-time-clock: setting system clock to 2014-06-04 00:30:46 UTC (1401841846) [ 1.422619] ALSA device list: [ 1.425594] No soundcards found. [ 1.429522] Waiting for root device /dev/mmcblk0p2... ~$off # PYBOOT: Exception: timeout
========================================================================
Board omap5uevm-multi_lpae_defconfig failure log: -------------------------------------------------
[ 47.633787] NET: Registered protocol family 17 [ 47.633799] can: controller area network core (rev 20120528 abi 9) [ 47.633846] NET: Registered protocol family 29 [ 47.633849] can: raw protocol (rev 20120528) [ 47.633852] can: broadcast manager protocol (rev 20120528 t) [ 47.633858] can: netlink gateway (rev 20130117) max_hops=1 [ 47.634148] Key type dns_resolver registered [ 47.634216] omap_vc_init_channel: No PMIC info for vdd_core [ 47.634219] omap_vp_init: No PMIC info for vdd_core [ 47.634222] omap_vc_init_channel: No PMIC info for vdd_mm [ 47.634225] omap_vp_init: No PMIC info for vdd_mm [ 47.634228] omap_vc_init_channel: No PMIC info for vdd_mpu [ 47.634230] omap_vp_init: No PMIC info for vdd_mpu [ 47.634530] ThumbEE CPU extension supported. [ 47.634541] Registering SWP/SWPB emulation handler [ 47.727213] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB [ 47.734113] mmcblk0: unknown partition table [ 47.738797] palmas 0-0048: Irq flag is 0x00000000 [ 47.744704] mmcblk0boot1: unknown partition table [ 47.750480] mmcblk0boot0: unknown partition table [ 47.760242] palmas 0-0048: Muxing GPIO 2, PWM 0, LED 0 [ 47.767815] smps123: 600 <--> 1500 mV at 1060 mV [ 47.773935] smps45: 600 <--> 1310 mV at 1030 mV [ 47.780357] smps6: 1200 mV [ 47.784355] smps7: 1800 mV [ 47.788461] smps8: 600 <--> 1310 mV at 1040 mV [ 47.794190] smps9: failed to get the current voltage [ 47.799432] palmas-pmic palmas_pmic.9: failed to register palmas_pmic.9 regulator [ 47.807685] palmas-pmic: probe of palmas_pmic.9 failed with error -22 [ 47.932673] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 48.077685] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 48.083760] platform 4a140000.sata: Driver ahci requests probe deferral [ 48.091182] omap_hsmmc 4809c000.mmc: unable to get vmmc regulator -517 [ 48.098030] platform 4809c000.mmc: Driver omap_hsmmc requests probe deferral [ 48.105724] /home/build/work/batch/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 48.119033] ALSA device list: [ 48.122130] No soundcards found. [ 48.126135] Waiting for root device /dev/mmcblk1p2... ~$off # PYBOOT: Exception: timeout
========================================================================
Board omap5uevm-multi_v7_defconfig failure log: -------------------------------------------------
[ 48.086078] can: raw protocol (rev 20120528) [ 48.086081] can: broadcast manager protocol (rev 20120528 t) [ 48.086088] can: netlink gateway (rev 20130117) max_hops=1 [ 48.086371] Key type dns_resolver registered [ 48.086437] omap_vc_init_channel: No PMIC info for vdd_core [ 48.086439] omap_vp_init: No PMIC info for vdd_core [ 48.086443] omap_vc_init_channel: No PMIC info for vdd_mm [ 48.086445] omap_vp_init: No PMIC info for vdd_mm [ 48.086448] omap_vc_init_channel: No PMIC info for vdd_mpu [ 48.086450] omap_vp_init: No PMIC info for vdd_mpu [ 48.086747] ThumbEE CPU extension supported. [ 48.086756] Registering SWP/SWPB emulation handler [ 48.157804] palmas 0-0048: Irq flag is 0x00000000 [ 48.164156] mmc0: new high speed MMC card at address 0001 [ 48.170045] mmcblk0: mmc0:0001 SEM04G 3.68 GiB [ 48.174875] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB [ 48.181140] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB [ 48.187997] mmcblk0: unknown partition table [ 48.193357] mmcblk0boot1: unknown partition table [ 48.198814] palmas 0-0048: Muxing GPIO 2, PWM 0, LED 0 [ 48.204644] mmcblk0boot0: unknown partition table [ 48.210834] smps123: 600 <--> 1500 mV at 1060 mV [ 48.216999] smps45: 600 <--> 1310 mV at 1030 mV [ 48.223441] smps6: 1200 mV [ 48.227408] smps7: 1800 mV [ 48.231555] smps8: 600 <--> 1310 mV at 1040 mV [ 48.237306] smps9: failed to get the current voltage [ 48.242550] palmas-pmic palmas_pmic.9: failed to register palmas_pmic.9 regulator [ 48.250788] palmas-pmic: probe of palmas_pmic.9 failed with error -22 [ 48.375505] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 48.382630] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 48.388715] platform 4a140000.sata: Driver ahci requests probe deferral [ 48.396135] omap_hsmmc 4809c000.mmc: unable to get vmmc regulator -517 [ 48.402979] platform 4809c000.mmc: Driver omap_hsmmc requests probe deferral [ 48.410663] /home/build/work/batch/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 48.424013] ALSA device list: [ 48.427120] No soundcards found. [ 48.431117] Waiting for root device /dev/mmcblk1p2... ~$off # PYBOOT: Exception: timeout
========================================================================
Board omap5uevm-omap2plus_defconfig failure log: -------------------------------------------------
[ 2.625639] Key type dns_resolver registered [ 2.625730] omap_vc_init_channel: No PMIC info for vdd_core [ 2.625733] omap_vp_init: No PMIC info for vdd_core [ 2.625742] omap_vc_init_channel: No PMIC info for vdd_mm [ 2.625744] omap_vp_init: No PMIC info for vdd_mm [ 2.625753] omap_vc_init_channel: No PMIC info for vdd_mpu [ 2.625755] omap_vp_init: No PMIC info for vdd_mpu [ 2.626307] ThumbEE CPU extension supported. [ 2.626325] Registering SWP/SWPB emulation handler [ 2.626328] SmartReflex Class3 initialized [ 2.683943] mmc0: new high speed MMC card at address 0001 [ 2.685575] palmas 0-0048: Irq flag is 0x00000000 [ 2.696066] mmcblk0: mmc0:0001 SEM04G 3.68 GiB [ 2.701082] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB [ 2.707860] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB [ 2.717172] mmcblk0: unknown partition table [ 2.723777] mmcblk0boot1: unknown partition table [ 2.730652] mmcblk0boot0: unknown partition table [ 2.736698] palmas 0-0048: Muxing GPIO 2, PWM 0, LED 0 [ 2.786540] smps123: 600 <--> 1500 mV at 1060 mV [ 2.793524] smps45: 600 <--> 1310 mV at 1030 mV [ 2.800839] smps6: 1200 mV [ 2.805538] smps7: 1800 mV [ 2.810397] smps8: 600 <--> 1310 mV at 1040 mV [ 2.816920] smps9: failed to get the current voltage [ 2.822852] palmas-pmic palmas_pmic.9: failed to register palmas_pmic.9 regulator [ 2.833489] palmas-pmic: probe of palmas_pmic.9 failed with error -22 [ 2.840394] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 2.847386] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 2.853554] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.862637] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.871980] omap_hsmmc 4809c000.mmc: unable to get vmmc regulator -517 [ 2.878930] platform 4809c000.mmc: Driver omap_hsmmc requests probe deferral [ 2.887507] /home/build/work/batch/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 2.896210] sr_init: No PMIC hook to init smartreflex [ 2.901664] sr_init: platform driver register failed for SR [ 2.929862] pbias_mmc_omap5: disabling [ 2.935342] Waiting for root device /dev/mmcblk1p2... ~$off # PYBOOT: Exception: timeout
Mainline is bust on OMAP5 uevm:
On Tue, Jun 3, 2014 at 5:36 PM, Olof's autobooter build@lixom.net wrote:
Failed boards:
omap5uevm omap2plus_defconfig : FAILED 1:46.03 omap5uevm multi_v7_defconfig : FAILED 1:54.51 omap5uevm multi_lpae_defconfig : FAILED 1:48.83
...
========================================================================
Board omap5uevm-omap2plus_defconfig failure log: -------------------------------------------------
[ 2.625639] Key type dns_resolver registered [ 2.625730] omap_vc_init_channel: No PMIC info for vdd_core [ 2.625733] omap_vp_init: No PMIC info for vdd_core [ 2.625742] omap_vc_init_channel: No PMIC info for vdd_mm [ 2.625744] omap_vp_init: No PMIC info for vdd_mm [ 2.625753] omap_vc_init_channel: No PMIC info for vdd_mpu [ 2.625755] omap_vp_init: No PMIC info for vdd_mpu [ 2.626307] ThumbEE CPU extension supported. [ 2.626325] Registering SWP/SWPB emulation handler [ 2.626328] SmartReflex Class3 initialized [ 2.683943] mmc0: new high speed MMC card at address 0001 [ 2.685575] palmas 0-0048: Irq flag is 0x00000000 [ 2.696066] mmcblk0: mmc0:0001 SEM04G 3.68 GiB [ 2.701082] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB [ 2.707860] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB [ 2.717172] mmcblk0: unknown partition table [ 2.723777] mmcblk0boot1: unknown partition table [ 2.730652] mmcblk0boot0: unknown partition table [ 2.736698] palmas 0-0048: Muxing GPIO 2, PWM 0, LED 0 [ 2.786540] smps123: 600 <--> 1500 mV at 1060 mV [ 2.793524] smps45: 600 <--> 1310 mV at 1030 mV [ 2.800839] smps6: 1200 mV [ 2.805538] smps7: 1800 mV [ 2.810397] smps8: 600 <--> 1310 mV at 1040 mV [ 2.816920] smps9: failed to get the current voltage [ 2.822852] palmas-pmic palmas_pmic.9: failed to register palmas_pmic.9 regulator [ 2.833489] palmas-pmic: probe of palmas_pmic.9 failed with error -22 [ 2.840394] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 2.847386] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 2.853554] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.862637] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/mmc@4809c000[0]' [ 2.871980] omap_hsmmc 4809c000.mmc: unable to get vmmc regulator -517 [ 2.878930] platform 4809c000.mmc: Driver omap_hsmmc requests probe deferral [ 2.887507] /home/build/work/batch/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 2.896210] sr_init: No PMIC hook to init smartreflex [ 2.901664] sr_init: platform driver register failed for SR [ 2.929862] pbias_mmc_omap5: disabling [ 2.935342] Waiting for root device /dev/mmcblk1p2... ~$off # PYBOOT: Exception: timeout
This seems to be from palmas registration failing, which in turns causes vmmc regulator lookup to fail. See the errors about palmas-pmic above.
I bisected this down to a merge commit:
commit 4c04ef25b8aae6b5a8c4cc5c0235fc5d239209fd Merge: 2c7a6a3 dbabd62 0ee42bb ab3ca77 0608032 b203e0d Author: Mark Brown broonie@linaro.org AuthorDate: Mon Jun 2 17:08:08 2014 +0100 Commit: Mark Brown broonie@linaro.org CommitDate: Mon Jun 2 17:08:08 2014 +0100
Merge remote-tracking branches 'regulator/topic/palmas', 'regulator/topic/pbias', 'regulator/topic/pfuze100', 'regulator/topic/s2mpa01' and 'regulator/topic/s2mps11' into regulator-next
linux-next has been so broken that I didn't notice this as specific failures, last successful boot there was May 29.
-Olof
On Tue, Jun 03, 2014 at 06:26:14PM -0700, Olof Johansson wrote:
On Tue, Jun 3, 2014 at 5:36 PM, Olof's autobooter build@lixom.net wrote:
[ 2.816920] smps9: failed to get the current voltage
This seems to be from palmas registration failing, which in turns causes vmmc regulator lookup to fail. See the errors about palmas-pmic above.
Always CC maintainers on things. This is a bug in the driver, it needs to support retrieving voltages at all times (and would probably run into trouble anyway).
Minor change in subject, +Keerthy.
On 10:01-20140604, Mark Brown wrote:
On Tue, Jun 03, 2014 at 06:26:14PM -0700, Olof Johansson wrote:
On Tue, Jun 3, 2014 at 5:36 PM, Olof's autobooter build@lixom.net wrote:
[ 2.816920] smps9: failed to get the current voltage
This seems to be from palmas registration failing, which in turns causes vmmc regulator lookup to fail. See the errors about palmas-pmic above.
Always CC maintainers on things. This is a bug in the driver, it needs to support retrieving voltages at all times (and would probably run into trouble anyway).
Full thread: http://marc.info/?t=140184538000004&r=1&w=2
Yeah, this does seems to be a regression. The following is based on next-20140604.
Seems to help my OMAP5uevm. If this makes sense, I will repost it as a formal patch.
8<----------------
From 3feaa7f5c749b1673aef3fd26f43b965dd627dc9 Mon Sep 17 00:00:00 2001
From: Nishanth Menon nm@ti.com Date: Wed, 4 Jun 2014 14:09:09 -0500 Subject: [PATCH] regulator: palmas: Fix SMPS list for 0V
get_voltage_sel reads from SMPS register - if the read selector value is 0, the SMPS is actually disabled - So, this is in addition to the ctrl_register that may also be used to enable/disable the SMPS.
The original logic(prior to commit dbabd624d4eec50b6) used to be: static int palmas_map_voltage_smps(struct regulator_dev *rdev, int min_uV, int max_uV) <snip> if (min_uV == 0) return 0;
To handle this scenario, with the transition to regulator_list implementation, we seem to have missed the data necessary to mark as one of the valid entries as "0" 'disabled regulator' which results in 0 volts - So, stick with pre-existing logic.
Without this added to the list, palmas regulator driver, on probe, attempts to setup constraints and in the case of OMAP5uEVM, SMPS9 (which is mapped for 2v1 audio supply) fails in regulator_list_voltage_linear_range mapping of '0', and as a fall back of constraints not being applied, the entire regulator list is not enumerated due to assumption that something system wide has gone bad on with the PMIC.
Fixes: dbabd624d4eec50b6 ("regulator: palmas: Reemove open coded functions with helper functions") Reported-by: Olof Johansson olof@lixom.net Signed-off-by: Nishanth Menon nm@ti.com --- drivers/regulator/palmas-regulator.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 864ed02..b982f0f 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -37,12 +37,14 @@ struct regs_info { };
static const struct regulator_linear_range smps_low_ranges[] = { + REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0), REGULATOR_LINEAR_RANGE(500000, 0x1, 0x6, 0), REGULATOR_LINEAR_RANGE(510000, 0x7, 0x79, 10000), REGULATOR_LINEAR_RANGE(1650000, 0x7A, 0x7f, 0), };
static const struct regulator_linear_range smps_high_ranges[] = { + REGULATOR_LINEAR_RANGE(0, 0x0, 0x0, 0), REGULATOR_LINEAR_RANGE(1000000, 0x1, 0x6, 0), REGULATOR_LINEAR_RANGE(1020000, 0x7, 0x79, 20000), REGULATOR_LINEAR_RANGE(3300000, 0x7A, 0x7f, 0),
On Wed, Jun 04, 2014 at 02:34:31PM -0500, Nishanth Menon wrote:
Seems to help my OMAP5uevm. If this makes sense, I will repost it as a formal patch.
Yes, this makes sense - there was a similar issue with one of the other drivers.
On Wed, Jun 04, 2014 at 02:34:31PM -0500, Nishanth Menon wrote:
Seems to help my OMAP5uevm. If this makes sense, I will repost it as a formal patch.
Actually I just went ahead and applied this - thanks!
On Wed, Jun 4, 2014 at 2:01 AM, Mark Brown broonie@kernel.org wrote:
On Tue, Jun 03, 2014 at 06:26:14PM -0700, Olof Johansson wrote:
On Tue, Jun 3, 2014 at 5:36 PM, Olof's autobooter build@lixom.net wrote:
[ 2.816920] smps9: failed to get the current voltage
This seems to be from palmas registration failing, which in turns causes vmmc regulator lookup to fail. See the errors about palmas-pmic above.
Always CC maintainers on things.
What maintainer did I not cc? I missed the linux-omap list but I included you and Tony.
-Olof
kernel-build-reports@lists.linaro.org