Message ID | 20240423145147.391425-5-wxjstz@126.com |
---|---|
State | Superseded |
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=HyGnxqEc; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=126.com header.i=@126.com header.a=rsa-sha256 header.s=s110527 header.b=jghz6dmn; 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 4VP4rQ1Vfvz1yP2 for <incoming@patchwork.ozlabs.org>; Wed, 24 Apr 2024 00:53:58 +1000 (AEST) 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=jxmwPtW/5BlrvE1BKuH/Imraa1mXtOgPJlaGTtxGH50=; b=HyGnxqEcGR8Fd/ CxxdYLgeeSG+py5+rP73rSsY9aD3qKIyjet2if4tthIouAyYPXnalQ9hYzIPG0KmBjxmXbBFoQTRd PCZDKG4tLf+irqbgwiuZbBf9RY2SDgWHTaAbW24WgvH0iC9I+zNhpdOA9tIdpth33OLOLqM+nJ+zc hQsYXCTNOR9xivIPsI8Z5WunIkhca13k9oX7YcSFvmRvum0l5d8YVg6sjgxqw60ZeV5d+FQbV+kOH jHfWJ6b3MstGfvWY5JBihemqMTqIYCDFA4tQbhFR/gEfG2AqdfSNl8fX/odvYoDw6meyCPS6KvN47 ppzz2W385wIcTJsgaF9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzHWo-00000000NC8-3bgO; Tue, 23 Apr 2024 14:53:50 +0000 Received: from m16.mail.126.com ([117.135.210.7]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzHWl-00000000NAM-19Yc for opensbi@lists.infradead.org; Tue, 23 Apr 2024 14:53:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=JohKw dJ/1+tEg8QgM9YxJFC9rO4XDGnSGqte8qBBKDI=; b=jghz6dmnxCXvdXuWKVYzN V4QXy/pcs+UsWDrKNYB1GzYvK+bmWgezoeoaWxKiwS1xFuQNBaun7YXx3iWnM6/Q KUq+CsMGwDU6y0lNVfjnKqR3yjKaoPn5XJLC4UfaA/Jp/suPJ8n5Zi/YPJiFCl/M 14Yq/utc4py1OwcN4EMxkM= Received: from T490.lan (unknown [112.83.183.156]) by gzga-smtp-mta-g1-2 (Coremail) with SMTP id _____wD3n0kHyydmixUABA--.53088S6; Tue, 23 Apr 2024 22:51:54 +0800 (CST) From: Xiang W <wxjstz@126.com> To: opensbi@lists.infradead.org Cc: Xiang W <wxjstz@126.com>, hchauhan@ventanamicro.com, anup@brainfault.org Subject: [PATCH 4/5] lib: sbi: fix DBTR_SHMEM_MAKE_PHYS for RV64 Date: Tue, 23 Apr 2024 22:51:42 +0800 Message-ID: <20240423145147.391425-5-wxjstz@126.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240423145147.391425-1-wxjstz@126.com> References: <20240423145147.391425-1-wxjstz@126.com> MIME-Version: 1.0 X-CM-TRANSID: _____wD3n0kHyydmixUABA--.53088S6 X-Coremail-Antispam: 1Uf129KBjvdXoW7XrWUAF4rZFWkAF4DZF1kZrb_yoW3Xrb_W3 48Ar4kurs8ua92gw1aqr42qr4S9Fn0krsrX3s3AFWDJw4ayF45C345XFWqgan8Jr429F12 y3W2gr13Gr1YgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRA4SrUUUUUU== X-Originating-IP: [112.83.183.156] X-CM-SenderInfo: pz0m23b26rjloofrz/xtbBdQbJOmSdL6fkvwACso X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_075348_135322_CA791688 X-CRM114-Status: UNSURE ( 7.25 ) 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: Obtaining a 64-bit address under rv64 does not require combining 32-bit registers Signed-off-by: Xiang W --- lib/sbi/sbi_dbtr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sbi/sbi_dbtr.c b/lib/sbi/sbi_dbtr.c index 9e0bdf6..878fa64 100644 --- a/lib/sbi/sbi_dbtr.c +++ b/lib/sbi/sbi_dbtr.c @@ -48,7 +48,7 @@ static unsigned long hart_state_ptr_offset; _idx+ [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from 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_AU Message has a valid DKIM or DK signature from author's domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [wxjstz(at)126.com] 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 |
miscellaneous about sbi_dtbr
|
expand
|
diff --git a/lib/sbi/sbi_dbtr.c b/lib/sbi/sbi_dbtr.c index 9e0bdf6..878fa64 100644 --- a/lib/sbi/sbi_dbtr.c +++ b/lib/sbi/sbi_dbtr.c @@ -48,7 +48,7 @@ static unsigned long hart_state_ptr_offset; _idx++, _entry = ((_etype *)_base + _idx)) #if __riscv_xlen == 64 -#define DBTR_SHMEM_MAKE_PHYS(_p_hi, _p_lo) (((u64)(_p_hi) << 32) | (_p_lo)) +#define DBTR_SHMEM_MAKE_PHYS(_p_hi, _p_lo) (_p_lo) #elif __riscv_xlen == 32 #define DBTR_SHMEM_MAKE_PHYS(_p_hi, _p_lo) (((u64)(_p_hi) << 32) | (_p_lo)) #else
Obtaining a 64-bit address under rv64 does not require combining 32-bit registers Signed-off-by: Xiang W <wxjstz@126.com> --- lib/sbi/sbi_dbtr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)