From patchwork Wed Aug 24 14:54:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Pathak X-Patchwork-Id: 1669866 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=) 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=eh2a141k; 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=ovAzEGWL; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MCTfr0Q0Yz1ygF for ; Thu, 25 Aug 2022 00:55:32 +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: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:In-Reply-To:References: List-Owner; bh=fUcxf8BuuRj+feRKIK4UQVv1ylzdDPkID8S43wdsGk8=; b=eh2a141kVU2qpd IK7bIO9QmQPtvyAriiq6CDn3qrf+Hl6Ccx5B2TmUHhuc6KEPoFHtZ1hXXP40Ghn7XNCPUmWNIRxAC kr8k1WMwwKTff6qzDYTz7yJ6dtfhgtWNY7/rg8aAspsfXa/9VqkbKpI5A4gT6ySibkLht+xVt1U76 rgKXjb5FORcb4sHDeCIvvV3pED76neyghIO0kJFIu7VaImxtv2t4OLIrS28Ut1kaDL16r6wd2xRWF /tm9cmBs//CMOUdTELY1nMT8Xbon3F+ZAPQu4Pi6QYO+n7aOmQMdRlOyMBDrBsQpLyLignblF5wn4 VfqS0xvN9SlyyWcR/QxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQrmg-00Do4O-WA; Wed, 24 Aug 2022 14:55:11 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQrme-00Do20-Lk for opensbi@lists.infradead.org; Wed, 24 Aug 2022 14:55:10 +0000 Received: by mail-pf1-x431.google.com with SMTP id x19so13946260pfq.1 for ; Wed, 24 Aug 2022 07:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=4MP/C+OXOylfRo+jHwxTk3iPMzSM6YPBHCHTftrSwY4=; b=ovAzEGWLrbdj++OAfkjMuZB6Hms8vB+j5mYxnR4zgBtFDQYrh5R9j95Cq/wImkxxVz /3klHBDB+a/0bfjyRsQyXjX3/VYq5UdSLNzRbOCT+BjmnDQkgmzkGW5w2P6hPcNGbkXt bo9XUOiSwcDEI0UsDEABWDVSdqkkF+RE5U9ZmQljJ1j5s4gnDvcHM996HMOTqkXPKP59 cnvlTgqS+fGPYXrxZZsl55zHjip6P0H/6uTs2nMAi8l4IJB6aT1CWri6wsCj7bhpq49S BD5MzVp5rEOuPAzVKYvjTYgNmLw6Tu6SX1xYnXTkEyrP4kGDmhliUYc7rpVeENImiGnE ccAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=4MP/C+OXOylfRo+jHwxTk3iPMzSM6YPBHCHTftrSwY4=; b=5ClQdwr/VX9p1fQYRmqB16ysBjar4zyH/Y92PWuglecvitC3MuUHE957klWtqpVLV1 8KWMWImZlSt44ng5yuPLX4meByOczAXyibKbGspyNF35MNHe+02x7LtNtEq2gMIpRWBg rqdp0yXUUomry+PTkNDn78bsEiG3w3X0OT66V/hYrQ2G4QU/GPKGoh7hvqYgkxn5yl91 ArANz47RACexK+5av8Chyj1tBbpdAJgFJWKvTk5WNLMHL78WAVPrfPzvsb2wozCk1CLJ vx0xMcshEZeeT2gJtISNVm6UST+joZ7iJn8ZjCkIymr/3YSn55sWsLpGFVPyreRCPOUj kWiw== X-Gm-Message-State: ACgBeo0Qgl8fi4YZl3BSm8qQlWFIbjYPkJyVDWOdmtAz/IsCC5MxmgVD xjCwDy8jnxVDrDIGrFUDuMVZmeLIeL03qA== X-Google-Smtp-Source: AA6agR64ZPv3+6BrANpQ6WsPmY7oUpnK1SylJg67m4ByFaRDYM6/7n15n17FMgY1IaVIHzt2HI4yMQ== X-Received: by 2002:a63:9dca:0:b0:429:c235:8b3b with SMTP id i193-20020a639dca000000b00429c2358b3bmr23684954pgd.567.1661352904267; Wed, 24 Aug 2022 07:55:04 -0700 (PDT) Received: from rpathak-ThinkPad-T490.. ([2405:201:1010:106f:bcaf:cdc5:62f3:5cf1]) by smtp.googlemail.com with ESMTPSA id a5-20020a170902710500b00172cea5467dsm9095788pll.274.2022.08.24.07.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Aug 2022 07:55:03 -0700 (PDT) From: Rahul Pathak To: opensbi@lists.infradead.org, atishp@rivosinc.com, anup@brainfault.org Cc: rpathak@ventanamicro.com, rpathakmailbox@gmail.com, Andrew Jones Subject: [PATCH] include: Remove sideleg and sedeleg Date: Wed, 24 Aug 2022 20:24:37 +0530 Message-Id: <20220824145437.400746-1-rpathak@ventanamicro.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220824_075508_732836_BE7AAA1D X-CRM114-Status: UNSURE ( 7.29 ) 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: sideleg and sedeleg csrs are not part of riscv isa spec anymore, these csrs were part of N extension which is removed from the riscv isa specification. These commits removed all traces of these csrs from riscv spec (https://github.com/riscv/riscv-isa-manual) - 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:431 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 sideleg and sedeleg csrs are not part of riscv isa spec anymore, these csrs were part of N extension which is removed from the riscv isa specification. These commits removed all traces of these csrs from riscv spec (https://github.com/riscv/riscv-isa-manual) - commit f8d27f805b65 ("Remove or downgrade more references to N extension (#674)") commit b6cade07034d ("Remove N extension chapter for now") Signed-off-by: Rahul Pathak Reviewed-by: Andrew Jones Reviewed-by: Anup Patel --- include/sbi/riscv_encoding.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/sbi/riscv_encoding.h b/include/sbi/riscv_encoding.h index 8884301..b0f08c8 100644 --- a/include/sbi/riscv_encoding.h +++ b/include/sbi/riscv_encoding.h @@ -312,8 +312,6 @@ /* Supervisor Trap Setup */ #define CSR_SSTATUS 0x100 -#define CSR_SEDELEG 0x102 -#define CSR_SIDELEG 0x103 #define CSR_SIE 0x104 #define CSR_STVEC 0x105 #define CSR_SCOUNTEREN 0x106