From nobody Sun May 19 00:47:57 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+106424+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106424+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1687864646; cv=none; d=zohomail.com; s=zohoarc; b=DZ38TkX8KBYu0hRs4Sbm86Ry5mv0/4duPZSQ0ZJFb/Vw4W+D2+VWLyuJf8CYnAVzByImlsjyvjuihP37Jd/uiQqAA+Yj8FpzFqIk+uh7q+4z/ErCQUxU3GTNppbjqQXZjtRpYunIj9PxQV4RCyuq0Co2kJebSVObSqwrpLUPX4A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687864646; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=jr67NBVJi9kWmOuzQ/8Wm/JjssMayi8bNh+PIhMbRtg=; b=TAe/M6Zv39gs9CWbPhlpSLzgy3WybT/zLavQ3SpjjN2BNM0pjSRHECx+4h/sEN1CMJthXfhQxSTuQpIhb+wvKOzjf+CmICiWgvdu77RKIdOH+FLFhKlgPbsBHWvp6Wk7PqM9WfbUv2l6VL7Lpdz7lAAcDWV05Z+/5JG/pv++B4M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+106424+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1687864646574242.49899677125995; Tue, 27 Jun 2023 04:17:26 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bJYIYY1788612xiZLh4TF0MR; Tue, 27 Jun 2023 04:17:26 -0700 X-Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web11.10434.1687864645056383284 for ; Tue, 27 Jun 2023 04:17:25 -0700 X-Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6831261117; Tue, 27 Jun 2023 11:17:24 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00A4BC433C8; Tue, 27 Jun 2023 11:17:22 +0000 (UTC) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: kraxel@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH] OvmfPkg/VirtioSerialDxe: Remove noisy debug print on supported() call Date: Tue, 27 Jun 2023 13:17:16 +0200 Message-Id: <20230627111716.1022950-1-ardb@kernel.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ardb@kernel.org X-Gm-Message-State: Qq91YLi8Z3BOjt7ujyjhWp3ax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1687864646; bh=p7LIzctEIH7+XB3OTUCrddIsrYZOXEJW09D+DU7Gk/I=; h=Cc:Date:From:Reply-To:Subject:To; b=xVMTdBVUGcJW0Z0H8x0IozEWvbkTGq+mx9V88+jjK2YDEDuq3Fmy41ytxqXnC9dTr9M b/LsiK+JQG1MK8Bsmqy1aBsNtP8/3NKUHDrLcd1y247wKQd5iCuYsUZfONrspeOmP0Wjz stoVYDLuOTHyBZdcBkNnEMJzDTWmScds/Rg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1687864647980100003 Content-Type: text/plain; charset="utf-8" The UEFI driver model invokes the supported() method on every driver every time a connection attempt is made on any handle, and so doing an unconditional DEBUG() print inside this method produced a lot of noise. So let's drop this DEBUG() call from the VirtioSerial driver's Supported() method. Signed-off-by: Ard Biesheuvel Acked-by: Gerd Hoffmann --- OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c b/OvmfPkg/VirtioSerialD= xe/VirtioSerial.c index df545c080e9d9212..fd34ad75a9a079ce 100644 --- a/OvmfPkg/VirtioSerialDxe/VirtioSerial.c +++ b/OvmfPkg/VirtioSerialDxe/VirtioSerial.c @@ -510,8 +510,6 @@ VirtioSerialDriverBindingSupported ( Status =3D EFI_UNSUPPORTED; } =20 - DEBUG ((DEBUG_INFO, "%a:%d: subsystem %d -> %r\n", __func__, __LINE__, V= irtIo->SubSystemDeviceId, Status)); - // // We needed VirtIo access only transitorily, to see whether we support = the // device or not. --=20 2.39.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106424): https://edk2.groups.io/g/devel/message/106424 Mute This Topic: https://groups.io/mt/99807185/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-