Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2445924imm; Wed, 16 May 2018 13:01:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoyK7/cpf1kl7sLdqgCysIJpZ9zmSqP8zBpgUefLfRgx9ZIx/d+Vlv//Zi8VNDNj5BMFztG X-Received: by 2002:a63:6ac6:: with SMTP id f189-v6mr1837282pgc.308.1526500884985; Wed, 16 May 2018 13:01:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526500884; cv=none; d=google.com; s=arc-20160816; b=LY/FculSfmoq5qmsIkpoovqcDc/HtUen5vrvvBxi7FPHzoFdkAxuiv+SqeW5uGgf53 1w7guMqQGYOeYE6zmndhmcghgQ2vnxLuCj5EWVjNBX8MImrKPfp2r2HcN4a4GUZh/ApR BUTUe5f3VonSxCxZTeErm3NTO+3Ea0wF7cxhvR0BML0acW7SeSE1R1jr9VaUsrYLSwqt 9iuRc5FocMrAX0fSS38YhFSIa8eoiATEAjFCvP0AQc8VxpgeeKnZRYVxpZFoTSqM5Ni/ JFBSl5dO1eMdDj5bmRoXF/cR+VEXw6/4dxU+4MwGgzNoitYrMC6kRvWy8SGiLtDwG30v ku6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=43mBdnKMr7HI4FZBg1VLBDF8jyUJkw8d4qHdMI1C3v8=; b=kEIKLB9scarNqvJlzONkSqTXaXfD5YN9QFMHsiqFWfYl9KzvIhJGrMrgYiPKOGVDuy Gv8DL1WocDomAeIFoJn4obwCyI5cHDw7EZGsEwxvQkbwwHWQI7cyjHzi9dON6UnBflTL FlcRNSXoviLp2oj3Ast4pUDbxwl+Xk0DwVfReW8gAcLIyQNtDeqIsJfLDLAeny0dRKrk xQlCWQmoDpTdO6ghorEWPM4XslstU4xsf3NKmr1JDuV3W8HwRqC/b2TcqKbUOtEOHfzf 9sIP+kgHmI3y1GiFXm6/JeTtGIzr6qTZWrHUF0c416hZyRyLu5BjktMTHpTM5kwRXNIP ++Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@dell.com header.s=smtpout header.b=ggJATVkN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=dell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x22-v6si3456501pfe.318.2018.05.16.13.01.10; Wed, 16 May 2018 13:01:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@dell.com header.s=smtpout header.b=ggJATVkN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=dell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751468AbeEPUAr (ORCPT + 99 others); Wed, 16 May 2018 16:00:47 -0400 Received: from esa6.dell-outbound.iphmx.com ([68.232.149.229]:53612 "EHLO esa6.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbeEPUAp (ORCPT ); Wed, 16 May 2018 16:00:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1526500845; x=1558036845; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=WESqOo9Spv7u6abC949kKjunCPlAUANeYGZY/2OLUbY=; b=ggJATVkNUV8wApSFoSWmozZS0odrFzvIt2pjvauCQNOwRk6/MxfS6IrX e1nPn3Ydh6DbwxNf9wRI6xXjmY9C2TyDzka2pSdUTP1CDoU4CNyW+Kzxz hrcqTnUbXdKVRPo0UZkGTTeJcYKDTGEhz2BuLIk4vaXbPC+uQygONWqrm U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GnAABrWvZah2Oa6ERRChoBAQEBAQIBA?= =?us-ascii?q?QEBCAEBAQGEFoEJKAqLbIxwgwhfklaBeAuEbIMMITQYAQIBAQEBAQECAQECEAE?= =?us-ascii?q?BAQoLCQgoL4I1IoMUPxIBPmgBBA4FCIMbggGtZ4hXgieIJYITg2yEdjKFTQKYM?= =?us-ascii?q?gcCgTmNEIxzgiuDSIpqgSUcggtwgxOCIA4JjhdvjjYEgSqBGAEB?= X-IPAS-Result: =?us-ascii?q?A2GnAABrWvZah2Oa6ERRChoBAQEBAQIBAQEBCAEBAQGEFoE?= =?us-ascii?q?JKAqLbIxwgwhfklaBeAuEbIMMITQYAQIBAQEBAQECAQECEAEBAQoLCQgoL4I1I?= =?us-ascii?q?oMUPxIBPmgBBA4FCIMbggGtZ4hXgieIJYITg2yEdjKFTQKYMgcCgTmNEIxzgiu?= =?us-ascii?q?DSIpqgSUcggtwgxOCIA4JjhdvjjYEgSqBGAEB?= Received: from esa6.dell-outbound2.iphmx.com ([68.232.154.99]) by esa6.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 15:00:44 -0500 From: Received: from ausxipps310.us.dell.com ([143.166.148.211]) by esa6.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2018 02:00:44 +0600 X-LoopCount0: from 10.166.132.172 X-IronPort-AV: E=Sophos;i="5.49,407,1520917200"; d="scan'208";a="189048288" X-DLP: DLP_GlobalPCIDSS To: CC: Subject: Sometimes unusable i2c-hid devices in 4.17-rcX Thread-Topic: Sometimes unusable i2c-hid devices in 4.17-rcX Thread-Index: AdPtUHPJyKWX8uzJSz64ldcK7U9jWw== Date: Wed, 16 May 2018 20:00:16 +0000 Message-ID: <33968d382800467bb71d1733f2f2fd58@ausx13mpc120.AMER.DELL.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.242.75] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, I've been running 4.16-rc7 on an XPS 9365 for some time and recently moved = up to 4.17-rc5. Immediately I noticed that i2c-hid devices (both touchscreen and touchpad) = were not working. Also when shutting the system down or rebooting it would just hang. (magic = sysrq still worked). I figured it was an easy to identify regression so I started a bisect but i= t came up with garbage that ended in selftests shortly after 4.17-rc2. I realized that's because = is still will fail on 4.17-rc2 occasionally, seemingly after trying something newer and warm rebooting. So it seems like it's "worse" after 4.17-rc2 (doesn't work at all) but semi= reproducible on 4.17-rc2. Not sure if I'm chasing some initialization race, but wanted to see if anyo= ne else was running into this or has some ideas? #dmesg | grep 'i2c\|hid' doesn't show any obvious errors when in this state= of non functional hid stuff. [ 2.398649] i2c /dev entries driver [ 2.881651] hidraw: raw HID events driver (C) Jiri Kosina [ 3.683583] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: e= num_devices_done OK, num_hid_devices=3D5 [ 3.701259] hid-generic 001F:8086:22D8.0001: hidraw0: HID v2.0= 0 Device [hid-ishtp 8086:22D8] on=20 [ 3.702204] hid-generic 001F:8086:22D8.0002: hidraw1: HID v2.0= 0 Device [hid-ishtp 8086:22D8] on=20 [ 3.703063] hid-generic 001F:8086:22D8.0003: hidraw2: HID v2.0= 0 Device [hid-ishtp 8086:22D8] on=20 [ 3.704276] hid-generic 001F:8086:22D8.0004: hidraw3: HID v2.0= 0 Device [hid-ishtp 8086:22D8] on=20 [ 3.704557] hid-generic 001F:8086:22D8.0005: hidraw4: HID v2.0= 0 Device [hid-ishtp 8086:22D8] on=20 [ 3.750710] psmouse serio1: synaptics: Your touchpad (PNP: DLL077a PNP0f= 13) says it can support a different bus. If i2c-hid and hid-rmi are not use= d, you might want to try setting psmouse.synaptics_intertouch to 1 and repo= rt this to linux-input@vger.kernel.org. [ 7.030446] acpi INT33D5:00: intel-hid: created platform device [ 7.199178] i2c_hid i2c-WCOM482F:00: i2c-WCOM482F:00 supply vdd not foun= d, using dummy regulator [ 7.246638] input: WCOM482F:00 056A:482F as /devices/pci0000:00/0000:00:= 15.0/i2c_designware.0/i2c-6/i2c-WCOM482F:00/0018:056A:482F.0006/input/input= 11 [ 7.246873] hid-generic 0018:056A:482F.0006: input,hidraw0: I2C HID v1.0= 0 Mouse [WCOM482F:00 056A:482F] on i2c-WCOM482F:00 [ 7.275279] i2c_hid i2c-DLL077A:01: i2c-DLL077A:01 supply vdd not found,= using dummy regulator [ 7.304107] input: DLL077A:01 06CB:76AF as /devices/pci0000:00/0000:00:1= 5.1/i2c_designware.1/i2c-7/i2c-DLL077A:01/0018:06CB:76AF.0007/input/input14 [ 7.304212] hid-generic 0018:06CB:76AF.0007: input,hidraw1: I2C HID v1.0= 0 Mouse [DLL077A:01 06CB:76AF] on i2c-DLL077A:01 [ 7.657123] usbcore: registered new interface driver usbhid [ 7.657124] usbhid: USB HID core driver [ 7.722876] input: Wacom HID 482F Pen as /devices/pci0000:00/0000:00:15.= 0/i2c_designware.0/i2c-6/i2c-WCOM482F:00/0018:056A:482F.0006/input/input15 [ 7.723148] input: Wacom HID 482F Finger as /devices/pci0000:00/0000:00:= 15.0/i2c_designware.0/i2c-6/i2c-WCOM482F:00/0018:056A:482F.0006/input/input= 16 [ 7.723611] wacom 0018:056A:482F.0006: hidraw0: I2C HID v1.00 Mouse [WCO= M482F:00 056A:482F] on i2c-WCOM482F:00 [ 7.768275] input: DLL077A:01 06CB:76AF Touchpad as /devices/pci0000:00/= 0000:00:15.1/i2c_designware.1/i2c-7/i2c-DLL077A:01/0018:06CB:76AF.0007/inpu= t/input19 [ 7.864201] hid-multitouch 0018:06CB:76AF.0007: input,hidraw0: I2C HID v= 1.00 Mouse [DLL077A:01 06CB:76AF] on i2c-DLL077A:01 However in this state, I can't rmmod i2c-hid. It just hangs the system wit= h this trace: [ 243.033779] INFO: task kworker/u8:0:6 blocked for more than 120 seconds. [ 243.033793] Not tainted 4.17.0-rc1+ #37 [ 243.033798] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables = this message. [ 243.033804] kworker/u8:0 D 0 6 2 0x80000000 [ 243.033826] Workqueue: events_power_efficient power_supply_deferred_regi= ster_work [ 243.033832] Call Trace: [ 243.033850] __schedule+0x3c2/0x890 [ 243.033861] ? __switch_to_asm+0x40/0x70 [ 243.033868] schedule+0x36/0x80 [ 243.033875] schedule_preempt_disabled+0xe/0x10 [ 243.033882] __mutex_lock.isra.4+0x2ae/0x4e0 [ 243.033890] ? __switch_to_asm+0x34/0x70 [ 243.033899] ? __switch_to_asm+0x40/0x70 [ 243.033906] ? __switch_to_asm+0x40/0x70 [ 243.033914] __mutex_lock_slowpath+0x13/0x20 [ 243.033920] ? __mutex_lock_slowpath+0x13/0x20 [ 243.033927] mutex_lock+0x2f/0x40 [ 243.033933] power_supply_deferred_register_work+0x2b/0x50 [ 243.033944] process_one_work+0x148/0x3d0 [ 243.033952] worker_thread+0x4b/0x460 [ 243.033960] kthread+0x102/0x140 [ 243.033967] ? rescuer_thread+0x380/0x380 [ 243.033973] ? kthread_associate_blkcg+0xa0/0xa0 [ 243.033982] ret_from_fork+0x35/0x40 [ 243.034012] INFO: task systemd-udevd:308 blocked for more than 120 secon= ds. [ 243.034018] Not tainted 4.17.0-rc1+ #37 [ 243.034022] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables = this message. [ 243.034027] systemd-udevd D 0 308 279 0x80000104 [ 243.034033] Call Trace: [ 243.034041] __schedule+0x3c2/0x890 [ 243.034049] schedule+0x36/0x80 [ 243.034056] schedule_timeout+0x1e7/0x360 [ 243.034066] ? ttwu_do_activate+0x77/0x80 [ 243.034074] wait_for_completion+0xb4/0x140 [ 243.034082] ? wake_up_q+0x70/0x70 [ 243.034090] flush_work+0x12a/0x1e0 [ 243.034097] ? worker_detach_from_pool+0xb0/0xb0 [ 243.034107] __cancel_work_timer+0x112/0x190 [ 243.034116] cancel_delayed_work_sync+0x13/0x20 [ 243.034122] power_supply_unregister+0x37/0xb0 [ 243.034127] devm_power_supply_release+0x11/0x20 [ 243.034135] release_nodes+0x107/0x1f0 [ 243.034147] devres_release_group+0x7c/0xb0 [ 243.034162] wacom_remove+0xce/0x120 [wacom] [ 243.034178] hid_device_remove+0x4d/0xa0 [hid] [ 243.034187] device_release_driver_internal+0x155/0x220 [ 243.034198] ? __hid_bus_driver_added+0x40/0x40 [hid] [ 243.034208] ? hid_destroy_device+0x60/0x60 [hid] [ 243.034215] device_release_driver+0x12/0x20 [ 243.034221] device_reprobe+0x30/0x50 [ 243.034231] __hid_bus_reprobe_drivers+0x45/0x50 [hid] [ 243.034239] bus_for_each_dev+0x64/0xb0 [ 243.034250] __hid_bus_driver_added+0x2c/0x40 [hid] [ 243.034256] bus_for_each_drv+0x67/0xb0 [ 243.034267] __hid_register_driver+0x6f/0x80 [hid] [ 243.034275] ? 0xffffffffc07f5000 [ 243.034287] mt_driver_init+0x23/0x1000 [hid_multitouch] [ 243.034296] do_one_initcall+0x4f/0x1ce [ 243.034303] ? _cond_resched+0x1a/0x50 [ 243.034315] ? kmem_cache_alloc_trace+0xb8/0x1f0 [ 243.034327] do_init_module+0x5f/0x219 [ 243.034335] load_module+0x24c7/0x2be0 [ 243.034348] __do_sys_finit_module+0xe5/0x120 [ 243.034354] ? __do_sys_finit_module+0xe5/0x120 [ 243.034363] __x64_sys_finit_module+0x1a/0x20 [ 243.034370] do_syscall_64+0x54/0x110 [ 243.034380] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 243.034386] RIP: 0033:0x7f2ec539c839 [ 243.034390] RSP: 002b:00007ffcfc620298 EFLAGS: 00000246 ORIG_RAX: 000000= 0000000139 [ 243.034396] RAX: ffffffffffffffda RBX: 000055d6a0147ec0 RCX: 00007f2ec53= 9c839 [ 243.034399] RDX: 0000000000000000 RSI: 00007f2ec507b0e5 RDI: 00000000000= 0000f [ 243.034402] RBP: 00007f2ec507b0e5 R08: 0000000000000000 R09: 00007ffcfc6= 203b0 [ 243.034405] R10: 000000000000000f R11: 0000000000000246 R12: 00000000000= 00000 [ 243.034408] R13: 000055d6a017b3a0 R14: 0000000000020000 R15: 000055d6a01= 47ec0