From patchwork Mon Jan 8 06:55:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Chauhan X-Patchwork-Id: 1883497 Return-Path: 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=gablZLFd; 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=AfhX8XqO; 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 4T7lFf4KKbz1yP7 for ; Mon, 8 Jan 2024 17:55:50 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hilqa13l0FwYLgW1hdre4Io53n+8mJB4H3tBRN4haFg=; b=gablZLFdhEpGP/ AT6GHDjUxUdpw6b2W98xDVxaqy9VQmYJXh/9igudL1MyiQUllaPVXfDEwxtqpTa2pb38EKtoPyK2i LudcT/qKi7w/cQ1TOGbILZpeJSzXPZsGnL+ZIoLzcGNF8uleRNHwZhk2lJhz5d29udn7frMenljVA bPyaAgmNiO24WK0pLrKXTTxelzTYPDRxgbOAkoX3kg9vUDyRkJXItNCVc9yI2ak5rQkMdngr2oEP/ FuRhzsABeectAqcHWwxttN4dJEE7mHAppk/pOembYZxBIOg4hrEVFZ66kjCOJIdHXJHn7sNIvdyLD oWJeYCiTKNLVJwQFdgxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMjXv-0047Rj-0z; Mon, 08 Jan 2024 06:55:39 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMjXs-0047Pu-20 for opensbi@lists.infradead.org; Mon, 08 Jan 2024 06:55:37 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1d437a2a4c7so2476355ad.0 for ; Sun, 07 Jan 2024 22:55:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1704696933; x=1705301733; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HSgBUAdpz+LNmt7pDryZkVt3Ib+JlsFNOPPKbRdM06k=; b=AfhX8XqOiXyXzoL9/sOHzmueFShdgv+RuUK/P/A9lr9CjGGEITUkZ6066EoTqndIkP cMCRCoc3ESIJhUE45xrlV9/QsW+ovc+8Frhy1HRSMURGJBtqLfwxgU1Lu+aRv2BisK/t ksCzTHe+VhX43LZFt28v2D9xIpPSLG5yh31TOoa9vkJWynpcBB/TWr7XOW2PCkBnuCXn 17IfLy+Xo1UPKk8AmpEXqYTM6Com8NdTKe9lgBTZg2b5YgewM7MTQn9TwIC4QaNPVrjp FXY1bKnb/ctvOH8zASoIz052BDHO4F8b3863YSi1t+Pg9XCb3cvqf0VZvaNP2Dv0pF1E su/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704696933; x=1705301733; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HSgBUAdpz+LNmt7pDryZkVt3Ib+JlsFNOPPKbRdM06k=; b=AlZowPW4sD4+ZBSNajWsYyijGMl6NFEKwtDCqI0vxadGhka3y77pc9Lq5ffVNNsdDH LovMXw+dmfcLqo3fDtSGeIILQvEZUNAT1I598zhlC95slFvCKzmbCkE9OBKaMaG/DZ9X oUwfmvU7YffKG8b86ydx8EfU/vIlfy1LwBjxKwzPfSuAoa4lzgnv+FpxeteE17GteNdD K+sS6CdOT8FLSceCzkfzboC+5QGGP+NmBD3p5wQcvasv82uGr96wlSU91wc+BLvssOKc Csg7C+1yt88DyIbdiKJj9zpXYnP60dRgYU5wpptv5VTaYIUhcbgbnYgydC1BDledy6Ey ZYVQ== X-Gm-Message-State: AOJu0YxO8Lojbj4jk0Cz+h/ikX1ieIRoM0CE02/SAc5aEi02KhHrEZEK /tWV/P1tdD8OUhtM+k6uFo1QAO2spXeTOJo7Bb3WpyX0kyk= X-Google-Smtp-Source: AGHT+IHJJP3SeQl4Fhvy7RGJ5fRn/RGvWhI4Wizwq8oqLnx+HiqWohWAhoXke1pS8JM3ek10bzWyzQ== X-Received: by 2002:a05:6a21:7889:b0:199:b911:4491 with SMTP id bf9-20020a056a21788900b00199b9114491mr2130778pzc.3.1704696932894; Sun, 07 Jan 2024 22:55:32 -0800 (PST) Received: from brahaspati.localdomain ([49.37.250.161]) by smtp.gmail.com with ESMTPSA id b4-20020a170902d50400b001d46a313b51sm5462469plg.72.2024.01.07.22.55.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 22:55:32 -0800 (PST) From: Himanshu Chauhan To: opensbi@lists.infradead.org Subject: [PATCH v2 2/7] include: sbi: Add TINFO debug trigger CSR Date: Mon, 8 Jan 2024 12:25:20 +0530 Message-Id: <20240108065525.208172-3-hchauhan@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240108065525.208172-1-hchauhan@ventanamicro.com> References: <20240108065525.208172-1-hchauhan@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240107_225536_658607_FEE8ABBE X-CRM114-Status: UNSURE ( 7.57 ) 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: Add the missing TINFO debug trigger CSR. Signed-off-by: Himanshu Chauhan --- include/sbi/riscv_encoding.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index f20df76..e74cc0d 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -686,6 +686,7 @@ #define [...] 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:636 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add the missing TINFO debug trigger CSR. Signed-off-by: Himanshu Chauhan Reviewed-by: Anup Patel --- include/sbi/riscv_encoding.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index f20df76..e74cc0d 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -686,6 +686,7 @@ #define CSR_TDATA1 0x7a1 #define CSR_TDATA2 0x7a2 #define CSR_TDATA3 0x7a3 +#define CSR_TINFO 0x7a4 /* Debug Mode Registers */ #define CSR_DCSR 0x7b0