Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4934683imm; Tue, 16 Oct 2018 02:26:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV63SRlJzsN2Ptli5J5rdOsj2yiqdKm2IDcN1Hg3fW+MOA8kRYMrJgyv5quWasDFqxGAb++Ly X-Received: by 2002:a63:7744:: with SMTP id s65-v6mr19525668pgc.197.1539682003538; Tue, 16 Oct 2018 02:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539682003; cv=none; d=google.com; s=arc-20160816; b=OXDpAyFrO8sWPlgVJKGWbSer5qedbycoAVWaJplkq8Irt6WQ/FNaAN/6GZKfT061Nh 1RQtroKcDdssysDdgdYuCXy4N3awnseiTrEb0fnVOUZO0PWW8kYkPy0wZAS89fcSFFcU pPEb5DedYOnu/mEvgIe5syFNjpt4i/Wywtr+Je97cSrDh/J8MO9WK8FTvX5RatihMF5o hMkeMb0wUzWUtXiE9/Adum9pUUWSPiyxeSfD7qkMOKVjwyPv0jzdOyfyhIuJkGmO5MzZ OcI5eHnRQdm6asTzGjlsQH5A0vDnfOj02omr8demYJVZN5VAeZ9n5eGVz6q/G9aPpYjN vJ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gQzTgNwonnE2BgYAb/eqjvVAa1rT4OYhHFeFhe6JftM=; b=xVM+1eiqGDoJ7yh3Hp0Qv8l4zwFvk9Ck8BQdsUbeJlElNzNEnIGpr5wfLVygnS2Sng wl/0Aw4XuaDpP8riQF/RogKiaSKDIIWnUAVmil5KLekmsGftzGS/hpZiayXmncg8DQkp zIYL5ZHycQIrBQPx0RYOGcnIR1NdTvxaq2aF7LvJbtUUCiVeHprdQeXyASp7h1uAZF2S q5JV5yd73tOylGohW/p1HOsdrp++nODTEtjtdnwlydqIu1MwP53voG4x2bQx9yG5azmM R83sMki+HKppmMuvp50BK6fLQ2aa7toYcAlyGNlsR6nimOGQCyh2jWwLBsHrPrIVMHfi TzKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=MPiW+ydO; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1-v6si13629428pgq.1.2018.10.16.02.26.27; Tue, 16 Oct 2018 02:26:43 -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=@sirena.org.uk header.s=20170815-heliosphere header.b=MPiW+ydO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727002AbeJPRPR (ORCPT + 99 others); Tue, 16 Oct 2018 13:15:17 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57572 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbeJPRPR (ORCPT ); Tue, 16 Oct 2018 13:15:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gQzTgNwonnE2BgYAb/eqjvVAa1rT4OYhHFeFhe6JftM=; b=MPiW+ydO98+HUl3wsUIiseV9o LUuFv2lImmBCXxRIs+kvjEgAf5ecdea8fU+uIFRsthrOWCw4sWboYgK0joE49mBwd+7PN8YlvYsQr Lp6oUrM43OFSsNEhIisuEELARB8hzZuh/fdVn8YUZmtpMdCWsKnvVLm+Uo7pFW64d/P84=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gCLbe-0004l9-6K; Tue, 16 Oct 2018 09:25:38 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id D90CB11223A4; Tue, 16 Oct 2018 10:25:37 +0100 (BST) Date: Tue, 16 Oct 2018 10:25:37 +0100 From: Mark Brown To: Andrzej Hajda Cc: Greg Kroah-Hartman , Bartlomiej Zolnierkiewicz , Marek Szyprowski , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org, andy.shevchenko@gmail.com Subject: Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property Message-ID: <20181016092537.GC7449@sirena.org.uk> References: <20181016072244.1216-1-a.hajda@samsung.com> <20181016072244.1216-3-a.hajda@samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <20181016072244.1216-3-a.hajda@samsung.com> X-Cookie: Huh? 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 --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 16, 2018 at 09:22:43AM +0200, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function introduced recently, > ie. if probe_err will be called with -EPROBE_DEFER instead of printk the message > will be attached to deferred device and printed when user read devices_deferred > property. Nice! Reviewed-by: Mark Brown --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlvFrpEACgkQJNaLcl1U h9CbIgf9Fqzk0pxepYySE69XTPCrVnmprj6birPABbDFD553PCZsbvhoGdZTFpE+ 18+Wu8KAzkLSWAE7Ll5zstpSaEIXm/9KRsjkhWDxst5T/F9Q7yB6Yd3vGNzbBiwn 1B9eUfXYMPYlGogVNrT+T3hViBEBzeQ2V1QaAAR1fAK/xgREdo5l8EQsMgUzOAua TyZ6mNeCElrNo5XuLcT3JQpE75vxeZ+1QShCCP7S/jXYpJRhUs2IrL4nBH9T0M1N ChIrKHq7YEE6nena7vbce8chBQXhV6Pb7R6qZvuY1x8cUYxUquLzuxt4XCjhHQ9k 2k5a+byuBeXD0+SYrha4EBXe2pH0FQ== =vgHN -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd--