Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4795816imm; Mon, 30 Jul 2018 23:37:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeQ/g6VBb/J6XlheEzjZr44O2B2w64dvbXr/b6e6HMoCt7xVY0Nlb3QrWaA/94QATsaQZVX X-Received: by 2002:a17:902:a50a:: with SMTP id s10-v6mr10005772plq.147.1533019071556; Mon, 30 Jul 2018 23:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533019071; cv=none; d=google.com; s=arc-20160816; b=vxOhf7JzFnoel/tLtQyTP3EzsdVmzRp4DVtyrmjDP6g9o6xJQo24Qu23j8eWiDGzKU COsK/lobmKzBjFsD8w7HJW8e7qUKd6Zhpa2nX+PJnou+F59QYX5Pgc7wTJSkQG+ekPt3 crGsVNXvLu4KIsnp7DYiHFIe/r/Wseev1gKaNiHoaFb2A2MyQ1K0uIqam2T4bkzKv1id Z2osFrS6QFu2Nm9CzaKkDo51CYmZpByPP5vMjo7uaBeXxDPra5zbTDw8rO9MQttLS6C/ Q0XwgtHUwnBALZUNaGxCQLJgjtew5G2QGJY/zlb31kf1JFWRXu3d7or/2+UpeNb1P+2b wrqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=BZ/JnPnFl0fL+3WgtHllJq3OJOzTu28euWK5jd0fzsg=; b=u0klY6cmY0SEs+LcOCzTIxUyk8a54I/Z3L8BEL6H5FF/obszJwiD02qiNKTX/9Ce02 09Js/FeiIHmeob+zhnU5RF7j92GnlL6+LfOJeKXtNix45MjYxXtKa3n7MtcO77/QfhAE vGCUAo4DzMTroUwu/eMa+V7Cxh3R7prdAsv7IJX4BrRFMOqHUHwyKTiyRjhc/DdkYPNm z03jQVI/tFE1pgp6nbIokdP0GQC2UwplN094vlACfM6+BexshnbKQWqNby5YAnBi8pZI hE6d10j5kStJzvIrLixG2K8RIdH5A9kDf/9cHvuriVIin5Vq5zYJwVlHGn904UAGxgsG 3ZqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=h32cCjul; 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 144-v6si9919535pfw.95.2018.07.30.23.37.37; Mon, 30 Jul 2018 23:37:51 -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=@goldelico.com header.s=strato-dkim-0002 header.b=h32cCjul; 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 S1729409AbeGaIO1 (ORCPT + 99 others); Tue, 31 Jul 2018 04:14:27 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.50]:33767 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726369AbeGaIO1 (ORCPT ); Tue, 31 Jul 2018 04:14:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1533018941; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=BZ/JnPnFl0fL+3WgtHllJq3OJOzTu28euWK5jd0fzsg=; b=h32cCjulifeJwJxvMh98ZniqDXz79VUjAKy4VWYqdeufLHG7/0ZRZhFsColn/bnRHl 72itZyM+aOFxe83L9/9pnLdZsmk2UmFouUsHy55ueroCXpQC79fkvij6WNHukRWDVEbE kovl0QEWUqasoNQyMEU6ZJIX4rxEj49RzppOdYRRN8dFtuAvPECNEQ3ZIO2XaTB+V1yb Xet1II4c4iWAHPgy+d1JHwWZCvF053xNQU3EoHRDGHbS4cGZMbT3DJeVzBnPZLpAgSta Chvep3ST0vX8mugBaRu3IQMoLm+bLeerjXfoxSNAt8uVZsx4CthK48lbyf51p/2kLUD8 QGOQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5gpw91kgwllX1BqIbuk=" X-RZG-CLASS-ID: mo00 Received: from mbp-13-nikolaus.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6V6ZRwEc (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 31 Jul 2018 08:35:27 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] pwm: pwm-omap-dmtimer: fix probing problems by returning EPROBE_DEFER From: "H. Nikolaus Schaller" In-Reply-To: <20180730185625.14c0feca.drivshin@awxrd.com> Date: Tue, 31 Jul 2018 08:35:26 +0200 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 Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: David Rivshin X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 31.07.2018 um 00:56 schrieb David Rivshin : >=20 > On Sun, 29 Jul 2018 20:19:08 +0200 > "H. Nikolaus Schaller" wrote: >=20 >> Hi, >>=20 >>> Am 29.07.2018 um 20:08 schrieb Ladislav Michl = : >>>=20 >>> On Sun, Jul 29, 2018 at 08:32:41AM +0200, H. Nikolaus Schaller = wrote: =20 >>>> Hi, >>>>=20 >>>>> Am 28.07.2018 um 22:35 schrieb Ladislav Michl = : >>>>>=20 >>>>> Hi Andreas, >>>>>=20 >>>>> On Sat, Jul 28, 2018 at 06:59:14PM +0200, Andreas Kemnade wrote: =20= >>>>>> 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 >>>>>>=20 >>>>>> the probe function has to wait until omap_dm_timer_probe() in >>>>>> clocksource/timer-ti-dm.c has initialized pdata, so defer probing = =20 >>>>>=20 >>>>> There already is a patch by David Rivshin addressing the same = issue... =20 >>>>=20 >>>> Here it is: >>>>=20 >>>> https://patchwork.ozlabs.org/patch/943148/ >>>>=20 >>>> but hasn't arrived in linux-next. =20 >>>=20 >>> That's because there'll be v3. >>>=20 >>>> 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. =20 >>>=20 >>> See here: https://patchwork.ozlabs.org/patch/949659/ =20 >>=20 >> Ah, I see (neither Andreas nor me did follow the original discussions >> and therefore came up independently with the same thoughts). >=20 > Seems a lot of us have tripped over this problem at roughly the same=20= > 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. >=20 >> So we will wait for the v3. >=20 > 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=20 > pair of eyes leans in that direction. >=20 > Ladislav, I realized just after I sent that I forgot to add your ack > to the commit message. Sorry for the oversight. >=20 BR and thanks, Nikolaus