Bug 1377534 - i2c_designware 808622C1:06: punit semaphore timed out, resetting
Summary: i2c_designware 808622C1:06: punit semaphore timed out, resetting
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 25
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-20 03:47 UTC by Chris Cheney
Modified: 2018-01-05 08:42 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:10:38 UTC
Type: Bug


Attachments (Terms of Use)
dmesg output (59.28 KB, text/plain)
2016-09-20 03:47 UTC, Chris Cheney
no flags Details
sosreport (3.67 MB, application/x-xz)
2016-09-20 18:20 UTC, Chris Cheney
no flags Details

Description Chris Cheney 2016-09-20 03:47:06 UTC
Created attachment 1202666 [details]
dmesg output

Description of problem:

Kernel crash on boot on Nexbox T9 (Intel x5-z8300) rendering sdio wifi inoperable.

Version-Release number of selected component (if applicable):

[    0.000000] Linux version 4.8.0-0.rc4.git0.1.fc25.x86_64 (mockbuild.fedoraproject.org) (gcc version 6.1.1 20160721 (Red Hat 6.1.1-4) (GCC) ) #1 SMP Mon Aug 29 19:28:01 UTC 2016

How reproducible:

Every time.

Steps to Reproduce:

Boot

Actual results:

crash inside i2c-designware-baytrail.c

Expected results:

Work and enable sdio wifi

Comment 1 Chris Cheney 2016-09-20 03:48:05 UTC
From dmesg:

[   20.811692] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[   20.912602] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[   20.912723] i2c_designware 808622C1:06: PUNIT SEM: 2
[   20.912803] ------------[ cut here ]------------
[   20.912819] WARNING: CPU: 0 PID: 886 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[   20.912821] Modules linked in: snd acpi_thermal_rel tpm_tis intel_soc_dts_iosf int340x_thermal_zone tpm_tis_core acpi_pad soundcore tpm i2c_designware_platform(+) i2c_designware_core spi_pxa2xx_platform nfsd auth_rpcgss nfs_acl lockd grace nls_utf8 isofs squashfs mmc_block crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel fjes i2c_hid sdhci_acpi sdhci mmc_core 8021q garp stp llc mrp hid_logitech_hidpp uas usb_storage cdc_ether usbnet r8152 hid_logitech_dj mii sunrpc scsi_transport_iscsi loop
[   20.912879] CPU: 0 PID: 886 Comm: systemd-udevd Not tainted 4.8.0-0.rc4.git0.1.fc25.x86_64 #1
[   20.912881] Hardware name: N/A CherryTrail/Type2 - Board Product Name, BIOS YT11.6W4x64.D003 05/17/2016
[   20.912885]  0000000000000286 000000007481af87 ffff8ef97997b9c0 ffffffff833e76cd
[   20.912891]  0000000000000000 0000000000000000 ffff8ef97997ba00 ffffffff830a1d7b
[   20.912896]  0000006a7997b9e0 ffff8ef978496028 00000000fffbbdb7 ffffffffc05196d0
[   20.912902] Call Trace:
[   20.912915]  [<ffffffff833e76cd>] dump_stack+0x63/0x86
[   20.912922]  [<ffffffff830a1d7b>] __warn+0xcb/0xf0
[   20.912927]  [<ffffffff830a1ead>] warn_slowpath_null+0x1d/0x20
[   20.912932]  [<ffffffffc05188bc>] baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[   20.912938]  [<ffffffffc052c233>] i2c_dw_init+0x23/0x420 [i2c_designware_core]
[   20.912942]  [<ffffffffc052cff9>] i2c_dw_probe+0x39/0x1d0 [i2c_designware_core]
[   20.912947]  [<ffffffffc05184a2>] dw_i2c_plat_probe+0x1e2/0x420 [i2c_designware_platform]
[   20.912954]  [<ffffffff8353307b>] platform_drv_probe+0x3b/0xa0
[   20.912958]  [<ffffffff8352cf5c>] ? devices_kset_move_last+0x4c/0x90
[   20.912961]  [<ffffffff83530ea3>] driver_probe_device+0x223/0x430
[   20.912965]  [<ffffffff8353118f>] __driver_attach+0xdf/0xf0
[   20.912968]  [<ffffffff835310b0>] ? driver_probe_device+0x430/0x430
[   20.912972]  [<ffffffff8352e82c>] bus_for_each_dev+0x6c/0xc0
[   20.912975]  [<ffffffff835305ae>] driver_attach+0x1e/0x20
[   20.912978]  [<ffffffff8352ffc0>] bus_add_driver+0x170/0x270
[   20.912981]  [<ffffffffc051d000>] ? 0xffffffffc051d000
[   20.912984]  [<ffffffff83531ab0>] driver_register+0x60/0xe0
[   20.912987]  [<ffffffffc051d000>] ? 0xffffffffc051d000
[   20.912990]  [<ffffffff83532ff6>] __platform_driver_register+0x36/0x40
[   20.912995]  [<ffffffffc051d017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[   20.913000]  [<ffffffff83002190>] do_one_initcall+0x50/0x180
[   20.913006]  [<ffffffff832272f9>] ? kmem_cache_alloc_trace+0x159/0x1b0
[   20.913010]  [<ffffffff831b7b46>] ? do_init_module+0x27/0x1ef
[   20.913013]  [<ffffffff831b7b7e>] do_init_module+0x5f/0x1ef
[   20.913018]  [<ffffffff8312e3a4>] load_module+0x22c4/0x29e0
[   20.913021]  [<ffffffff8312af70>] ? __symbol_put+0x60/0x60
[   20.913026]  [<ffffffff8312ec33>] SYSC_init_module+0x173/0x190
[   20.913030]  [<ffffffff8312ed6e>] SyS_init_module+0xe/0x10
[   20.913034]  [<ffffffff83003c57>] do_syscall_64+0x67/0x160
[   20.913039]  [<ffffffff838060e1>] entry_SYSCALL64_slow_path+0x25/0x25
[   20.913042] ---[ end trace e787777b154d2d89 ]---
[   20.913045] i2c_designware 808622C1:06: couldn't acquire bus ownership
[   20.913177] i2c_designware: probe of 808622C1:06 failed with error -110

Comment 2 Chris Cheney 2016-09-20 03:49:54 UTC
Actually its keeping both wifi and bluetooth from working since they are both on the same chip.

Comment 3 Chris Cheney 2016-09-20 18:20:09 UTC
Created attachment 1202995 [details]
sosreport

Comment 4 Chris Cheney 2016-09-23 12:21:06 UTC
I dug around and found upstream kernel bzs related to this issue:

https://bugzilla.kernel.org/show_bug.cgi?id=150481

https://bugzilla.kernel.org/show_bug.cgi?id=155241

Comment 5 Chris Cheney 2016-09-23 12:25:16 UTC
As noted at the link the code is known wrong for CHT but may have further bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=150481#c1

Comment 7 Sergey Bostandzhyan 2016-12-23 16:34:55 UTC
Seeing the same on an Acer Switch 10 notebook, on boot:

[    8.220635] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[    8.320505] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[    8.320630] i2c_designware 808622C1:06: PUNIT SEM: 2
[    8.320696] ------------[ cut here ]------------
[    8.320709] WARNING: CPU: 1 PID: 556 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[    8.320711] Modules linked in: snd_intel_sst_acpi(+) joydev snd_intel_sst_core mei_txe(+) snd_soc_sst_mfld_platform mei snd_soc_sst_match lpc_ich(+) snd_soc_core snd_compress snd_pcm_dmaengine hci_uart ac97_bus snd_seq btbcm btqca btintel snd_seq_device snd_pcm bluetooth snd_timer dw_dmac intel_hid snd dw_dmac_core sparse_keymap soundcore spi_pxa2xx_platform i2c_designware_platform(+) rfkill i2c_designware_core pwm_lpss_platform pwm_lpss tpm_tis tpm_tis_core dptf_power processor_thermal_device soc_button_array intel_soc_dts_iosf int3406_thermal int3400_thermal tpm int3403_thermal acpi_thermal_rel int340x_thermal_zone wmi acpi_pad nfsd auth_rpcgss nfs_acl lockd grace sunrpc btrfs xor raid6_pq i915 mmc_block crc32c_intel i2c_algo_bit drm_kms_helper drm fjes video i2c_hid sdhci_acpi sdhci mmc_core sr9700
[    8.320789]  hid_multitouch uas dm9601 usbnet usb_storage mii
[    8.320800] CPU: 1 PID: 556 Comm: systemd-udevd Not tainted 4.8.15-300.fc25.x86_64 #1
[    8.320802] Hardware name: Acer Aspire SW3-016/Gummi CHT, BIOS V1.10 11/20/2015
[    8.320805]  0000000000000286 00000000beaa7452 ffff916ef54ff9d0 ffffffff8e3e5e1d
[    8.320811]  0000000000000000 0000000000000000 ffff916ef54ffa10 ffffffff8e0a0e8b
[    8.320817]  0000006af54ff9f0 ffff916ef233e828 00000000fffb8c87 ffffffffc07366d0
[    8.320822] Call Trace:
[    8.320832]  [<ffffffff8e3e5e1d>] dump_stack+0x63/0x86
[    8.320839]  [<ffffffff8e0a0e8b>] __warn+0xcb/0xf0
[    8.320844]  [<ffffffff8e0a0fbd>] warn_slowpath_null+0x1d/0x20
[    8.320849]  [<ffffffffc07358bc>] baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[    8.320855]  [<ffffffffc071b233>] i2c_dw_init+0x23/0x470 [i2c_designware_core]
[    8.320859]  [<ffffffffc071c049>] i2c_dw_probe+0x39/0x1d0 [i2c_designware_core]
[    8.320864]  [<ffffffffc07354a2>] dw_i2c_plat_probe+0x1e2/0x420 [i2c_designware_platform]
[    8.320871]  [<ffffffff8e530adb>] platform_drv_probe+0x3b/0xa0
[    8.320875]  [<ffffffff8e52a9bc>] ? devices_kset_move_last+0x4c/0x90
[    8.320878]  [<ffffffff8e52e903>] driver_probe_device+0x223/0x430
[    8.320882]  [<ffffffff8e52ebef>] __driver_attach+0xdf/0xf0
[    8.320886]  [<ffffffff8e52eb10>] ? driver_probe_device+0x430/0x430
[    8.320889]  [<ffffffff8e52c28c>] bus_for_each_dev+0x6c/0xc0
[    8.320892]  [<ffffffff8e52e00e>] driver_attach+0x1e/0x20
[    8.320895]  [<ffffffff8e52da20>] bus_add_driver+0x170/0x270
[    8.320898]  [<ffffffffc0742000>] ? 0xffffffffc0742000
[    8.320902]  [<ffffffff8e52f510>] driver_register+0x60/0xe0
[    8.320905]  [<ffffffffc0742000>] ? 0xffffffffc0742000
[    8.320908]  [<ffffffff8e530a56>] __platform_driver_register+0x36/0x40
[    8.320913]  [<ffffffffc0742017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[    8.320918]  [<ffffffff8e002190>] do_one_initcall+0x50/0x180
[    8.320922]  [<ffffffff8e2263e9>] ? kmem_cache_alloc_trace+0x159/0x1b0
[    8.320927]  [<ffffffff8e1b6966>] ? do_init_module+0x27/0x1ef
[    8.320930]  [<ffffffff8e1b699e>] do_init_module+0x5f/0x1ef
[    8.320934]  [<ffffffff8e12cde0>] load_module+0x2170/0x29d0
[    8.320938]  [<ffffffff8e129b00>] ? __symbol_put+0x60/0x60
[    8.320943]  [<ffffffff8e12d7b3>] SYSC_init_module+0x173/0x190
[    8.320947]  [<ffffffff8e12d8ee>] SyS_init_module+0xe/0x10
[    8.320950]  [<ffffffff8e003c57>] do_syscall_64+0x67/0x160
[    8.320956]  [<ffffffff8e803c21>] entry_SYSCALL64_slow_path+0x25/0x25
[    8.320958] ---[ end trace 2ad5292aefe8a3a2 ]---
[    8.320962] i2c_designware 808622C1:06: couldn't acquire bus ownership
[    8.321108] i2c_designware: probe of 808622C1:06 failed with error -110

Comment 8 Laura Abbott 2017-01-17 01:10:19 UTC
*********** MASS BUG UPDATE **************
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 25 kernel bugs.
 
Fedora 25 has now been rebased to 4.9.3-200.fc25.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.
 
If you experience different issues, please open a new bug report for those.

Comment 9 Ivan Ivanov 2017-01-31 07:31:55 UTC
Hello friends, 
Device: Nexbox T9
OS: Fedora 25
Kernel: 4.9.6-200.fc25

I don't see any changes...

[    9.528163] dw_dmac INTL9C60:00: DesignWare DMA Controller, 8 channels
[    9.552173] dw_dmac INTL9C60:01: DesignWare DMA Controller, 8 channels
[    9.553061] input: Intel HID events as /devices/pci0000:00/INT33D5:00/input/input7
[    9.720275] intel_sst_acpi 808622A8:00: No matching machine driver found
[    9.887879] i2c_designware 808622C1:06: I2C bus managed by PUNIT
[    9.918331] media: Linux media interface: v0.10
[    9.958177] Linux video capture interface: v2.00
[    9.991634] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[    9.991655] i2c_designware 808622C1:06: PUNIT SEM: 2
[    9.991659] ------------[ cut here ]------------
[    9.991671] WARNING: CPU: 3 PID: 640 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[    9.991673] Modules linked in: videobuf2_v4l2(+) videobuf2_core videodev snd_usbmidi_lib snd_hwdep snd_rawmidi media cfg80211 joydev snd_intel_sst_acpi snd_intel_sst_core mei_txe snd_soc_sst_mfld_platform mei lpc_ich processor_thermal_device snd_soc_sst_match intel_soc_dts_iosf snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus snd_seq snd_seq_device dw_dmac snd_pcm hci_uart intel_hid sparse_keymap btbcm btqca btintel bluetooth snd_timer snd rfkill_gpio soundcore i2c_designware_platform(+) i2c_designware_core spi_pxa2xx_platform rfkill pwm_lpss_platform pwm_lpss dptf_power soc_button_array int3406_thermal tpm_tis tpm_tis_core acpi_pad int3403_thermal int3400_thermal tpm acpi_thermal_rel int340x_thermal_zone binfmt_misc uas usb_storage i915 mmc_block i2c_algo_bit drm_kms_helper crc32c_intel drm
[    9.991749]  fjes video i2c_hid sdhci_acpi sdhci mmc_core r8152 mii
[    9.991764] CPU: 3 PID: 640 Comm: systemd-udevd Not tainted 4.9.6-200.fc25.x86_64 #1
[    9.991765] Hardware name: N/A CherryTrail/Type2 - Board Product Name, BIOS YT8.2x64.001 01/06/2016
[    9.991769]  ffff9b04406bb9b8 ffffffffa83f414d 0000000000000000 0000000000000000
[    9.991775]  ffff9b04406bb9f8 ffffffffa80a202b 0000006a406bb9d8 ffff8cf973bbc828
[    9.991780]  00000000fffb9311 ffffffffc04ba6e0 00000000fffb92ad ffff8cf979209410
[    9.991786] Call Trace:
[    9.991798]  [<ffffffffa83f414d>] dump_stack+0x63/0x86
[    9.991804]  [<ffffffffa80a202b>] __warn+0xcb/0xf0
[    9.991808]  [<ffffffffa80a215d>] warn_slowpath_null+0x1d/0x20
[    9.991813]  [<ffffffffc04b996c>] baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
[    9.991819]  [<ffffffffc04e1071>] i2c_dw_acquire_lock+0x21/0x50 [i2c_designware_core]
[    9.991823]  [<ffffffffc04e1bee>] i2c_dw_init+0x1e/0x610 [i2c_designware_core]
[    9.991827]  [<ffffffffc04e26f9>] i2c_dw_probe+0x39/0x940 [i2c_designware_core]
[    9.991831]  [<ffffffffc04b94f0>] dw_i2c_plat_probe+0x230/0x4d0 [i2c_designware_platform]
[    9.991837]  [<ffffffffa854dd4b>] platform_drv_probe+0x3b/0xa0
[    9.991843]  [<ffffffffa8547d1c>] ? devices_kset_move_last+0x4c/0x90
[    9.991846]  [<ffffffffa854bb73>] driver_probe_device+0x223/0x430
[    9.991849]  [<ffffffffa854be5f>] __driver_attach+0xdf/0xf0
[    9.991852]  [<ffffffffa854bd80>] ? driver_probe_device+0x430/0x430
[    9.991856]  [<ffffffffa854955c>] bus_for_each_dev+0x6c/0xc0
[    9.991859]  [<ffffffffa854b2be>] driver_attach+0x1e/0x20
[    9.991863]  [<ffffffffa854acf0>] bus_add_driver+0x170/0x270
[    9.991866]  [<ffffffffc04be000>] ? 0xffffffffc04be000
[    9.991869]  [<ffffffffa854c780>] driver_register+0x60/0xe0
[    9.991872]  [<ffffffffc04be000>] ? 0xffffffffc04be000
[    9.991875]  [<ffffffffa854dcc6>] __platform_driver_register+0x36/0x40
[    9.991879]  [<ffffffffc04be017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
[    9.991884]  [<ffffffffa8002190>] do_one_initcall+0x50/0x180
[    9.991890]  [<ffffffffa822f5a9>] ? kmem_cache_alloc_trace+0x159/0x1b0
[    9.991896]  [<ffffffffa81c026a>] ? do_init_module+0x27/0x1ef
[    9.991899]  [<ffffffffa81c02a2>] do_init_module+0x5f/0x1ef
[    9.991905]  [<ffffffffa812fe91>] load_module+0x25b1/0x2980
[    9.991908]  [<ffffffffa812c770>] ? __symbol_put+0x60/0x60
[    9.991913]  [<ffffffffa81303d3>] SYSC_init_module+0x173/0x190
[    9.991918]  [<ffffffffa813050e>] SyS_init_module+0xe/0x10
[    9.991921]  [<ffffffffa8003c17>] do_syscall_64+0x67/0x180
[    9.991927]  [<ffffffffa881cd2b>] entry_SYSCALL64_slow_path+0x25/0x25
[    9.991930] ---[ end trace 885c25cec11717c1 ]---
[    9.991934] i2c_designware 808622C1:06: couldn't acquire bus ownership
[    9.991985] i2c_designware: probe of 808622C1:06 failed with error -110

Comment 10 Ivan Ivanov 2017-02-02 09:51:06 UTC
I build and install 4.8 kernel with patches from
https://bugzilla.kernel.org/show_bug.cgi?id=155241#c48

and now I don't have the crush
[    9.991634] i2c_designware 808622C1:06: punit semaphore timed out, resetting
[    9.991655] i2c_designware 808622C1:06: PUNIT SEM: 2

but integrated wifi and sound still don't work...

Comment 11 Fedora End Of Life 2017-11-16 19:09:31 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2017-12-12 10:10:38 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.