From patchwork Fri Jan 12 14:01:53 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: 13518510 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 BC813C4725D for ; Fri, 12 Jan 2024 14:05:30 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOI76-0003zG-MI; Fri, 12 Jan 2024 09:02:24 -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 1rOI73-0003w6-NO for qemu-devel@nongnu.org; Fri, 12 Jan 2024 09:02:21 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOI70-0005lq-6O for qemu-devel@nongnu.org; Fri, 12 Jan 2024 09:02:21 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-28bd623c631so5610675a91.3 for ; Fri, 12 Jan 2024 06:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1705068131; x=1705672931; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HeqYAzowMgjT9v7vCCjTcj7UZNPggSTt/OKl7QchW4A=; b=aN/iGag6tUHzUT3dII5Lkz9P8yhbIGidI+8kpAaZPiu/QmvcuNYqhQKWlv9zQlpyO6 UQCg0iP1vIlUdGIzc0FTupM6BLpFwba+8eSaOytlHRYpeO8a/z7VwGiQqq3BlkDN9TyL Cx89m8uVVz4cy1UrHJ6hKezdmnoOHS0P+11WnFNzou05CSbdR+NMYQg8Z2WyC43d1GYn 0BCGAmMHxzFtu48kw3gj65IKnbgA2U6d7J07ufzkQMfyo2I0jMIMiMy6848AoLWjPBUp FpGQB4J+w2ClhhSK9M39dzRcTrF4fraWC5Na9PTEAZ4xXaN5QkCwBr0XhMtDjVqKeSsb Vv1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705068131; x=1705672931; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HeqYAzowMgjT9v7vCCjTcj7UZNPggSTt/OKl7QchW4A=; b=Vmpbi3tJQNLWVGIP/Wp9BGDUoTC1JlAm/d1lFXCgzUegiu4+EVnjAS1S8J4QHIm+bt wyonfLFA6VGF1/YYc3z73G3q/IRUmbPaBlxp4X1Nhsvkkwo5ccms9pmBkNnQ55Eimfzn 299W11Ug1wClM0pgYs02AjTeHj3oLy2CCqaV2iolLU+LGbDq0P9/vPivMkIbg03sUYIb 36t5k+lUCbESxivyb7fMyXIVoRlS1f9fAmI6EZq6ntFUDKVAB88/ZemofTLptqlsvjhV CMmfqxV5VLhJUTio/hhav5/fP9i3vKAaQdzDyelVxJwiseyYAJAWb+dx1lAR+Mdfarkt 948w== X-Gm-Message-State: AOJu0YxPBDautbvuT3xBxysGEtxA7DDlZMcsF08Mn4VOVV+azNQQDgcU yu0yDEfSyo2m3OFLcXMjqV5Wi9bfN6ZpH4+gJSFO0HDB4WOz2g== X-Google-Smtp-Source: AGHT+IEsolmOWSiZFkvcZXO0XrXQOyLTbEOd4lyLT7LPZpYssxkTSY1iIRQhsIDDOZDXYDuxy3i4Og== X-Received: by 2002:a17:90b:1c91:b0:28b:d596:39d9 with SMTP id oo17-20020a17090b1c9100b0028bd59639d9mr1372296pjb.82.1705068130677; Fri, 12 Jan 2024 06:02:10 -0800 (PST) Received: from grind.dc1.ventanamicro.com ([152.234.123.64]) by smtp.gmail.com with ESMTPSA id t5-20020a1709028c8500b001cf6453b237sm3116927plo.236.2024.01.12.06.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 06:02:10 -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, Daniel Henrique Barboza Subject: [PATCH v5 0/8] target/riscv: deprecate riscv_cpu_options[] Date: Fri, 12 Jan 2024 11:01:53 -0300 Message-ID: <20240112140201.127083-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=dbarboza@ventanamicro.com; helo=mail-pj1-x1030.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 Hi, This version is a resend of patches 10 to 17 from v4, reviewed-by and tested-by tags added, rebased with Alistair's riscv-to-apply.next. Patches 01 to 09 of v4 are already queued. All patches acked. Changes from v4: - patches 1 to 9: already queued - patches 10 to 17: reviewed-by and tested-by tags added (tested-by not added in KVM specific patches) - v4 link: https://lore.kernel.org/qemu-riscv/20240105230546.265053-1-dbarboza@ventanamicro.com/ Daniel Henrique Barboza (8): target/riscv: create finalize_features() for KVM target/riscv: move 'cbom_blocksize' to riscv_cpu_properties[] target/riscv: move 'cbop_blocksize' to riscv_cpu_properties[] target/riscv: move 'cboz_blocksize' to riscv_cpu_properties[] target/riscv: remove riscv_cpu_options[] target/riscv/cpu.c: move 'mvendorid' to riscv_cpu_properties[] target/riscv/cpu.c: move 'mimpid' to riscv_cpu_properties[] target/riscv/cpu.c: move 'marchid' to riscv_cpu_properties[] target/riscv/cpu.c | 377 +++++++++++++++++++++++------------ target/riscv/cpu.h | 2 +- target/riscv/kvm/kvm-cpu.c | 100 ++++++---- target/riscv/kvm/kvm_riscv.h | 1 + target/riscv/tcg/tcg-cpu.c | 4 - 5 files changed, 311 insertions(+), 173 deletions(-)