From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 743B3C433E0 for ; Fri, 26 Jun 2020 14:06:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 56694207E8 for ; Fri, 26 Jun 2020 14:06:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729152AbgFZOGF (ORCPT ); Fri, 26 Jun 2020 10:06:05 -0400 Received: from mga11.intel.com ([192.55.52.93]:39350 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728751AbgFZOGF (ORCPT ); Fri, 26 Jun 2020 10:06:05 -0400 IronPort-SDR: sTj+j+7cQnkWxJNt9jUPvxMtZclLkPiaHi6Sjdh9XlC1UjPUiIpkHxM5zsLMhNWeBquQ68VOio rgUQUgsVCPUQ== X-IronPort-AV: E=McAfee;i="6000,8403,9663"; a="143570443" X-IronPort-AV: E=Sophos;i="5.75,283,1589266800"; d="scan'208";a="143570443" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jun 2020 07:06:04 -0700 IronPort-SDR: a03YRrCYW3qc/CtofInwNcdVlYUn2W5j+ZlrCKhYIymrXsxMYL7AtpRIhd2ASyU0cbYu2mMpl5 OSU0zSEf4qKw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,283,1589266800"; d="scan'208";a="320011601" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by FMSMGA003.fm.intel.com with SMTP; 26 Jun 2020 07:06:01 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 26 Jun 2020 17:06:00 +0300 Date: Fri, 26 Jun 2020 17:06:00 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Daniel Vetter Cc: Luis Henriques , Lyude , David Airlie , Linux Kernel Mailing List , dri-devel , Thomas Zimmermann Subject: Re: Warning triggered in drm_dp_delayed_destroy_work workqueue Message-ID: <20200626140600.GA6112@intel.com> References: <20200625102221.GA66817@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Patchwork-Hint: comment User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 03:40:20PM +0200, Daniel Vetter wrote: > Adding Lyude, she's been revamping all the lifetime refcouting in the > dp code last few kernel releases. At a glance I don't even have an > idea what's going wrong here ... Already fixed by Imre I believe. 7d11507605a7 ("drm/dp_mst: Fix the DDC I2C device unregistration of an MST port") > -Daniel > > On Thu, Jun 25, 2020 at 12:22 PM Luis Henriques wrote: > > > > Hi! > > > > I've been seeing this warning occasionally, not sure if it has been > > reported yet. It's not a regression as I remember seeing it in, at least, > > 5.7. > > > > Anyway, here it is: > > > > ------------[ cut here ]------------ > > sysfs group 'power' not found for kobject 'i2c-7' > > WARNING: CPU: 1 PID: 17996 at fs/sysfs/group.c:279 sysfs_remove_group+0x74/0x80 > > Modules linked in: ccm(E) dell_rbtn(E) iwlmvm(E) mei_wdt(E) mac80211(E) libarc4(E) uvcvideo(E) dell_laptop(E) videobuf2_vmalloc(E) intel_rapl_> > > soundcore(E) intel_soc_dts_iosf(E) rng_core(E) battery(E) acpi_pad(E) sparse_keymap(E) acpi_thermal_rel(E) intel_pch_thermal(E) int3402_therm> > > sysfillrect(E) intel_lpss(E) sysimgblt(E) fb_sys_fops(E) idma64(E) scsi_mod(E) virt_dma(E) mfd_core(E) drm(E) fan(E) thermal(E) i2c_hid(E) hi> > > CPU: 1 PID: 17996 Comm: kworker/1:1 Tainted: G E 5.8.0-rc2+ #36 > > Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.14.2 05/25/2020 > > Workqueue: events drm_dp_delayed_destroy_work [drm_kms_helper] > > RIP: 0010:sysfs_remove_group+0x74/0x80 > > Code: ff 5b 48 89 ef 5d 41 5c e9 79 bc ff ff 48 89 ef e8 01 b8 ff ff eb cc 49 8b 14 24 48 8b 33 48 c7 c7 90 ac 8b 93 e8 de b1 d4 ff <0f> 0b 5b> > > RSP: 0000:ffffb12d40c13c38 EFLAGS: 00010282 > > RAX: 0000000000000000 RBX: ffffffff936e6a60 RCX: 0000000000000027 > > RDX: 0000000000000027 RSI: 0000000000000086 RDI: ffff8e37de097b68 > > RBP: 0000000000000000 R08: ffff8e37de097b60 R09: ffffffff93fb4624 > > R10: 0000000000000904 R11: 000000000001002c R12: ffff8e37d3081c18 > > R13: ffff8e375f1450a8 R14: 0000000000000000 R15: ffff8e375f145410 > > FS: 0000000000000000(0000) GS:ffff8e37de080000(0000) knlGS:0000000000000000 > > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > CR2: 0000000000000000 CR3: 00000004ab20a001 CR4: 00000000003606e0 > > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > > Call Trace: > > device_del+0x97/0x3f0 > > cdev_device_del+0x15/0x30 > > put_i2c_dev+0x7b/0x90 [i2c_dev] > > i2cdev_detach_adapter+0x33/0x60 [i2c_dev] > > notifier_call_chain+0x47/0x70 > > blocking_notifier_call_chain+0x3d/0x60 > > device_del+0x8f/0x3f0 > > device_unregister+0x16/0x60 > > i2c_del_adapter+0x247/0x300 > > drm_dp_port_set_pdt+0x90/0x2c0 [drm_kms_helper] > > drm_dp_delayed_destroy_work+0x2be/0x340 [drm_kms_helper] > > process_one_work+0x1ae/0x370 > > worker_thread+0x50/0x3a0 > > ? process_one_work+0x370/0x370 > > kthread+0x11b/0x140 > > ? kthread_associate_blkcg+0x90/0x90 > > ret_from_fork+0x22/0x30 > > ---[ end trace 16486ad3c2627482 ]--- > > ------------[ cut here ]------------ > > > > Cheers, > > -- > > Luis > > > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Ville Syrjälä Intel