From patchwork Sun Jan 28 22:53:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bo Gan X-Patchwork-Id: 1892003 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=mUhJc7QK; 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=mYmx/Qnn; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=198.137.202.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 [198.137.202.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 4TNRZc340tz23dQ for ; Mon, 29 Jan 2024 09:54:32 +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=cK5Uj4LUAt7XruhCdF1rrLBaruLOe0+SswAsspgl4+4=; b=mUhJc7QKGIzpVq lmpkNzHmQflHRPnU8fnRWXW0SiE31M4PblOoo9GOZWs2H3yJZPPBEOSfq+Vm7yUmBEBSZtxV4zJz5 BextJZAq8yA0BnltexD10/+QiSasRyacYeJ31uLlfumNJG6SLcch4OqU5Q2C6LgdRQ8me0yiHgXLq VxMTPJHNHGg6igI8N52gbWqIEglQ9WgYdo8Tbe7lievZfaxUUkfmaCOhvV52eahFGB653USdCgMDx RRFeKLIPFBKcwbsD8AyVun3XfUsQWEvr03PAzmGYKIGijMFEUDXV4/tf4ska/VNCbhXX4urTNgYZn 7LBOUu+s+0PZeJOs9SsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUE2i-0000000AguL-24YN; Sun, 28 Jan 2024 22:54:24 +0000 Received: from mail-oo1-f51.google.com ([209.85.161.51]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUE2f-0000000Agt4-2Uwy for opensbi@lists.infradead.org; Sun, 28 Jan 2024 22:54:22 +0000 Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-59a31f84618so570151eaf.2 for ; Sun, 28 Jan 2024 14:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706482399; x=1707087199; 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=jrVZtkdYfwN+hXTHUU5t8lf+it50sIyzSs2PUHLsx8Q=; b=mYmx/Qnn7egKRBO/70B8bb3y4V9IP9LgWwnTpEAD6ASfFyBIb7PhT4j5eSNWPx5LP/ GYmVJX3s4VCGQTBHRgrNq2my2bsQRwrD+S3s3qPGS6hQdssmVXzEh01E5c5eQ2JNNMRn WGUTwKFbzWSsKlLjO4BTdq2pYMMfh8XMFIkIK/dfFA61vWlSNrwhLFwWczP/3Vq8X+Hv WXw+I/pnrOZ1UtIkbcHbu9EzP3BrdtiVCi8YUEMkeM7bMbwP+PlnMi/xpEY7LY0jOSav tllECEfGl7CaVZTVNXc3psQooy1U5E8qAgLYdwXJrjPAekaWN07UxTNv9fjnruQ1JEhf tHpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706482399; x=1707087199; 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=jrVZtkdYfwN+hXTHUU5t8lf+it50sIyzSs2PUHLsx8Q=; b=quDE07LgLTyUAvgiynyW6qOrW0JMhpRfhXMwKCjR8tv63+jwq5CIEA36BVrdmAWrtb eX75PFDZHm0Yhow60Nu4Ieo1bZBMe/lSebKU4FNFOfd82eP/rJCmJPK9DuzvoLhzitc0 o2NivuBkhKJmQAlIbhLFHflYrRrliAZz/YKyHkUVmrJz04freOd0KYhQMHsQM8QXxeLp yYwoETeuaxVCADRRv/+z3DIOuGarMvYDzoDvjSEUjvYMM6kdNcvzautEUi7UqMep5Uux 2Qi5Eec7FMsBWEgNqutFl4K5uJpVvAwmyhM019e23or2IS6Q55QxP21YcRpy9k/iYQEb wNLQ== X-Gm-Message-State: AOJu0YyA5VIMBnvkp3Mb7JLp7yhyZsWGQaGX4ReP7BTsZy+c/IN44V35 O5u5xXL3pESkbLN4zzoQzQBH6ZZUY7q6xKzd5RVVhlNFW/4Lxcla9YnY+1Pe X-Google-Smtp-Source: AGHT+IFK/cNy1QQKpjyg3sqPa1E5MhZ65Wi+PMWGK5d3qVNscFg2QR0vezU3R1xvd/Wj0ahgUNjHVA== X-Received: by 2002:a05:6358:52c7:b0:174:f48c:3871 with SMTP id z7-20020a05635852c700b00174f48c3871mr4642844rwz.43.1706482399353; Sun, 28 Jan 2024 14:53:19 -0800 (PST) Received: from m91p.airy.home ([172.92.174.136]) by smtp.gmail.com with ESMTPSA id l17-20020a170902d05100b001d8d1a2e5f2sm1257977pll.216.2024.01.28.14.53.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2024 14:53:18 -0800 (PST) From: Bo Gan To: opensbi@lists.infradead.org Cc: wxjstz@126.com, anup@brainfault.org Subject: [PATCH 1/3] lib: sbi: rename sbi_misaligned_ldst.c to sbi_trap_ldst.c Date: Sun, 28 Jan 2024 14:53:06 -0800 Message-Id: <1706482388-533855-2-git-send-email-ganboing@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1706482388-533855-1-git-send-email-ganboing@gmail.com> References: <1706482388-533855-1-git-send-email-ganboing@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240128_145421_671071_EA9668AD X-CRM114-Status: UNSURE ( 8.09 ) 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 --- lib/sbi/objects.mk | 2 +- lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/sbi/{sbi_misaligned_ldst.c => sbi [...] 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 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_VALID_AU Message has a valid DKIM or DK signature from author's 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 T_SCC_BODY_TEXT_LINE No description available. -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.161.51 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.161.51 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: Xiang W --- lib/sbi/objects.mk | 2 +- lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename lib/sbi/{sbi_misaligned_ldst.c => sbi_trap_ldst.c} (100%) diff --git a/lib/sbi/objects.mk b/lib/sbi/objects.mk index 0a50e95..204dd6b 100644 --- a/lib/sbi/objects.mk +++ b/lib/sbi/objects.mk @@ -70,7 +70,6 @@ libsbi-objs-y += sbi_illegal_insn.o libsbi-objs-y += sbi_init.o libsbi-objs-y += sbi_ipi.o libsbi-objs-y += sbi_irqchip.o -libsbi-objs-y += sbi_misaligned_ldst.o libsbi-objs-y += sbi_platform.o libsbi-objs-y += sbi_pmu.o libsbi-objs-y += sbi_dbtr.o @@ -80,6 +79,7 @@ libsbi-objs-y += sbi_system.o libsbi-objs-y += sbi_timer.o libsbi-objs-y += sbi_tlb.o libsbi-objs-y += sbi_trap.o +libsbi-objs-y += sbi_trap_ldst.o libsbi-objs-y += sbi_unpriv.o libsbi-objs-y += sbi_expected_trap.o libsbi-objs-y += sbi_cppc.o diff --git a/lib/sbi/sbi_misaligned_ldst.c b/lib/sbi/sbi_trap_ldst.c similarity index 100% rename from lib/sbi/sbi_misaligned_ldst.c rename to lib/sbi/sbi_trap_ldst.c