Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp141765rbe; Wed, 28 Feb 2024 15:12:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtydd1i4Ta9i5ZaLcMB3YfKglFFaaVmOfvseF4MqAbsN8plEtwxFjHZEjF1Yn1HOem6o3GEdSjCUQcN4jjmj0BvtHM+HEW+g9MgxhstQ== X-Google-Smtp-Source: AGHT+IH2baEiVjWtSdXPoaVL4qP0JMQYivbO/K7xxhaftLY13GzSGQERC/TdAl4tfT+p4LCLqbSI X-Received: by 2002:aa7:8c01:0:b0:6e4:8921:65b2 with SMTP id c1-20020aa78c01000000b006e4892165b2mr618997pfd.13.1709161941692; Wed, 28 Feb 2024 15:12:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709161941; cv=pass; d=google.com; s=arc-20160816; b=0bdd2AJBjDXlnO65bniU+X+aJmD4K62rtGeaz8kQqcvVDjg+iTvCDE5DzN3Ov4hC5U Ft0W0GGHymVft5wp22xQ1qu8W+kw9nvdqxpyg/Ugzrew3gWEn8tnix3EnhlTeAZreroC 5DntGfAbcL0PE1MGWBcVKqLCVo+dPh/lHASCQ1KziFgkB2FYoCkbn8yBSH+W+DqhUijx DrBD6197ahfMlbx6cPhtk+ulwChyb7d0K1aJpV0vV6keDACqO8An7JgrsMNQp7qX8B6J cV0p+bIPvEUdbfJP79OOjajl8tODG9h6UFs4cBaPZLZrWva1fi/5gK6gWSVRV7NjZUOg 5oFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=M2IAhhTxkG9uPUwm7NpsFl2OrlljKctFXF++HriPSyQ=; fh=XDUSSoJVeqZgxWm188W+Whoqbseo0Jh7pXDGUpOMpuk=; b=XLDoFGiuxlA1qiIugZyBWRyxZ3PQ1MUm/+G4FAl9hTQHvGlkcYkAPXGz5WsaYcdG/M Tmx3n9c9XhW8eKe0mXtmRirkiSHuf4nuyjHQAbk/DoeExsKVsNLEol1z9dsFqn7uQJyX 8mu9qWF3SeUBb98/I/6sonTZdDRQjyaHc7Q7TmeAWLIkSP4FoyxuOrGONzAZytlsXtW4 dY2144W6nGqpuX1s5P3L9gvXSDlw8WPWWQiJoS1UukDFk3PWYrfxVsRfo/qwOiFDs1gM 8NYbzhhp7kv3YnLscobxDv6/jdSkDUT9u6UeD5szuWvvIBBoC7QWtmNO0ZvvW9hiHDia f14Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZE9GA6zo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-85834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k27-20020aa7999b000000b006e45ba594a2si390659pfh.380.2024.02.28.15.12.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 15:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZE9GA6zo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-85834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 5E266282602 for ; Wed, 28 Feb 2024 23:12:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA7EF13D302; Wed, 28 Feb 2024 23:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZE9GA6zo" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 4843D13D2F2 for ; Wed, 28 Feb 2024 23:12:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709161935; cv=none; b=TiPf17JK2y/7PSC8fpfFEQlUlX4Z7cFybUOt5CxfGnxJUGfm1ldpJQs5fQqqkBbw3Nlp5KdEsgNNYOvt/itKseTG7NKy+s67Ncg77g4K92bURzlV+da7POHPg/W07T8jXXQkzL/0fLg4he/46RH9J3o3t9OYCBQfUdjOeQgIdMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709161935; c=relaxed/simple; bh=Kh9UkKZ1e7XMeFM+3ZNbmlTEAPU02Xhe90wn6scq6bg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=A/OJj/BiY61A/9Srtw7R/o0aIH7Moi4HQT+p6nEnWr9sFyAtCRqMwnBlMw1C447G4pTvp5Dv///ZFGPMaUzMxZzZUW8zYmo5x/iZ2PwmBQYPeSaf6izOweHu96xm7aePMqe7/HnTNvdV8cNhyebXS6Gizk4mc7UC6yC8ypG21Lc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ZE9GA6zo; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709161931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=M2IAhhTxkG9uPUwm7NpsFl2OrlljKctFXF++HriPSyQ=; b=ZE9GA6zofKGO/NKHhFIShE9bh2u9Rxr1EDdTZ6JdQG021+CibImeqoLB9rSjzCW1fKboAr R4euo3/VfwVG2pjeBCQkQet1qCJlm1zQ5lyxXifkDBy+DNNFKYoj1RBKezacwgjj5gQ2mV 9nJhlrCZxDlK9FPRUbBvWDPSOekB6AY= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-43-wAngxh49NwKGbkNq4RVWQg-1; Wed, 28 Feb 2024 18:12:10 -0500 X-MC-Unique: wAngxh49NwKGbkNq4RVWQg-1 Received: by mail-oo1-f69.google.com with SMTP id 006d021491bc7-59fbb444bacso248880eaf.1 for ; Wed, 28 Feb 2024 15:12:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709161930; x=1709766730; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=M2IAhhTxkG9uPUwm7NpsFl2OrlljKctFXF++HriPSyQ=; b=DlWTVl2Abdu1TlJccLSPITxopq0Tqs+Xd54SvKvD/P2LqLkoc4gIWuS1XttVpRTMtC Yg2Tn6XKUikDGdn2VbXqKiooLIH3f34jDr4sptGU4DtyV7Ge49ytqxJpiPK19QeNaS9s MGPTMmk9mv+TN7atN+FxHp5kxNG6DKAOqDy6PGrKRdz5rzx996ux6/7Cw2NpAKED2RNQ ov4D/WI52pS16oj2TxVdZhtag4VaRzU7iCTGjJpDS9VwYoqSbef0ZHtPCCWTYH1/06hS LWF9zjqynkoWlfhRtWv28zsAFQPCtDKDknQ6W5wq0ynbGIRROF00CQfUE0kQ1P7zKtIj d9Bg== X-Forwarded-Encrypted: i=1; AJvYcCUH7qw4eqqbREvEGIeVeNQ0f1uiw8MHRVkHv8hGLSSB6E+9zuAKATGfUDfaAVTU4AcvoPEvXhRmTgDlz2EiwJEAHD4P5xHrhRhXtq5F X-Gm-Message-State: AOJu0YzcmmLMal5l9VQbNX6n+Uy8DcvzMPiebQiaCXjpS+X5rbtyPWyv bFBHwvMDZVviPF6Gtc7RQJJOmM067bOc6NOmr862yzQbCeLPhB1Tg63KSw1G9d9frsQH/uFiADy xIzGO8xXLZ7bAAhq+Zxo+UhAT7WgGI91pyPDLY62w7rieuy8/1mL/KDsaZx3WXAjPC0cG6yBJx4 kXqX28R/77jHaP/ANyhLCBXhZxFjupmLXxB0/Z X-Received: by 2002:a4a:3447:0:b0:59f:fc2d:8179 with SMTP id n7-20020a4a3447000000b0059ffc2d8179mr493593oof.9.1709161929870; Wed, 28 Feb 2024 15:12:09 -0800 (PST) X-Received: by 2002:a4a:3447:0:b0:59f:fc2d:8179 with SMTP id n7-20020a4a3447000000b0059ffc2d8179mr493578oof.9.1709161929669; Wed, 28 Feb 2024 15:12:09 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228-tidss-dev-err-probe-v1-1-5482252326d3@redhat.com> <8734tcnt7y.fsf@minerva.mail-host-address-is-not-set> In-Reply-To: <8734tcnt7y.fsf@minerva.mail-host-address-is-not-set> From: Enric Balletbo i Serra Date: Thu, 29 Feb 2024 00:11:59 +0100 Message-ID: Subject: Re: [PATCH] drm/tidss: Use dev_err_probe() over dev_dbg() when failing to probe the port To: Javier Martinez Canillas Cc: Andrew Halaney , Jyri Sarha , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Andrew, Many thanks for proposing this. On Wed, Feb 28, 2024 at 11:02=E2=80=AFPM Javier Martinez Canillas wrote: > > Andrew Halaney writes: > > Hello Andrew, > > > This gets logged out to /sys/kernel/debug/devices_deferred in the > > -EPROBE_DEFER case and as an error otherwise. The message here provides > > useful information to the user when troubleshooting why their display i= s > > not working in either case, so let's make it output appropriately. > > > > Signed-off-by: Andrew Halaney > > --- > > There's definitely more spots in this driver that could be upgraded fro= m > > dev_dbg() to something more appropriate, but this one burned me today s= o > > I thought I'd send a patch for it specifically before I forget. > > --- > > Makes sense to me and I agree that's useful to have that information ther= e. > > Reviewed-by: Javier Martinez Canillas > Logging in /sys/kernel/debug/devices_deferred was useful for me, so Tested-by: Enric Balletbo i Serra Cheers, Enric > -- > Best regards, > > Javier Martinez Canillas > Core Platforms > Red Hat >