From patchwork Fri Jan 5 23:05:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 13512597 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 492F9C3DA6E for ; Fri, 5 Jan 2024 23:09:23 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLtGL-0002E9-Qy; Fri, 05 Jan 2024 18:06:01 -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 1rLtGK-0002Dl-9M for qemu-devel@nongnu.org; Fri, 05 Jan 2024 18:06:00 -0500 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLtGH-0002FP-KQ for qemu-devel@nongnu.org; Fri, 05 Jan 2024 18:06:00 -0500 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6d9b5c4f332so83879b3a.3 for ; Fri, 05 Jan 2024 15:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1704495956; x=1705100756; darn=nongnu.org; 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=QKiONtxFfTqSHiECLhKcpjAfy4/ifaS9sd5P13OAD3M=; b=S8QUCbqAAO0n3xDx75KNu07eUd2q5SeD/o+/wzzIfkOS1smX7a6OVk5iQq9jy6ZkIh JMeH8nj9pZO21z/rxhSwp++BjH35e7ibn6pwr74tFLDvNtdasEQWkzKfW32rO5rXC6R9 f/csPfhCYhHGEJPpzonV3J4CivKldmKoGVKtSYLR923ceVjA6g1mH4dFGk6CzOTTfhqw oxGrklaNdN8c+ilPWF0zKlvV+y45V0H9KOPUncTTacaD9eTcOj6TL1w+birk/Kkcl9e0 Go7npVPhSvoxMo23MYy7aQ9KQu95BWny21E/NkjZCB4QlKrLZ8TtH7G8XnwCFTa2AXBa mNyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704495956; x=1705100756; 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=QKiONtxFfTqSHiECLhKcpjAfy4/ifaS9sd5P13OAD3M=; b=j8NxsbhY58ujvbzmxXIcFyD7UAPBSCqeZvrmXw/zsAL5xI+y9PJ5/89IjpuEuAPELu JQVUjrcd+9CtI4Wup+ZrYVqMsIejinPS6Vo5haX75IWgBwPmJhHLMkIOTREeUczexMJU liatycKdnB3m4TBuz9fpJvbvPcm3zWMI/EcfJlVYIsd8tWyI+Ij61C5rtxfRYjWVYLmV G9dP96IzWk8Ll7QysHx+Ggqc90VSlIFxowEI0YYKK6S65PofahAq7UkLns4jHntqessk VOWkltBEjqIERoGaTeBCwhgfTIn/rRTgnQxAu6P37rbt3/ysh5L+lghjtz6STqZkhuiF cbXQ== X-Gm-Message-State: AOJu0YxLsbiSp8smCTuawqPcq5J8/ePg5nELjymtGu8K8ihytXzPClGC hdqildksePIRj16EfA8UieKNx1EEzIUEw/odPa2bFbNidXRgVQ== X-Google-Smtp-Source: AGHT+IFUd8coi8ICm8E1b7mH5Et0GvLDKR7md5MP+swQIB9kObVq/YhL2LV1u1sTc/WKQpa0gElsAA== X-Received: by 2002:a05:6a00:1888:b0:6d9:a1e8:89d6 with SMTP id x8-20020a056a00188800b006d9a1e889d6mr80195pfh.63.1704495956106; Fri, 05 Jan 2024 15:05:56 -0800 (PST) Received: from grind.dc1.ventanamicro.com ([152.234.127.254]) by smtp.gmail.com with ESMTPSA id r19-20020aa78b93000000b006dacfab07b6sm1849249pfd.121.2024.01.05.15.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 15:05:55 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, ajones@ventanamicro.com, Daniel Henrique Barboza Subject: [PATCH v4 01/17] target/riscv/cpu_cfg.h: remove unused fields Date: Fri, 5 Jan 2024 20:05:30 -0300 Message-ID: <20240105230546.265053-2-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240105230546.265053-1-dbarboza@ventanamicro.com> References: <20240105230546.265053-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=dbarboza@ventanamicro.com; helo=mail-pf1-x42b.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 user_spec, bext_spec and bext_ver aren't being used. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- target/riscv/cpu.h | 1 - target/riscv/cpu_cfg.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 44fb0a9ca8..1c5ab8bd0e 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -180,7 +180,6 @@ struct CPUArchState { target_ulong guest_phys_fault_addr; target_ulong priv_ver; - target_ulong bext_ver; target_ulong vext_ver; /* RISCVMXL, but uint32_t for vmstate migration */ diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h index 780ae6ef17..0612668144 100644 --- a/target/riscv/cpu_cfg.h +++ b/target/riscv/cpu_cfg.h @@ -140,8 +140,6 @@ struct RISCVCPUConfig { uint32_t pmu_mask; char *priv_spec; - char *user_spec; - char *bext_spec; char *vext_spec; uint16_t vlen; uint16_t elen;