Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp714014lqs; Tue, 5 Mar 2024 14:23:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWieZrwMKdpD8SBRiAmHJa1OdJMCwMGqR3yfbhhJtI5IL6mP5pXU5AvPJsSyN1HQ/yjsCeNlprKy8V03lHYRTNrGZjjNy3qDs7maP69yg== X-Google-Smtp-Source: AGHT+IFSCEjYddbqDTBiReNl5dzeXSENV8rL9k6AcvK8ENpI0WD1fCnMzxaqXkIJt4deUOcXqvwA X-Received: by 2002:a05:6e02:12e4:b0:365:1dd4:f0ee with SMTP id l4-20020a056e0212e400b003651dd4f0eemr14665357iln.28.1709677384449; Tue, 05 Mar 2024 14:23:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709677384; cv=pass; d=google.com; s=arc-20160816; b=j6aAGDSi/RAE23AltcCBTxPnaXAHHGNafhT+VwBg2C/nF+bv1f033urStr7O7TPDeu 8/D7tG499sc/+xX0SExFl28zRCz0iS38F6wnF+R5pH2LmfMaIcX86ReIUdnL57IUvDVd hpcVZrU4xH89UIZAXjDazXc0S7M3eEKCAY3ePe0IyJHsTABtuJxTkfXXqHVHOAeGKn/6 PHxQsC/jM4aFYZSZjYSaLjCXHmninvPcgomEGL06BK4GMdVvBx6gkbKF5DEK1W9P95CM uw+JQd0aFTB+BO/GWLwc9SBcGlp4SlXs3AHwDT86YEqWkPpG17AneQmNeltzRLYtJGjt pBGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=FD16/QXoD0HhdmnWagXbWoKSzU7N5uefNGPi8v5ovjg=; fh=KqXweBIYLVBEmn8WAdWYvrcTbHX9QZ7HV/DMSdQWQKM=; b=kYtvEYKTe1XTs3xJPHWLwluZINeu0hCKCs2qy/NvYtKwzd9vvpDQd8T5EeQh6y2kE8 WIVklhHm4djmurmxEq45H0kXnpb+cq1N7ocXDThICX2YjEW370C8CWUmQmDaThl+zTz3 uB9jDyzb2y2fsK+X2ebby9qfAqbVd7B0i8zZ0WHJYcPE3iOJXSnid+12kslF5GOOM0JY BRGl9PAzaiNJ4Nr/fnhb+6IV8M12zlJ5afzKEdoqJ1+FE6w00UxicemHkFqwIwYa3FZt S3hoHPWFfD8gFX9l1QKS7TYhPv9Fr8HeR0Z17cja8Q5XWaun/hg7f0SWm2nU8piU5XtW FWOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gnupJWDc; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-93052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h6-20020a635306000000b005dbc6dc4cdasi11027836pgb.255.2024.03.05.14.23.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 14:23:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gnupJWDc; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-93052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9000E28B6FC for ; Tue, 5 Mar 2024 22:22:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 187D012DD9E; Tue, 5 Mar 2024 22:22:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="gnupJWDc" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDCA712D21C for ; Tue, 5 Mar 2024 22:22:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709677326; cv=none; b=lMoEwYhhRAFmizzufNm5qw1VWFP976hKxt1QId7cqt3ZBj8Ffv7UFOFSHOdnmBgfAXIQoFsxxEj+erb5RgeS8TJWgwm8H8bWzMF1N0Rc5AbVatREhvv2FURFsJpy/TuB4D6GrLjbLbA+psn6LyLWSwHbelrwxg0Vw/E2FvQ9sQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709677326; c=relaxed/simple; bh=ueJ7QuGdrFeDy9rt+nAOirnh5rRQTBpmmXZN2CyaBvo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rVMcI5Nn39eqoyHWeYrSESCb87pc5N19EaJc4+isHwN6eTjrXfQnRCLIYxxfCSa1M1KrMxTDzg+S5VahR/ur04Mzcff6SFpyxffEUbPU/fy2c6ozQwvLq4+ucjlRTC8SZLCcOlbBXxe7BrqnDv76OFRUyCcS+6nqrVyLTCeeYB4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=gnupJWDc; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1709677323; bh=ueJ7QuGdrFeDy9rt+nAOirnh5rRQTBpmmXZN2CyaBvo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gnupJWDcNFoB36925/ihi/i+LnyCE75fEmpr1Sakh3nLN4R6/mQzcdiCmlYeyrkFz Y7foQZut5Xhz9fByaqxguV8w0ZkMM7zmmWz0RTcYbqQ5ERsFC2o3cEO5C4f7cMQa4T LlR747HjtiY41JP0C50pKaeeSUrufQynfTwcm0TGi7QWpJPrlbtMYqMIaNwElK33Oe SF42KdOm8PmeLgVGIsaJhOL5bz6JKoKVKkarT43h06OPU7MXb/t3RvVJGTnS+PAmip mKMCsLhmeeLQiW19zvkVOn7V8iAM7G3wtwljKG2cLVlS8kc2KNBAztvEVD/gwtI/LE 57ubmy3VmKxDg== Received: from [192.168.1.241] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 427413781FCE; Tue, 5 Mar 2024 22:22:02 +0000 (UTC) From: =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Date: Tue, 05 Mar 2024 17:21:38 -0500 Subject: [PATCH 3/3] device: core: Log warning for devices pending deferred probe on timeout Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240305-device-probe-error-v1-3-a06d8722bf19@collabora.com> References: <20240305-device-probe-error-v1-0-a06d8722bf19@collabora.com> In-Reply-To: <20240305-device-probe-error-v1-0-a06d8722bf19@collabora.com> To: Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, =?utf-8?q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= X-Mailer: b4 0.13.0 Once the deferred probe timeout has elapsed it is very likely that the devices that are still deferring probe won't ever be probed. Therefore log the defer probe pending reason at the warning level instead to bring attention to the issue. Signed-off-by: NĂ­colas F. R. A. Prado --- drivers/base/dd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index d6e7933e2521..83d352394fdf 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -313,7 +313,7 @@ static void deferred_probe_timeout_work_func(struct work_struct *work) mutex_lock(&deferred_probe_mutex); list_for_each_entry(p, &deferred_probe_pending_list, deferred_probe) - dev_info(p->device, "deferred probe pending: %s", p->deferred_probe_reason ?: "(reason unknown)\n"); + dev_warn(p->device, "deferred probe pending: %s", p->deferred_probe_reason ?: "(reason unknown)\n"); mutex_unlock(&deferred_probe_mutex); fw_devlink_probing_done(); -- 2.44.0