From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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) 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) 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) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: star.zeng@intel.com, Ard Biesheuvel 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: [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: , X-List-Received-Date: Thu, 07 Jun 2018 09:10:10 -0000 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/Sd/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 with %r\n", IsRead ? "Read " : "Write", Partition->PartitionType, Lba, BlockNum, (Token != 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 != NULL) ? Token->Event : NULL, Status)); Lba += BlockNum; Buffer = (UINT8*)Buffer + BufferSize; -- 2.17.0