From patchwork Tue Feb 14 19:23:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 13140762 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3575C61DA4 for ; Tue, 14 Feb 2023 19:25:51 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS0ub-0005XT-O3; Tue, 14 Feb 2023 14:24:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pS0uY-0005UJ-0Q for qemu-devel@nongnu.org; Tue, 14 Feb 2023 14:24:18 -0500 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pS0uW-00058E-7E for qemu-devel@nongnu.org; Tue, 14 Feb 2023 14:24:17 -0500 Received: by mail-ot1-x331.google.com with SMTP id g15-20020a9d6b0f000000b0068db1940216so4978033otp.5 for ; Tue, 14 Feb 2023 11:24:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cMFKPH9qknFFr+qQ/mVoscH7RvpHHWaMtNC96kfwxRU=; b=ou7UVa0qsdi1+o7Rsw3a4nH+NECl+G4fMq/G3lkrlP+qh/VGmyOKlEweXDw8t9yc7M jxiE/YP2vCldpi6Uz7cd8g9nIj1INDVRneWCZHZkXUVgtGc2uaPVOEccRhXzmhH0tT1k TeqSccfPG6aoEFUFwQ7sC5CLgAngl/bAlktywoa1m5ZesA1ECDH/NGfv5IC3zvrnokdJ Ue3r2xJMCQEzrgNeyMFAcdA7Dckv4WEFX392I8r2P0HbrAoGBQKSoUom2R2Xro5CZjjk cj4iX5gVEjhrERm8T2onR1lFbNflY3JUBOLQgtZ3V8PsC24nynGKtseNuMBNEHRCblaw 0bQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version: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=cMFKPH9qknFFr+qQ/mVoscH7RvpHHWaMtNC96kfwxRU=; b=QW8u70EIjERQ00NDAcbsaiNLDNw2gqWo2RnfRutZKz4zC7LlxeTRHCPLWY83vkftdD 8swZox7WTBNEnpWOT2U1GZ5vY0stUzLH5zvkb4bfYqP/NbwGtwPcDII1qkW6LiljItYf 3uqEN8SaJyYqISYu1rAT4lNaaXakAJls0UZfvdUstD/okZUpl2V1UQRCNhvUdSULtiAu RR/WHZCNOt4thRN5hW3731d8otU2pl7kung3Q+PKTE274714HXs/LHR6lwy9CHZ5MgLl ob7PSSODcuVHL4f2XDzySyzv9GWi57/Mq4pyNzePi6qd8kmsfiSuSZlwfefqPVgS7g8Q 5kpQ== X-Gm-Message-State: AO0yUKW9XDctLXXtaG2cJRN/VhDBKj7IgXVQuTzbP0UrTDIUBHT+53x7 w1vcucVgrHmb7AmT5VGE1tEwj3sGP/SPF6T7 X-Google-Smtp-Source: AK7set+XbA+zLLL5ZIIWpsSm0XcBjZ3LkW+otShO4lPVpWysoX4HZbVMB0SBVD5Tl+wDxAyfhdRhGw== X-Received: by 2002:a9d:57c9:0:b0:68d:3fc8:7c11 with SMTP id q9-20020a9d57c9000000b0068d3fc87c11mr344143oti.12.1676402654699; Tue, 14 Feb 2023 11:24:14 -0800 (PST) Received: from grind.dc1.ventanamicro.com ([191.19.40.109]) by smtp.gmail.com with ESMTPSA id g5-20020a9d6185000000b006865223e532sm6653752otk.51.2023.02.14.11.24.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 11:24:14 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liweiwei@iscas.ac.cn, zhiwei_liu@linux.alibaba.com, Daniel Henrique Barboza Subject: [PATCH v2 04/11] target/riscv: remove RISCV_FEATURE_MISA Date: Tue, 14 Feb 2023 16:23:49 -0300 Message-Id: <20230214192356.319991-5-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214192356.319991-1-dbarboza@ventanamicro.com> References: <20230214192356.319991-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::331; envelope-from=dbarboza@ventanamicro.com; helo=mail-ot1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This enum is no longer used after write_misa() started reading the value from cpu->cfg.misa_w. Reviewed-by: Weiwei Li Signed-off-by: Daniel Henrique Barboza --- target/riscv/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index fe572b83e9..00a464c9c4 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -89,7 +89,6 @@ enum { RISCV_FEATURE_MMU, RISCV_FEATURE_PMP, RISCV_FEATURE_EPMP, - RISCV_FEATURE_MISA, RISCV_FEATURE_DEBUG };