Message ID | 20240109170020.1731282-9-hchauhan@ventanamicro.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Mcf4UUpu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=fjC0BrI9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T8cdc35qQz1yP3 for <incoming@patchwork.ozlabs.org>; Wed, 10 Jan 2024 04:01:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rsMuS+ERRq0ZCbHNyOhwzVLS5I9hrSdnvPQ1wzmv9Rc=; b=Mcf4UUpuAjb3IH Cuyv/ncwiWOeV18kHIqfeUaVuEGO05vWxLauidW3qOBqhsyVuugSpHV0m6Rh2sYSolfJgpwMrVhUl raLglibnxW76lXAZBaun1aZYedzD28a1/zuRe124llwmPOnin1HqRVyL4MYXXnWhsHXMJdGebY+6t Whg8HkBIWtKFTArl7Z/Idx0a/ltMndPNsWLe81kRdXYc6KNMEoL7kYa7Cl+hoA6hUw4ZwOq9fV8Yd YrJhx8BC3q9WrZl3ldJXHBbuep952gjA5Zrnezrm6o+OvNTUVlI1qg9z12ztcQLX6zgLvAcM0s8Qg u/WUODPB79JfF7h7NliA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNFT2-008w6i-1j; Tue, 09 Jan 2024 17:00:44 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNFSz-008w4Y-1g for opensbi@lists.infradead.org; Tue, 09 Jan 2024 17:00:42 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1d3fe03b6b7so5681055ad.1 for <opensbi@lists.infradead.org>; Tue, 09 Jan 2024 09:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1704819638; x=1705424438; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wIK0Doouo9eWrrh9VlN3NjGhCzhEDDToib5zIUZ1Vsc=; b=fjC0BrI9T6Y49GQjvGWxBC10JbcrpmzbG6Y/UX0sIFJvtZ4G0uqmIxWMZTw3wE7dzl lkNiJ/NoMTyBr0Yi+nRS9IwSlcPub9UBPQ97EO6mjUBeUTOCRnkX5c9HilSWbF35jolE QLGMep50Jd4yQFdTEWueOz+jRyRUSS82p5hOp7PQAk5tq3Uj00rpV26rJc+Dd4xVd/6j ff4wfml/iGIOPMkXtdDx6HKvB5eEhLKPmBsVvBM0g+UeEUs9OGDAj7Nx5m9ImzfXFHKs LzFtQfHNQkRawag9p4Vu/ezlQXgYKL9wSDxhUGML2Kl9ZSz+BU5ReIbL0gX1tpR7aGxQ Izzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704819638; x=1705424438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wIK0Doouo9eWrrh9VlN3NjGhCzhEDDToib5zIUZ1Vsc=; b=MQgUEsYm9WG4zhu+N8Ut5kprn4VPqoAJLZR+M0ofEpPPnTDy87wm/OmGOOMMsyafBH uadmBPyua0e93GC2kqZxW7PIhxRQyQQZIzysuqCCFayBBVThq9Lk0w7G/luBWPKEy5YB yyIo6ZQIRe1gCTrLo9jhhmXvnZrciXrgY4Qy/oeJPR53F/g184BvrhHF1nQcCileyn7B Bsz/s27PwJj/2IG53S+i3+eU2Rwur7JRXIluDuD8MmXbUS9nkQ4UMYx2sjLnwhgi24ez zoW0xWjFrcyvg85xIGGE8oPTo+JszyROWnRitFzA2LyE9e51d2ae54YM+kXG/M2yQmF0 6QHw== X-Gm-Message-State: AOJu0Yyi6xwkoXCK8G1Jr2tKfFGGzY2qO9t4c1OmZhpOMnuN4lJ5jnpC YYgp0Xj7YWJdxHIIJsSBmLh4Rry9ZVBxY6Nkq3LctGB218E= X-Google-Smtp-Source: AGHT+IFLPDClg07/7DSVqb+5W8Aqbh8wyAkUIpFjjlmD2ixFolp4gaMXsq0Sci87Eq7t7B9xR4HkRw== X-Received: by 2002:a17:902:ea07:b0:1d4:e1d9:84c with SMTP id s7-20020a170902ea0700b001d4e1d9084cmr10839086plg.5.1704819638119; Tue, 09 Jan 2024 09:00:38 -0800 (PST) Received: from brahaspati.localdomain ([49.37.250.161]) by smtp.gmail.com with ESMTPSA id w8-20020a170902a70800b001d3dff2575fsm2024086plq.52.2024.01.09.09.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 09:00:37 -0800 (PST) From: Himanshu Chauhan <hchauhan@ventanamicro.com> To: opensbi@lists.infradead.org Cc: Anup Patel <anup@brainfault.org> Subject: [PATCH v3 8/8] lib: sbi: Print number of debug triggers found Date: Tue, 9 Jan 2024 22:30:20 +0530 Message-Id: <20240109170020.1731282-9-hchauhan@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240109170020.1731282-1-hchauhan@ventanamicro.com> References: <20240109170020.1731282-1-hchauhan@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_090041_559106_5210F883 X-CRM114-Status: UNSURE ( 7.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Print the total number of triggers found on the boot hart. Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org> --- lib/sbi/sbi_init.c | 2 ++ 1 file changed, 2 insertions(+) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:633 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <opensbi.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/opensbi/> List-Post: <mailto:opensbi@lists.infradead.org> List-Help: <mailto:opensbi-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/opensbi>, <mailto:opensbi-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "opensbi" <opensbi-bounces@lists.infradead.org> Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Introduce support for SBI Debug Trigger Extension
|
expand
|
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index 0dcde27..c5612a0 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -184,6 +184,8 @@ static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid) sbi_printf("Boot HART MHPM Info : %lu (0x%08x)\n", sbi_popcount(sbi_hart_mhpm_mask(scratch)), sbi_hart_mhpm_mask(scratch)); + sbi_printf("Boot HART Debug Triggers : %d trigger(s) found.\n", + sbi_dbtr_get_total_triggers()); sbi_hart_delegation_dump(scratch, "Boot HART ", " "); }