From nobody Fri Apr 19 06:20:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1528362613078789.4299090514123; Thu, 7 Jun 2018 02:10:13 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id DA0BB21123861; Thu, 7 Jun 2018 02:10:11 -0700 (PDT) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3F2D7210F2024 for ; Thu, 7 Jun 2018 02:10:09 -0700 (PDT) Received: by mail-wr0-x231.google.com with SMTP id l41-v6so9222151wre.7 for ; Thu, 07 Jun 2018 02:10:09 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:88ff:8f90:37f1:db91]) by smtp.gmail.com with ESMTPSA id z192-v6sm1001260wmc.10.2018.06.07.02.10.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Jun 2018 02:10:06 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::231; helo=mail-wr0-x231.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=6R5SjVtxVCNhRFpMVSQ+FRKczfx911bBv74qn+BLFv8=; b=UyJN7489i1xRjCsNRc0XQgR/25Y/pQs7br1pZyOkXb6LtfUvNyWEyLvFNk6lVmEYBa Qds1W33vpHGsDtFoG6v1C6+LQY8tYTGiUP4A7iOKf9Q488jJ6BXnFuWjVoFxXm5L8WkC E5+kggdSZFIEgJsSiQZKGHi3NKzkEt2OH3+V8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6R5SjVtxVCNhRFpMVSQ+FRKczfx911bBv74qn+BLFv8=; b=Ywr3pSrjcDbF/34cnuB46/kQ5SqydZ3+M7GcoIuuVMicwchBMYmB4T/dye3Tw4awzC rktIS2X3MzvmCPRXoDnnTz4Zyd4vIGFu2hyuceyfNPKaQh/ajjMeaUAAjRp8ffMpKf+T bWTnEe7Ab3DMW409a3FKwB/BgdKbZr+z9Tud6UZEkAV83dp9x/vObUf8br2UIUfrShun 55U0w30rS+WesqEEIdnWIGFt6Q32NGmf9Gi6QR2yAvz7VFxfG6G3JlKuYQZFJguiq7TS FdMssaefrHAklUIbsV9V4HVpaSLcXJIhlgcYgWFo80jPxjxk99ITbku71vnagvcbvNqB hZ+w== X-Gm-Message-State: APt69E09HsNl9tfF1pCR+T8DKlGG+8sc2uWNlYfvaYhQ+u/xmmzj9dSz OirBt1O0CQKu66cK9N+VBWDIO4nIkK8= X-Google-Smtp-Source: ADUXVKLqRCYeU48kiR9f3yWShvHM5e9Z35Oi6FvK8pkNiJPxzJW6HbE+TDbLJCYldbYEArhezQ/GVA== X-Received: by 2002:adf:86ae:: with SMTP id 43-v6mr858148wrx.281.1528362607636; Thu, 07 Jun 2018 02:10:07 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 7 Jun 2018 11:10:03 +0200 Message-Id: <20180607091003.8687-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Subject: [edk2] [PATCH] MdeModulePkg/EmmcDxe: demote DEBUG print to DEBUG_BLKIO X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: star.zeng@intel.com, Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Lower the priority of the DEBUG print in EmmcReadWrite(), which is emitted for each read or write operation to the eMMC device, which clutters up the log output of builds created with DEBUG_INFO enabled. Suggested-by: Pipat Methavanitpong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c b/MdeModulePkg/Bus/S= d/EmmcDxe/EmmcBlockIo.c index e1d0f394a954..f6b230514b71 100644 --- a/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c +++ b/MdeModulePkg/Bus/Sd/EmmcDxe/EmmcBlockIo.c @@ -901,7 +901,10 @@ EmmcReadWrite ( if (EFI_ERROR (Status)) { return Status; } - DEBUG ((EFI_D_INFO, "Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p wi= th %r\n", IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockN= um, (Token !=3D NULL) ? Token->Event : NULL, Status)); + DEBUG ((DEBUG_BLKIO, + "Emmc%a(): Part %d Lba 0x%x BlkNo 0x%x Event %p with %r\n", + IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockNum, + (Token !=3D NULL) ? Token->Event : NULL, Status)); =20 Lba +=3D BlockNum; Buffer =3D (UINT8*)Buffer + BufferSize; --=20 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel