From patchwork Fri Dec 27 20:24:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 853841 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp5410675wrq; Fri, 27 Dec 2024 12:25:56 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU4nneu35SA6aHgSgJuURSlTsnj/npOfvsSeYyth/uSUZuPSNYiOuuZglkMmIyfDEBoiCprLQ==@linaro.org X-Google-Smtp-Source: AGHT+IHauWyuXctdNJy3QnZDbnp5dKcxUp04PVX/OkGnby/lS7ciX7AMe+wezI59/FBDqI8p29e2 X-Received: by 2002:a05:622a:209:b0:467:6cd9:3093 with SMTP id d75a77b69052e-46a4a9a01d8mr529453181cf.46.1735331155695; Fri, 27 Dec 2024 12:25:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735331155; cv=none; d=google.com; s=arc-20240605; b=CCDMcRLod1risDsrKiwaX+iFwJsMLO4dRkYOUzVhkLEPQnKhY2JGD1kfrAodBY2s+G vqtNi/xUP2En8Wm28CWPhVOENH0yyvJDyaTOuLrYsFVobGz/ejaoYidRUa9fkDJoDW4N FQVeD+XdLrDsIXKwbJjG774yts7AM+xAMtQCxXTnwKTwq9hpxxWLJqT912FsOBRQpHee lU0avXw78A1tZkiW3HU+qRGxzZwWuzvD9mXS5DSCTBEZDPyOuvZQ3kvTI9BoJE9GFned uHIDGfn6gVUbJmA3LzzlfvmVEpyqbM0q/b/i3a9o+VdTBgZ8jtvjgldJiqxszUPoQlqj c67A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xe+vcyPZJWzPRyHwRPCh0MVBHckAA2MYIwBQH2GfQr0=; fh=sBx5U+F58UgfvwuRNQ3//s/5KHqwKLxs8HyFxIJ5JeQ=; b=aDmEIxSDSS5IPjBTqj3Zfa1MJPtjg1KXD7BerjHqRnhYfvGHZK4wVXMLIaMeWTgCuZ OQKPNnzJwnztsBZDIkbFGvMNvF9cT0x/+uRwtwGMvyVjqBw0Cmyl2vPu1IIyW24zVMMY XWnqYQZPB8ZU+jr/W/1mWmq51IOYoo+FQouJBQblGyunH52fBpCFInz738dWw2S2hfY/ 3S8nCZQ3zntQq8Myd5tL+GgmhMLyC5khvOYG9hTMfxuukI049+cSrVWI819Z6fkK77jU ETGbmyQDF68zkD5QpYlHzrsg5UeUK0kQaEDUgWen3pwyqtb9AWAgl8k4dmrFpRJjQYqa yh1Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bEsaKvVV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-46a3ec05baesi217243221cf.695.2024.12.27.12.25.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Dec 2024 12:25:55 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bEsaKvVV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRGt5-0004Fh-D0; Fri, 27 Dec 2024 15:24:47 -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 1tRGt3-0004FM-En for qemu-devel@nongnu.org; Fri, 27 Dec 2024 15:24:45 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRGt1-0004zw-Uw for qemu-devel@nongnu.org; Fri, 27 Dec 2024 15:24:45 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-385e3621518so3503927f8f.1 for ; Fri, 27 Dec 2024 12:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735331082; x=1735935882; 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=xe+vcyPZJWzPRyHwRPCh0MVBHckAA2MYIwBQH2GfQr0=; b=bEsaKvVVe5X8+bFImiTQ5fJ176p49Mn8ZOjBz0MUb8IHhAStE+qse74pde9gJnBV8b qHpLxPImek/wzwJ2y7E0rONjpzgZUqUd3YjB5TySGskX8ishBHFXGaW9TAV5eK1om1IZ H0cjlEzh1cfttaKJ1aoNPuoB6kWiihr2t0Pky07UHhWjPbqjvg2HVZU7rZh5oJjQdgFG K/yOcjOe/HdzBtm5l945L9Tmo82YDRsvdkfPCGm+9dYGD85bpwCuxbU9esoaGMsplK8z vFWn3JnakBh1Lm0+kZ4GmKf/8Hm1XV00yzSTb6BlS+FSjcmLOKojDmyh8ZkCZMn2BYao UMgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735331082; x=1735935882; 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=xe+vcyPZJWzPRyHwRPCh0MVBHckAA2MYIwBQH2GfQr0=; b=Zl78PdXK9RVexRFvNim0v8Oiw7DY9faikRKCp7kn59FP9iywLRoia7FsIl252BdBc8 OOMtn22drIkaibSLrVhLh81zBGhZtM53Hft48NxN0EHOFGqrBIkc22sbxF5M3rnQW9D9 dr4tWNQW3mYcPhoYTem/u0M5q6ShtgjTEdLe0x+ifBlsParTb1l8rB8F4vDgf97wwSh/ Cv1/Q690UDq8xd08uceQMPuUVfgDUnYxASRG1wtx6Ycr6LZvA6b2m/CzUN0nj52m1j4O WA7GtPSwU4Z8pW5ydlTn22V50cUNYSWKyoAYPInWO4ZQu2NnbInSG4rH+k9eCJjrDhmg gH5g== X-Gm-Message-State: AOJu0YwMCV0il5Kllk40BEY9fNeeN2aWITTLBMEUfb2TpVbi75206WVt a4xPLPhWgoDcey4rGEAqLlhMmZ5NCF+y5AfmDv2Gi02W1BOHlnPaFy1M96UuEAMtwkrE0jC8XZ8 n X-Gm-Gg: ASbGncvGzKueig+0LnhLw4I/xZxvsvqaNE6TNxzGRpHJMJlocYbZCyjOA6UgvRDryNy X1tb5tgbZvKPkz76dtgZAnt1ADZ2potf14h466gASqDALqGQoxBIDfcbXfTlL1p6FQAK+W/aWP4 7IStevQI0G4L6Dkb0lvPr8CudEuWYqhy1ReqFD1LOOKvVkl0+wbP/8JFL+jgss8qSe3Cm85Z2Rm TLUAp1IgLHgo5tELSCzTD8SQ7Bv77rP5iPWyD9+kdAp2jenSChIxPw7Gs3i8OpEP4Xw/b4cPwAU ayt7VQmh05nM81QpPMZoCZz3pfd/fmU= X-Received: by 2002:a5d:588b:0:b0:385:f573:1f78 with SMTP id ffacd0b85a97d-38a221f2042mr24720949f8f.24.1735331082158; Fri, 27 Dec 2024 12:24:42 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acadcsm22713871f8f.105.2024.12.27.12.24.41 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 27 Dec 2024 12:24:41 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Phil Dennis-Jordan , Paolo Bonzini , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] hw/intc: Remove TCG dependency on ARM_GICV3 Date: Fri, 27 Dec 2024 21:24:34 +0100 Message-ID: <20241227202435.48055-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241227202435.48055-1-philmd@linaro.org> References: <20241227202435.48055-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The TYPE_ARM_GICV3 model doesn't have any particular dependency on TCG, remove it. Rename the Kconfig selector ARM_GICV3_TCG -> ARM_GICV3. Fixes: a8a5546798c ("hw/intc/arm_gicv3: Introduce CONFIG_ARM_GIC_TCG Kconfig selector") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Phil Dennis-Jordan Tested-by: Phil Dennis-Jordan --- hw/intc/Kconfig | 6 +++--- hw/intc/meson.build | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig index dd405bdb5d2..7547528f2c2 100644 --- a/hw/intc/Kconfig +++ b/hw/intc/Kconfig @@ -23,13 +23,13 @@ config APIC config ARM_GIC bool - select ARM_GICV3_TCG if TCG + select ARM_GICV3 if TCG select ARM_GIC_KVM if KVM select MSI_NONBROKEN -config ARM_GICV3_TCG +config ARM_GICV3 bool - depends on ARM_GIC && TCG + depends on ARM_GIC config ARM_GIC_KVM bool diff --git a/hw/intc/meson.build b/hw/intc/meson.build index 510fdfb6886..602da304b02 100644 --- a/hw/intc/meson.build +++ b/hw/intc/meson.build @@ -6,7 +6,7 @@ system_ss.add(when: 'CONFIG_ARM_GIC', if_true: files( 'arm_gicv3_common.c', 'arm_gicv3_its_common.c', )) -system_ss.add(when: 'CONFIG_ARM_GICV3_TCG', if_true: files( +system_ss.add(when: 'CONFIG_ARM_GICV3', if_true: files( 'arm_gicv3.c', 'arm_gicv3_dist.c', 'arm_gicv3_its.c', @@ -39,7 +39,7 @@ endif specific_ss.add(when: 'CONFIG_APIC', if_true: files('apic.c', 'apic_common.c')) specific_ss.add(when: 'CONFIG_ARM_GIC', if_true: files('arm_gicv3_cpuif_common.c')) -specific_ss.add(when: 'CONFIG_ARM_GICV3_TCG', if_true: files('arm_gicv3_cpuif.c')) +specific_ss.add(when: 'CONFIG_ARM_GICV3', if_true: files('arm_gicv3_cpuif.c')) specific_ss.add(when: 'CONFIG_ARM_GIC_KVM', if_true: files('arm_gic_kvm.c')) specific_ss.add(when: ['CONFIG_ARM_GIC_KVM', 'TARGET_AARCH64'], if_true: files('arm_gicv3_kvm.c', 'arm_gicv3_its_kvm.c')) specific_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('armv7m_nvic.c')) From patchwork Fri Dec 27 20:24:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 853839 Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp5410582wrq; Fri, 27 Dec 2024 12:25:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXFAX0qOv6STl5f3jBOwC+fy3IEdi9Za6u34ohrzcCnZ5BoNQ0STZI2pIX0uCuCBUeNYk/+Rg==@linaro.org X-Google-Smtp-Source: AGHT+IGQia8P96TFxqn7OVODRdVyrZZFWyHoL0+j87yGX2oucXbqYeYS2UKvhCmmmHmc/0f8eSxU X-Received: by 2002:a05:620a:2981:b0:7b6:c486:c4f8 with SMTP id af79cd13be357-7b9ba79af1cmr3873399585a.28.1735331136007; Fri, 27 Dec 2024 12:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735331135; cv=none; d=google.com; s=arc-20240605; b=eK/Kc7warXhP4bZI68WGiC98BzeyT6i2isXKfxwTPl7JGu98MMzrGcVZFDLzSq7KLT EeciYbPnk8vSfl5Heu1J9iKUbNWgYBgfROYk74siWM5Rka79ppnJfDCx3EyW3mo1MI8R 21q9MjrLrX1sTo3lo4p9i3o9JHe5RZ8UmvPa5WMDJKLEIBTRGVgedkxq2b9PmxE8WHAQ MycJXZsYboE8wyBku2pTK6nwyRbP1XYNJIRy9rK5WAsVVZViG5Ob7MCZSRrFk7Tr9ALF BoFhim6jsozXfH6s8dANwt93nDV0VKdaScU7337bYp6aWKLIyrZEphVDrMNGX8qVz1hV j0XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tOiBkjb8mh+lWuc5hL1sFnWxqlY1hmRaS9nt/JCya4M=; fh=sBx5U+F58UgfvwuRNQ3//s/5KHqwKLxs8HyFxIJ5JeQ=; b=fVK/0ZFkuGntCYKTuhy/XzvkjUMdZhBHf3xon11Xd1ePfb602M8Evdok1VVT7ctJ+Z GzZQKxQDSRgayaxY2IK2KlZSLABIK/4ub2XnyCcPhQ2XnaYUNjC9nCKocpS5bKrlEH+/ 0UcJh/vWgltYM3VfqltMQCdCFHqmxAyMP0TBxQVKPIx5pyVVAxED6bDcMj31Gwqam2g3 Mlk9sE1BrWCZwGu1abqTWdflUFzGrTikXuk9pj/vWVcxWg+dDp1JEDcLRajEA1p/BWAs 5vbmRaj8PVzf/HeGIcXdKwQb9R2ZNtgXOvWxF3cAX40D2cUchaASQXtzkS1tydsweags gs/A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P9lmwGmT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b9ac54d3f6si2153001785a.670.2024.12.27.12.25.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Dec 2024 12:25:35 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P9lmwGmT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRGt9-0004Gm-OL; Fri, 27 Dec 2024 15:24:51 -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 1tRGt8-0004GQ-MJ for qemu-devel@nongnu.org; Fri, 27 Dec 2024 15:24:50 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRGt7-00051E-2v for qemu-devel@nongnu.org; Fri, 27 Dec 2024 15:24:50 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43622354a3eso52042515e9.1 for ; Fri, 27 Dec 2024 12:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735331087; x=1735935887; 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=tOiBkjb8mh+lWuc5hL1sFnWxqlY1hmRaS9nt/JCya4M=; b=P9lmwGmTDKeOMBVmx4pIn1O1WZ9Q33RqOq8nKZLMYQWIiKe9+y31/brpMlvg0/oohc TyN2NsIzkB2ByCsFVACQaHvMJHd22EEY1qqLdwwHBer66v9OZZbyf/GAZG7eagw+ME3h 3/RDgZOT+M8kJsTJFgzkJEeij/NwBtbIt0oEzpb+9yN0Y2lXiFiHPz9dHqgJ6nZkUfmp KV1C3+/WBWm4qBKAf38Fy515M/V6Tsx6JM3LY50ewm3XsoN1hmRrzEUbz7Id/0FAsn+l cHOUuuah6oT/RsNB95MEVOIL25/RqC/ADffbEjDgnGCTtRDiCk5nqMON8UbDQP1Fdl0/ 4KUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735331087; x=1735935887; 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=tOiBkjb8mh+lWuc5hL1sFnWxqlY1hmRaS9nt/JCya4M=; b=FWHOpWpW5aHj4EgXHR3hB9qRdq+dUaYt19cB+gd6x+nicUfabeUgrtKer4r/jEs7Hv ebg5gOMnp9NBe8ErN/fRp69c4+kmJt3rHlLENSc/yvnmLLE5lkuIJZaqjYzjvHj1e4gB DB0/3vMiahguRDalHo9lCnTxxUqC+dbtn0TyzpCeHeUmeZtKMp0miDFyAtQ1AAXkr+Ld ZMCF7QVzMw+t+MMmSyR92xyCw6JuYa1b1EooRCqoGYj3EAovLdp5AnadMUSYyQxeTORs SdvHfZ1UOFsLnhQexHIOlPmbbmEjDuV5LZg+petvRYIg8km6546C6hR7kdO6QJNoIETG HRtw== X-Gm-Message-State: AOJu0YyATwj7V6IifuP15tv43ICehcMsxP7cg8+ehHoSIsZWiuTm/l4g JMlzcgGS1E/wiIOIEEpzT5ameq7H5v/K5DBlFTQdPrZAOeWk4mMPNL22cihKz3fQ10jkpyUNEYx b X-Gm-Gg: ASbGncuqDv08IcuovnF4xD/EgJLmh2FEEDNiq6fWK7nLMjmNWxKAi3lUZRAv43qUiYY eRDfa2ThvG1d+UVmU+BDGHdMS8QLs/O2ZAW6124W5/+cai80GkDm3sPGFX+N/DzGiZ6bJC0p6G8 a0JjFJj+B+j4xB9VtkdyPLl58BBXQPHFatlB0fJmwqSjkHv+Oxsow8u0LVWSr74sqyXQkOAkLD/ zEuOO7J703g5IX+/ocvpKZcJ29kCF+GUdjMA+Dkkcazl511GjQvNNP8KQUcsZQ/sNW6msPzSgGT 92krADNMMohM7lC8mvFmFFSscGzcnWA= X-Received: by 2002:a05:600c:350c:b0:434:fdaf:af2d with SMTP id 5b1f17b1804b1-43668b7850emr246307105e9.30.1735331087390; Fri, 27 Dec 2024 12:24:47 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43656b0145csm310239725e9.15.2024.12.27.12.24.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 27 Dec 2024 12:24:46 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Phil Dennis-Jordan , Paolo Bonzini , qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] hw/intc: Have ARM_GIC select ARM_GICV3 when KVM is not available Date: Fri, 27 Dec 2024 21:24:35 +0100 Message-ID: <20241227202435.48055-3-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241227202435.48055-1-philmd@linaro.org> References: <20241227202435.48055-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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=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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When the KVM accelerator is selected, the Kconfig ARM_GIC key selects the KVM GIC implementation (ARM_GIC_KVM). For other accelerators (TCG, HVF, ...), select the generic implementation. Signed-off-by: Philippe Mathieu-Daudé --- hw/intc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig index 7547528f2c2..762139d8df3 100644 --- a/hw/intc/Kconfig +++ b/hw/intc/Kconfig @@ -23,7 +23,7 @@ config APIC config ARM_GIC bool - select ARM_GICV3 if TCG + select ARM_GICV3 if !KVM select ARM_GIC_KVM if KVM select MSI_NONBROKEN