Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6414316imu; Wed, 14 Nov 2018 00:46:12 -0800 (PST) X-Google-Smtp-Source: AJdET5dyzBrBwRJCWAwUjBlbVsr5TWd6KdCTTqNUA750sXrreBgUPbYKAs9bMhpUt/zDm3klrf6t X-Received: by 2002:a65:560e:: with SMTP id l14mr954118pgs.168.1542185172435; Wed, 14 Nov 2018 00:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542185172; cv=none; d=google.com; s=arc-20160816; b=w5LP/akfvRlxEendJMZtUHxkHWgT/ue7Bwd/H2dW3MSduoLsrSX/xDsNAg+Y9nzNKT wtRdIzGpSWMOQuwCo6ZmIBu/3GydOe2GHj5LdDRE86e4TVLBKMXPUDQuUDWNT8rjxJcu fMBk3703nJ2CVo4C+ylYU6zlB2+PX7MZQq/145gugxcy+yqaYYzAkEaXat8fVH6ff2c/ Cu9wywdSUiCTq6Xzr6DT+M1CDUtgyf1KPPrqrqXAamFMx2XHH9IaN/kCylsdPt0+W88D O7VN8Xvw/0SBql+x/DxQciS/UUgGcn6vTD6IxgRIy7m1wccsqQjibE+AkI5KH9tXa4K+ V16g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9JqiqffogSxkMzHC76vZq7ygx2uB8l06NSTchXosjBc=; b=Du/ZSCQf4lm9SkhgWXwE1BUmN+0RO1VLckAwAkCyG7s8Ngyze5fnO8KhPp8rehrL30 Gt3bAXLBznbFZFaKSeUpKmfWmHTVNUmAcMFPBELJeexmcMUKRYh0LGmyHyjdk+RqHvWL yP4CZb7IGW8KOb5bmWfM+VKM74ZHtr05VarcEK49PUIqiBGUuUH2un1lckfBh33YyfBK ICkpzdgtgUtHt+u9n85uODtLxdEcBVtX9/EyfMxydym+HULrKivEFIXEBs9H+vqfebPe EPQts/VRRO+J4vDYPzHN8S3krMFXFS/lQEo0GDGKHJNMmhp/jvVgUx8XV69M/zYqsjKc z1cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VDWwsEME; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si22167199pgi.119.2018.11.14.00.45.56; Wed, 14 Nov 2018 00:46:12 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=VDWwsEME; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731846AbeKNSrv (ORCPT + 99 others); Wed, 14 Nov 2018 13:47:51 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:41880 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbeKNSrv (ORCPT ); Wed, 14 Nov 2018 13:47:51 -0500 Received: by mail-qk1-f196.google.com with SMTP id 189so24339677qkj.8; Wed, 14 Nov 2018 00:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9JqiqffogSxkMzHC76vZq7ygx2uB8l06NSTchXosjBc=; b=VDWwsEMEP82pcGao2BGghgqrYhPkM5hYRFP7eDGGCIdNUBRJtF7Lk6EgbBwlz8V7p3 YYnCemPYaV/aAz8sC2HPxWqZ6Sp8wnhKRA/nA8yx5voFQLDzOFTDxgtruEgF7PCZk/ES y2kACD6Z3qLFJRn7gkCv81yQh1P0I0bQjaAGkfSB04oEj1VchBtWUNazwvHlOfggSTtl 8ietrJmS0gegB5j6TVODFhj1zr2tOySH2PVrmKH7LDMQByEU8UW6xQK4fskthFhBJ25O uMlHEG58aeupi0RXWG3jhpk6Y+UkWURYgFw2jeaNX4C1ADzCOM6/OC46Dec4ZG/RYDDC p35g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9JqiqffogSxkMzHC76vZq7ygx2uB8l06NSTchXosjBc=; b=ejY0MZrddR8GM55GT2GHq8UW8kaHAdhaLcQkXNvBwe7AuBmxfB5gG/HtjrmRtfUsHH xek1thPqilFO2jJESWtpWMWu6eAMgB4RoG34DByOSUxnxnKflsTjrlB6r+qAIoI97ruP I1GwHN4Noh8yQqLwMMXJqelZtlDbd89iHGVmRsvd2QKN/jlNdzY2bRLoRibLXm7xCHii VXkg+BKklLSjlrhHenOCXXiYEBseiUbS7XRw8BgT3C8JQglBnXwDvb60lBjF75kF6O35 PYhGZqvFQ0ppNtFNy3Jw8jBann/m44Q2u8C4WP2ohd81wKp1dny+/igPjcDqPGpVK5oj oIcw== X-Gm-Message-State: AGRZ1gL8waKU6YqfJ6V8tflfkRcXmZlU0jW2zoheVgeVUhmBgWUecKIt EyJYWHSk/1hhUZ9f+UBD4dzreNWZI9pf+W2jkhM= X-Received: by 2002:aed:3b76:: with SMTP id q51mr844488qte.229.1542185133743; Wed, 14 Nov 2018 00:45:33 -0800 (PST) MIME-Version: 1.0 References: <20181110181101.24557-1-andriy.shevchenko@linux.intel.com> <1c2c1031-a6b4-cbce-ceed-c2ce229c204e@ti.com> <20181114003345.GV2089@sirena.org.uk> In-Reply-To: <20181114003345.GV2089@sirena.org.uk> From: Andy Shevchenko Date: Wed, 14 Nov 2018 10:45:22 +0200 Message-ID: Subject: Re: [PATCH v1 1/5] drivercore: Revert "deferral race condition fix" To: Mark Brown Cc: Peter Ujfalusi , Andy Shevchenko , MyungJoo Ham , Chanwoo Choi , USB , Felipe Balbi , Guenter Roeck , "Krogerus, Heikki" , rogerq@ti.com, Linux PM , "Rafael J. Wysocki" , Sebastian Reichel , Linux OMAP Mailing List , Darren Hart , Platform Driver , Greg Kroah-Hartman , Linux Kernel Mailing List , Chen-Yu Tsai , Hans de Goede , Grant Likely , Andrzej Hajda Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 14, 2018 at 2:34 AM Mark Brown wrote: > > On Mon, Nov 12, 2018 at 06:11:26PM +0200, Peter Ujfalusi wrote: > > > if we revert the commit then the original issue will re-surfaces. afaik > > it was not only audio which hit the 'last driver to be probed from the > > deferred list would never probe, unless we provoke the kernel to load > > additional module, or remove/reload the module' issue. > > Right, aren't we just going to be swapping one bug for another? Have anyone in possession of Davinchi tested most recent kernel with this revert? > > Do I understand correctly that in your case you have two modules > > (dwc3-pci and extcon-intel-mrfld) in a deferred probe loop, iow both of > > the drivers returns -EPROBE_DEFER and they just spin? > > > If both is deferring, how this supposed to work? > > I'm struggling to follow the original explanation too :( Sorry, guys, I confused a nit myself. The bug is there, but exxplanation is not fully corrent, indeed. I'll come back with more details later. -- With Best Regards, Andy Shevchenko