From nobody Sun Nov 24 02:25:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1728587148; cv=none; d=zohomail.com; s=zohoarc; b=leeOafK6nyL3SsJsmWoTrmYJ0Tc1gPDOxwiN5aIbXR6M6PpMfrH9+s7khyK0czFMIhEGkW9marQyCpN8Y6LgVIXfqBKXHu8yJMRSVL32bGtnB+SYsyw1DMp52KE2UL1+pqO2DqqGNbEWPEs/u/WuqYmWql9UdvjhMyiewAb7ris= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728587148; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=uMbhqBUI4BThm42iYqRzGr0189fZkGi1HZ2Ne6+spLA=; b=WYPJg2Wjs0t3362cJSLso1rDRIiQBrj4MCjVcDYcBkzTdsS8D2rw126XLthPZCROIuAWcdKGCO1I7RjBVnoG377PqtkpkVaEA3qpZdlSS1fdTgPoceG7tLHGwFgBOha51imSNPi05nTiNe0aPuUnrZU9yz0yxO0vp8tG1TgypNY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1728587148882823.3109266104975; Thu, 10 Oct 2024 12:05:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syySl-0006Hf-Bl; Thu, 10 Oct 2024 15:04:43 -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 1syySH-00068z-1g for qemu-devel@nongnu.org; Thu, 10 Oct 2024 15:04:12 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1syySF-0004kP-NJ for qemu-devel@nongnu.org; Thu, 10 Oct 2024 15:04:08 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-71df2b0a2f7so1179773b3a.3 for ; Thu, 10 Oct 2024 12:04:07 -0700 (PDT) Received: from grind.. (201-68-240-198.dsl.telesp.net.br. [201.68.240.198]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e2a9f5263sm1354532b3a.62.2024.10.10.12.04.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 12:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1728587045; x=1729191845; 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=uMbhqBUI4BThm42iYqRzGr0189fZkGi1HZ2Ne6+spLA=; b=YGFzpzhRim7P++/zlLCQmD59WTgJ3l47IWUVGMpjNC7u81egx4vgqimV7i4uu9o8Ej N/zU0yeFNPgTF4aVQv/coxhx/8fVjIdamqfwK7owex2uj7FJ8mL/GvBRdqwl8Rgef2hk wCx1E0A3YxCnbmYyB8EvxegmfqjCULGENtNntezg7vdsrlOCUGmm+X3yfoVL97zOZu7z 6q1+LZbDyfdjKg+N72FtlIfowSPptUiZXrUWd1E3dNO/XqDgu4WpYc0YSsYM0iy0lDBo AtiljjW7I4y4rpH0hEwg5IA/szcFAicsnFqXdMHkqcLDkuDNAMA+3a/RAVhvIw8292sJ f2Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728587045; x=1729191845; 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=uMbhqBUI4BThm42iYqRzGr0189fZkGi1HZ2Ne6+spLA=; b=HjsR8+vfBY6dE1bjdCZoPGsqL2KmHzoaMS/Bbn6sorp48aF/IQNXRrAXTaYtmCdIOb w9YPP9FM3M5sM9S6J01GZtz8sXCx4EtnaThX+NGOHE5pRQwRORL1up2b3Y6WcBWLD8Gh 4FqgreIjRqIbq8G3Z74Vig2cCjPMaQmN4Bc5wsqcjBAMLMg3FT5HXSY+8Rci77szZc33 MLVdUsop6884RAQPJ6Y58wTFAAL0RTDJ0mc7O4GDYzT2i0c9KfoQcpJkQfBLtSm8UuLq od3THXQJkz/J1EpohNc1Hxw5oIsmX8veOTg7bj5ZzvymHyd932PCNBvjmraPv7d5qqoC zRWA== X-Gm-Message-State: AOJu0Yw7zmUL0KGw30ScwCvnOBx1kxE7diZyLdoN3C6Lr1GPbLlUnnl9 Yrbu9ODGSaKAx6T6zQueHyKfFJ4lzR8ZWdVluUMNxf+ja+A/MU0i66vNCRKPfgP7PYE34tW1hkW R X-Google-Smtp-Source: AGHT+IHbp1uGkw0ilcVCTKLbhAM/6+cZ3JOvqmiQKpmc1GXspro/ZT0rUyFxTKe/EdmOHWIleXur5A== X-Received: by 2002:a05:6a00:2349:b0:714:3a4b:f78f with SMTP id d2e1a72fcca58-71e37f577aemr87636b3a.20.1728587045587; Thu, 10 Oct 2024 12:04:05 -0700 (PDT) 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 7/8] target/riscv/kvm: remove irqchip_split() restriction Date: Thu, 10 Oct 2024 16:03:36 -0300 Message-ID: <20241010190337.376987-8-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241010190337.376987-1-dbarboza@ventanamicro.com> References: <20241010190337.376987-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=dbarboza@ventanamicro.com; helo=mail-pf1-x432.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1728587149270116600 Content-Type: text/plain; charset="utf-8" Remove the 'irqchip_split()' restriction in kvm_arch_init() now that we have support for "-accel kvm,kernel-irqchip=3Dsplit". Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- target/riscv/kvm/kvm-cpu.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c index a92a46694a..3d0584277c 100644 --- a/target/riscv/kvm/kvm-cpu.c +++ b/target/riscv/kvm/kvm-cpu.c @@ -1401,11 +1401,6 @@ int kvm_arch_init(MachineState *ms, KVMState *s) =20 int kvm_arch_irqchip_create(KVMState *s) { - if (kvm_kernel_irqchip_split()) { - error_report("-machine kernel_irqchip=3Dsplit is not supported on = RISC-V."); - exit(1); - } - /* * We can create the VAIA using the newer device control API. */ --=20 2.45.2