From nobody Sat Apr 20 06:26:28 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1595854808; cv=none; d=zohomail.com; s=zohoarc; b=Veej5b9xfB8/SyqtRzqQ1Co4DyK8xEks64ae+5z5QYMr6sUfD0oWbkIH5vcsfEuVg3LyTGxdV2gDpD3sDThBl3fHsd5hJg615vfQjBPM/8lJ1HDgFfqPukDkzAVX+NCcuCAHDKzlU1k97zo8faSZTzmwsOYKfoGAyuLU4xTtALg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595854808; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Subject:To; bh=L6W+7/suvXup3IurADcyihaMGcFRSgx/RyQVETNKAjE=; b=ZWsOYCngEnZ+mS4ZMormUXk6MOkVmylKGX7XHYX2s2DKEApEN8KA7OBpIQGh2ByOIPud60DqrVIJxP38OKewk5/1xmgeZgbjeJ8P0UFsZ8nEv98NixT1Hl7YkwRM82YyiMbGJhIoeVGyaGhjRocLMYmZdmTH18vJqN6xF4PXrjU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1595854808718151.83786827743768; Mon, 27 Jul 2020 06:00:08 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 7415E10C0024; Mon, 27 Jul 2020 13:00:03 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 5A4E510C001D for ; Mon, 27 Jul 2020 12:59:44 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by mx.molgen.mpg.de (Postfix) with ESMTP id 10072206466DB; Mon, 27 Jul 2020 14:59:44 +0200 (CEST) From: Paul Menzel To: seabios@seabios.org Date: Mon, 27 Jul 2020 14:59:42 +0200 Message-Id: <20200727125942.8658-1-pmenzel@molgen.mpg.de> MIME-Version: 1.0 X-Spam-Level: * Message-ID-Hash: 2NFBZ5KMC3DTMHBN74GFAAMOQE5W54RO X-Message-ID-Hash: 2NFBZ5KMC3DTMHBN74GFAAMOQE5W54RO X-MailFrom: pmenzel@molgen.mpg.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Paul Menzel X-Mailman-Version: 3.3.2b1 Precedence: list Subject: [SeaBIOS] [PATCH] hw/nvme: Increase `nvme_cmd_readwrite()` message log level from 3 to 5 List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: -- Content-Type: text/plain; charset="utf-8" Currently, setting SeaBIOS debug level to 3, the log is filled with messages like below. ns 1 read lba 11346288+8: 0 ns 1 read lba 11346296+4: 0 ns 1 read lba 11346300+4: 0 ns 1 read lba 11346304+8: 0 ns 1 read lba 11346312+8: 0 ns 1 read lba 11346320+8: 0 ns 1 read lba 11346328+8: 0 ns 1 read lba 11346336+8: 0 With SeaBIOS as coreboot payload, this fills up the CBMEM console buffer. So, increase the debug level to 5, so possible console buffer do not overflow. Signed-off-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- src/hw/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hw/nvme.c b/src/hw/nvme.c index 41f3b76..6a01204 100644 --- a/src/hw/nvme.c +++ b/src/hw/nvme.c @@ -669,7 +669,7 @@ nvme_cmd_readwrite(struct nvme_namespace *ns, struct di= sk_op_s *op, int write) } =20 res =3D nvme_io_readwrite(ns, op->lba + i, ns->dma_buffer, blocks,= write); - dprintf(3, "ns %u %s lba %llu+%u: %d\n", ns->ns_id, write ? "write" + dprintf(5, "ns %u %s lba %llu+%u: %d\n", ns->ns_id, write ? "write" : "read", op->lba + i, blocks, res); =20 --=20 2.26.2 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org