From patchwork Wed Mar 6 02:35:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bo Gan X-Patchwork-Id: 1908524 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=c7V606SA; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=dT9kIxUr; 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 4TqGlT2qRrz1yXC for ; Wed, 6 Mar 2024 13:36:19 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=hrnieXkjf4hiW2VJ5/2iPRcd0mkxpnlls5HIpbqg7jc=; b=c7V606SAHxDFmz PW/m6OctAdFiWiJBZGGozIHldkbRAVs6R5Iv2FcMB+wfpQ0oAt0GT5X/T7Rgz43ayluGbYAOwk8at gTfhLySqaI6FGG5MTs7gk5iFf4IpIZyBqufa3w6Y/hqQq2rdIU0+81ShHrssyRmhugry5T7sRp/UG x9IgMrjXfuOHhyIOhC7jCl8UN4IprXUo1x16oMiaS/4ibrytEZRHnBKFR8mDDUJihh3nc7f/T6FJO 40G6DDUYmpmU2Vrnoyj3BslUI9CXyBNFISz09+avuPNfrmJ6qXhU5zHTuxsZFz4sY+imJAROgBQDO fIpb/RNUNPwlCNigjgeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhh8c-0000000G0Ih-1pa6; Wed, 06 Mar 2024 02:36:10 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhh8Y-0000000G0HD-42Bl for opensbi@lists.infradead.org; Wed, 06 Mar 2024 02:36:08 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6e64647af39so904972b3a.1 for ; Tue, 05 Mar 2024 18:36:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709692565; x=1710297365; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=b2rXVWg+e3Rj/pZZImCY4aBk4rt5FIYAwWFBCSCz8Ig=; b=dT9kIxUrEn0hiDr5PTksjoE/6YgYsg2QctsYA+nGAscOZBeyPRfoKW6QaZNRw+HdEF tIDpcK61CuRxFGk2T4t/XYPxZcZoGxZo8vKMw3KO7FkUU2K/CcYZP4khzAWXbH/qOeYH UZ8sJUZo3DoWHYD3QfPRPDMawJIqxVNHM1JZQryzvDKxQbTt2JMIYMuUOKgBwXAO3UB9 CmXu+lv+Hhnavd40LOzSvtQhp8zdpob1XPs4kVOqA7LK9i5ZP7v02xJqaT4CTkP6+kX9 mv0qNhGFkPW7OuDjuR7SklKGXQiUHrVbtmr7lkxZGAyNuqvrY+o7u8aUCtsflyHNQxMB 6EtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709692565; x=1710297365; h=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=b2rXVWg+e3Rj/pZZImCY4aBk4rt5FIYAwWFBCSCz8Ig=; b=dQGtUtFuS/ov1rZwTzcsIzUN0WlcofrUb1kDl+EZug8DeVRuQB1vs622KNIQWlGeEb Xp2EGvI3gtXfkwSETtyU0JqCXq0dLYRmTCykk9jt60146Sa7rn4aNk0BmcD4ptxEfWmu LhNx5OR5/Ts7W6vTLTiCnj5DxjxgULORMSqroOlYtx0Iev4dFXCbs3t1Pwwi6csnogAZ PiWIqYxuVNLtgyiODTpE3SJYQaprca1EKDe5FyZ8ZJZ292nIjQimpeJ77+MTsQ/AK0qx bUImZkAX5RC6IQEkv7Gq0sUhzXPZHXrUG2qy/eI+xK8guNnjNhG73z2Bce9nNpIEBdeQ Qu4w== X-Gm-Message-State: AOJu0Yxbe5/PzEByxs0lQiNglwr1w3wdcsyDWjkoJVMLBCcbkuQ5QJi8 MSWhJd1FXUcesrtqrX89rhea9u8NdCUYrU3sYw6SAAuaG54jOj6OaLL8PBck1TU= X-Google-Smtp-Source: AGHT+IHbfgrFN9sjnpliv8VnFvI4rmU3wxvbzTGZ1Jbg+oe0wZFJMvSDDSIO5Tp5ebP1nIkWnQ6zuw== X-Received: by 2002:a05:6a00:b41:b0:6e5:9ed6:3bfd with SMTP id p1-20020a056a000b4100b006e59ed63bfdmr17216637pfo.22.1709692564802; Tue, 05 Mar 2024 18:36:04 -0800 (PST) Received: from m91p.airy.home ([172.92.174.232]) by smtp.gmail.com with ESMTPSA id v27-20020aa799db000000b006e5a0abb167sm9005653pfi.1.2024.03.05.18.36.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2024 18:36:03 -0800 (PST) From: Bo Gan To: opensbi@lists.infradead.org Cc: wxjstz@126.com, anup@brainfault.org Subject: [PATCH v4 2/7] include: sbi: rename sbi_misaligned_ldst.h to sbi_trap_ldst.h Date: Tue, 5 Mar 2024 18:35:35 -0800 Message-Id: <1709692540-77803-3-git-send-email-ganboing@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1709692540-77803-1-git-send-email-ganboing@gmail.com> References: <1709692540-77803-1-git-send-email-ganboing@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240305_183607_021323_312C8542 X-CRM114-Status: UNSURE ( 9.41 ) 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: Signed-off-by: Bo Gan Reviewed-by: Anup Patel --- include/sbi/{sbi_misaligned_ldst.h => sbi_trap_ldst.h} | 4 ++-- lib/sbi/sbi_trap.c | 2 +- lib/sbi/sbi_trap_ldst.c | 2 +- 3 files changed, 4 insert [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ganboing(at)gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:434 listed in] [list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. 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: , MIME-Version: 1.0 Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Bo Gan Reviewed-by: Anup Patel --- include/sbi/{sbi_misaligned_ldst.h => sbi_trap_ldst.h} | 4 ++-- lib/sbi/sbi_trap.c | 2 +- lib/sbi/sbi_trap_ldst.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename include/sbi/{sbi_misaligned_ldst.h => sbi_trap_ldst.h} (86%) diff --git a/include/sbi/sbi_misaligned_ldst.h b/include/sbi/sbi_trap_ldst.h similarity index 86% rename from include/sbi/sbi_misaligned_ldst.h rename to include/sbi/sbi_trap_ldst.h index ab27eb4..9bbd237 100644 --- a/include/sbi/sbi_misaligned_ldst.h +++ b/include/sbi/sbi_trap_ldst.h @@ -7,8 +7,8 @@ * Anup Patel */ -#ifndef __SBI_MISALIGNED_LDST_H__ -#define __SBI_MISALIGNED_LDST_H__ +#ifndef __SBI_TRAP_LDST_H__ +#define __SBI_TRAP_LDST_H__ #include diff --git a/lib/sbi/sbi_trap.c b/lib/sbi/sbi_trap.c index dbf307c..145db4b 100644 --- a/lib/sbi/sbi_trap.c +++ b/lib/sbi/sbi_trap.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/lib/sbi/sbi_trap_ldst.c b/lib/sbi/sbi_trap_ldst.c index aa512de..be9a394 100644 --- a/lib/sbi/sbi_trap_ldst.c +++ b/lib/sbi/sbi_trap_ldst.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include #include