Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5231011imm; Tue, 31 Jul 2018 07:36:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpez6kuhAreakvwg8UgICsP/9iXPnbO20QkASehLYVRG6MG9aKzSHmNR9CJMx+KBo38AScOX X-Received: by 2002:a65:60cd:: with SMTP id r13-v6mr20772011pgv.232.1533047797865; Tue, 31 Jul 2018 07:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533047797; cv=none; d=google.com; s=arc-20160816; b=nsi6SGMguWtbOcX99+JbU88tZO4acV0DR+LHWD3Kvv+1zXNy7Hj3LbhjxgrjcX7VTj p39wmhnVDBmn8fzQxLZSGX6K9oa5LnBrg3OvOeEbZI8SrdWvFrKwQdHj0pnNw9qcxVST uI+Vw6AKqECUwZ115WJGhvdIZRjP6TeLFEAzcEN8IMPuA9F0qTaPK5ySN9+NjaNoFg7U a1Z8fDH+UneA5fppJyF+JCB2THoXNBDTHVe9/rphslt53+zK+4/Uug9Utb4rTNivxIOR FE5HL1kQEJNo+cfIuP87EGJRp+7XvPtzjbpQ9eiLvX20ULTSWI2lum5qBy3DDm00GXxo LCWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature:arc-authentication-results; bh=6pwWLaDWsvhtFm4Sm/5XTekT8dKVGGn59783sYKb3D4=; b=Pzs5xP8Hs7heOj0GeyMVV378R4qSYOmZa++G+uVvsv3XmRQmtuirOMPcvuvqcxflmg WV8V7FluaoFJzOzlKf7Va0zBs3HReOQUNPm1Lb0eiZnqO3ZL5FJz5F0QjZ5moIX33DCo idD7LsKmX7mtRyQw4rgrW4dUxm07nC9yJSQdcvb27qzmzafeGRywJWQiTQsNzN3LcXb2 85Bq4omxY1JeWgLOA5kmhHX/0xFlId9YmgyEm8dFuffCiNikrcGzfASMzpEDyWvqW89f dYudA4WlDqPD/FWZd9nJqlyH9zDqLLGr3yJRSHZ4HKMN51HL7EeVgkeZcg7DaIS7/DVE w3Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@awxrd.com header.s=fm3 header.b=REdscCXX; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RpWHRGI3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1-v6si11851962pgv.652.2018.07.31.07.36.23; Tue, 31 Jul 2018 07:36:37 -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=pass header.i=@awxrd.com header.s=fm3 header.b=REdscCXX; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RpWHRGI3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732411AbeGaQQJ (ORCPT + 99 others); Tue, 31 Jul 2018 12:16:09 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37965 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732231AbeGaQQI (ORCPT ); Tue, 31 Jul 2018 12:16:08 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 629EC21BA5; Tue, 31 Jul 2018 10:35:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 31 Jul 2018 10:35:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=awxrd.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=6pwWLaDWsvhtFm4Sm/5XTekT8dKVG Gn59783sYKb3D4=; b=REdscCXXoYrbYtgFyj7FkdO7FWhdhyoVH7q+z5BW6DJjR 0N9grg6d6KsbMfSgGIf5yvwBE6UkiyeE5/JHW28QlRbs+oUuHaoViVBRrheKRpd1 3w0Sy/u/V0qV6r9sGsJzcB1ep3xGbiXjFn+lduOVpYHEWoZV/k01aUUh1efp+FNx tlXH8acsmr81oni25hNSiRtuLFrRODHuoksrNAjp7dph3RULoemgt1A1WD5DURci g15zM0O+nqOJQA7Haz9tOb0U+8ze9cp17tRYyEaQQcjR9DeEdLpod0u+rnKtHcxi pZ9zFjuFxE71ansDBbh8mP3QEXSht0MGKxQNPADQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6pwWLa DWsvhtFm4Sm/5XTekT8dKVGGn59783sYKb3D4=; b=RpWHRGI39+bkDhljwikpNB +0ftBcRz/DYK909dR4VrOrZCTNpoWec7SHD9fwbwqim35yzkuL0uxh46xVdaXuWY lr2Sw7zBp+xHKTjcUnUzOFOgTRP0zrypUlyXP1KZq3ZNkttaMMb/odfTMfq/CIbu hjYo4m3q+HbNk5TJHKLlADKzqa4BYjq95i8uCN/dvt0F7JtE2aynx4VAZel+jmwq NgaxElKI1QbVf7dRnpfdERP2RRoG3nQlN4hCXYp1ex6WtF9sXiAy4mW2VGSPjoLT ybgGAAXJLy/tOecbe/haGgfvvxxxRittQiDSUfnBC/msEYk3F2hzpvCsVSj5HXfQ == X-ME-Proxy: X-ME-Sender: Received: from allworx.com (unknown [24.213.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id C3722E425A; Tue, 31 Jul 2018 10:35:27 -0400 (EDT) Date: Tue, 31 Jul 2018 10:35:25 -0400 From: David Rivshin To: "H. Nikolaus Schaller" Cc: Ladislav Michl , David Rivshin , Andreas Kemnade , linux-pwm@vger.kernel.org, linux-omap , Tony Lindgren , Keerthy , Linux Kernel Mailing List , Thierry Reding , Discussions about the Letux Kernel Subject: Re: [PATCH] pwm: pwm-omap-dmtimer: fix probing problems by returning EPROBE_DEFER Message-ID: <20180731103525.7d4c5b47.drivshin@awxrd.com> In-Reply-To: References: <20180728165914.15871-1-andreas@kemnade.info> <20180728203501.GA16194@lenoch> <20180729180804.GA18468@lenoch> <920A2836-9266-46F8-9A3F-111C01999C9E@goldelico.com> <20180730185625.14c0feca.drivshin@awxrd.com> Organization: Allworx X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 31 Jul 2018 08:35:26 +0200 "H. Nikolaus Schaller" wrote: > > Am 31.07.2018 um 00:56 schrieb David Rivshin : > > > > On Sun, 29 Jul 2018 20:19:08 +0200 > > "H. Nikolaus Schaller" wrote: > > > >> Hi, > >> > >>> Am 29.07.2018 um 20:08 schrieb Ladislav Michl : > >>> > >>> On Sun, Jul 29, 2018 at 08:32:41AM +0200, H. Nikolaus Schaller wrote: > >>>> Hi, > >>>> > >>>>> Am 28.07.2018 um 22:35 schrieb Ladislav Michl : > >>>>> > >>>>> Hi Andreas, > >>>>> > >>>>> On Sat, Jul 28, 2018 at 06:59:14PM +0200, Andreas Kemnade wrote: > >>>>>> I got this in the kernel log: > >>>>>> [ 0.756042] omap-dmtimer-pwm dmtimer-pwm: dmtimer pdata structure NULL > >>>>>> [ 0.756134] omap-dmtimer-pwm: probe of dmtimer-pwm failed with error -22 > >>>>>> > >>>>>> the probe function has to wait until omap_dm_timer_probe() in > >>>>>> clocksource/timer-ti-dm.c has initialized pdata, so defer probing > >>>>> > >>>>> There already is a patch by David Rivshin addressing the same issue... > >>>> > >>>> Here it is: > >>>> > >>>> https://patchwork.ozlabs.org/patch/943148/ > >>>> > >>>> but hasn't arrived in linux-next. > >>> > >>> That's because there'll be v3. > >>> > >>>> But it is questionable if a driver should dev_info() about doing deferred probing. > >>>> IMHO, it should just do it which is how Andreas' patch works. > >>> > >>> See here: https://patchwork.ozlabs.org/patch/949659/ > >> > >> Ah, I see (neither Andreas nor me did follow the original discussions > >> and therefore came up independently with the same thoughts). > > > > Seems a lot of us have tripped over this problem at roughly the same > > time. I'm hoping Thierry picks it up in time for the 4.19 merge window. > > Well, if possible it should be backported to 4.18 and 4.17. Agreed. I have a Fixes: and CC:stable in the commit message, so it should get backported shortly after getting merged to mainline. I assume it's too late for 4.18-rcX since it's not in linux-next yet, which is why I said hopefully 4.19-rc1. > > > > >> So we will wait for the v3. > > > > FYI, v3 has been posted: https://patchwork.ozlabs.org/patch/951299/ > > Let me know if you feel strongly enough about having no message > > (vs dev_dbg) for me to spin a quick v4. > > I am fine with dev_dbg. > > > Seems like each additional > > pair of eyes leans in that direction. > > > > Ladislav, I realized just after I sent that I forgot to add your ack > > to the commit message. Sorry for the oversight. > > > > BR and thanks, > Nikolaus >