From patchwork Tue Oct 3 13:21:46 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: 1842676 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; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=T8CYlJcz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S0JQn1Z4fz1yng for ; Wed, 4 Oct 2023 00:22:41 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnfLf-0001ec-RA; Tue, 03 Oct 2023 09:22:03 -0400 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 1qnfLd-0001dI-9M for qemu-devel@nongnu.org; Tue, 03 Oct 2023 09:22:01 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnfLb-0002dr-L4 for qemu-devel@nongnu.org; Tue, 03 Oct 2023 09:22:01 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1c5cd27b1acso6595185ad.2 for ; Tue, 03 Oct 2023 06:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1696339318; x=1696944118; 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=AehOG6GcucbJUsRSBJkdd1sV17cpGm9nmpjLlYi2tG0=; b=T8CYlJczPwxK0JiqQoD1P5aNKfaDhuDQwtlu9ZkwioZ4T6Y6ktq7QMyp7GfexiQIaE d1osyiqcKgukr/t1oHffXFFApSI4vQnq1I/N3XvpG4VTuEG138l1PVFw98bRhYuRXfU+ s3Y8a//HRcofBTwUFCbNgBc0JCucf3IT2x6gIVaWGlLI9JPN1cjTvgvL9/wYgE1kB1Kk HLLDhFa/8KKL74Xh4dRsybAXQIelWUw1lmKulxz7R40ILfrW3UrWwz20mPU4TWe+XzFX geBJznveyVodZz5naK26nnzGHqH3Yx9VL1ytjkfGTUai3qVea0/hYG/0FJa4dcIa4Yyw /56w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696339318; x=1696944118; 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=AehOG6GcucbJUsRSBJkdd1sV17cpGm9nmpjLlYi2tG0=; b=tBN8W9nr3dxAREH/U4lIy6f6J3G9EI9eoQpqQD5t8Wa9FKT9Ib9d3+raA/fdngHbCC bH4m/ZdQrkr5Eno2R5GXDDVNSNAprK+REiDb79t9MUwF7App71Rq/Z5io4iuNjjvpRoK Xx1+SQ8STPzeVk4LwEJG/S9gNmH2fROyo+jrVnez+oWBPCFOXybwCd3wKyFfyvczYxZ1 Xl0nyaHzVFsXn7aJxWuRWAXFlnN6nfMNubp349zc3l2MlMsMDURD/Qt4aLtm5OQpwnKr HgcilpjIAI1LgDo7aytj+bq837i9iXgpA4siIJOYfAcFgvW9whFZ5zkaK6k1XdQQqpWg sCLA== X-Gm-Message-State: AOJu0Yw6hPG6haWJbqRmsgrmaPAwjJ6ww7IbBG1B1ItimWHwxfC31Av9 tRlETH9Hmiq4PDrc4P0eCRw47DiU9AoWKe4zMcw= X-Google-Smtp-Source: AGHT+IGbtlulHcTvEXpgHVNaH0DD4S3Z7PniNaVOdmtWOwMZ431SYya9ST9BsJEF+0i6okiWkCKO5Q== X-Received: by 2002:a17:902:e5c5:b0:1c4:56a7:b632 with SMTP id u5-20020a170902e5c500b001c456a7b632mr16669823plf.52.1696339317841; Tue, 03 Oct 2023 06:21:57 -0700 (PDT) Received: from grind.. ([177.94.15.124]) by smtp.gmail.com with ESMTPSA id u11-20020a17090282cb00b001bf11cf2e21sm1491777plz.210.2023.10.03.06.21.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 06:21:57 -0700 (PDT) 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, palmer@rivosinc.com, ajones@ventanamicro.com, Daniel Henrique Barboza Subject: [PATCH v2 0/2] riscv, kvm: support KVM_GET_REG_LIST Date: Tue, 3 Oct 2023 10:21:46 -0300 Message-ID: <20231003132148.797921-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=dbarboza@ventanamicro.com; helo=mail-pl1-x632.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi, In this new version all instances of "error_setg(&error_fatal, ..." were replaced with error_report() and exit(1), as suggested by Phil in v1. No other changes made. Changes from v1: - patches 1 and 2: - replace 'error_setg(&error_fatal" with error_report() and exit(1) - v1 link: https://lore.kernel.org/qemu-riscv/20231003113259.771539-1-dbarboza@ventanamicro.com/ Daniel Henrique Barboza (2): target/riscv/kvm: improve 'init_multiext_cfg' error msg target/riscv/kvm: support KVM_GET_REG_LIST target/riscv/kvm/kvm-cpu.c | 100 +++++++++++++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 3 deletions(-)