From patchwork Tue Dec 19 11:28:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Chauhan X-Patchwork-Id: 1877838 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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 4SvZGd05Rmz20H4 for ; Tue, 19 Dec 2023 22:29:26 +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=luYywAgwVdqEi4Q7W/F617yR9PzxgKiwHDBmE9/mP8o=; b=OwN85TpY+vAgPQ YQv54lDMJvfpNd11vM0Oe2Bcy8Znc0gdJ+a2eqAEGuPSfUpiKtJAm/eq7bIA6m3Htx8VWVpgiyXDl hIU3fSPa7GuwTuW6w5FDzdmJavw5Jece0ywWa0qnbVewNuAewsS41yPZTKpVWd630IoRoHms7ZFrb PiDJs1mzeX245EKGVHtMLvpayK473jVB7fM6zXfcnLowvLWCituxv16xGEQhCXOpODu53kcvqtG01 z9Ecd7Ixmf70+pOm3XWZE4A5MYgK0xGEzpEaI6sV4MWQbjMdNUn6gzq8MhmcWyYS1zEue68iQNlLw CXBRali12aEY3TFvxRWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFYHh-00Dk06-0W; Tue, 19 Dec 2023 11:29:13 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFYHc-00DjuI-24 for opensbi@lists.infradead.org; Tue, 19 Dec 2023 11:29:11 +0000 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-28b93b04446so402096a91.0 for ; Tue, 19 Dec 2023 03:29:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1702985344; x=1703590144; 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=FyN4uugcNYzG51dmUMk/SYk+sfrXhmyiiSWT5ohRjfI=; b=BcJkFrLMC9U3zW5wGbt3jg/lJwx/Jfv/6Ph90S4q/zIwhe5lkYqNxja2O6lfuK/mKn XPpKfDS4sT/on643W3WoPIHoVURQO9LuhC8dPeseS/IobF3sS3zIOXb9zk4EMEdzhOlZ T7+lB6aNAZr910LLVUr8fFMqv29mQB7Sk603ue+Fu+4b556y7rtC9vDPBkwSIaecSLhp EGfMff1W9p61DNSipPgzTndRa0/OHihGMdshgCS2lLpLlOO/sJtsbi6mrJCfJaHp4ES2 RkRFjsnkf9pTaJAUilQHJ/6FRN1ClWcXwyQKJRcTC5Rh1n5D2XYChxExcTji9Prm8duz ryyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702985344; x=1703590144; 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=FyN4uugcNYzG51dmUMk/SYk+sfrXhmyiiSWT5ohRjfI=; b=t+M1KKCDfPFPu7w1cVtnxNsBI2mlDFV9jxPcxq7TJlwFxNTw8cw6tosKGqNfquMoV+ PG3Msm0O+/25hkhrYBVlHhQp6qAZgdLs3yqd/+6XJkcwMvdRmD/aMymEv9A910d4OLsZ 7ft0rEeCFqWh1nUIR+aFRCnfGn0Ism9zaeuS6byl+kTNARSadKh2lMIS/Ga1TRkB2BQ4 ykKc5FZ74e/lVY0mULTazYEk+Xu8isJKmGxzNj4S0o3ROG8TQ20F24G3jB6lZW07yIbE rCtLdFQWb5LkJWYraDGWqbOXSVDKrxXZnkMPZjzeHLfQE08TfD8ZlbL3O81COQmcYpVt nZ1g== X-Gm-Message-State: AOJu0Yxw2tofYty/Ur07MPW7D0LoH9bsUyCEGu1+B+rf7x8VpfuFZHsJ xwLyMzk8zUF5jt7UVx1IvrjQAd3eyKMz6djHu+aY3w== X-Google-Smtp-Source: AGHT+IHzTLF7iAVJUBol8UbiAMI/3oH72h2jxCfMNle8XodvUVQVZ5ZizXlh3rKA9yUIAoDrpy5m6w== X-Received: by 2002:a17:90a:4583:b0:28b:c60:8dd0 with SMTP id v3-20020a17090a458300b0028b0c608dd0mr13365978pjg.2.1702985344441; Tue, 19 Dec 2023 03:29:04 -0800 (PST) Received: from brahaspati.localdomain ([49.37.250.213]) by smtp.gmail.com with ESMTPSA id pi17-20020a17090b1e5100b0028b4488f3e7sm1315519pjb.13.2023.12.19.03.29.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 03:29:04 -0800 (PST) From: Himanshu Chauhan To: opensbi@lists.infradead.org Subject: [PATCH v1 2/7] include: sbi: Add TINFO debug trigger CSR Date: Tue, 19 Dec 2023 16:58:51 +0530 Message-Id: <20231219112856.3865827-3-hchauhan@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231219112856.3865827-1-hchauhan@ventanamicro.com> References: <20231219112856.3865827-1-hchauhan@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_032908_702706_7FB2B4AE X-CRM114-Status: UNSURE ( 7.55 ) 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 0996d64..9501207 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -691,6 +691,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:102f 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 0996d64..9501207 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -691,6 +691,7 @@ #define CSR_TDATA1 0x7a1 #define CSR_TDATA2 0x7a2 #define CSR_TDATA3 0x7a3 +#define CSR_TINFO 0x7a4 /* Debug Mode Registers */ #define CSR_DCSR 0x7b0