Message ID | 20250403204029.47958-9-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3468228wrs; Thu, 3 Apr 2025 13:41:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXp72iZEMOy1vwaUmvIMcAfLb5eaWjclACrsh+qjdmFhsvBn6qCJ1FuioHISkYhGsbx2U/nHQ==@linaro.org X-Google-Smtp-Source: AGHT+IG5I/1sp1s+hmgTx6kN9yfu/k96oylX+AfSP6aHfD4hM1O8C4NYK+ztdbo0TM5Wp690A0R5 X-Received: by 2002:a05:622a:50d:b0:476:8825:99ba with SMTP id d75a77b69052e-4792594fbe3mr4677291cf.12.1743712901773; Thu, 03 Apr 2025 13:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743712901; cv=none; d=google.com; s=arc-20240605; b=jrt2SeJset89+ifJ1arb3U4LHM1FqSRLGeLkRX04oL8HpNG7bkHu8JFYnX9oLLiO6u t33ibz3wga7tth8FhxRElRqAjQKlc1PMlLuLAcV3L06C9U/4nN4UBGlyZF1CPRrYuy9S wyezKX7LfxkNLrX5itbpu2XV59oBQir2zFytDAneJdAZtnbqdSYDdnzur4TyDisLVtdF Ck+LL2+gHG2Q+pCKwNRBJ9tsCO4BT19WYejdTqqgKkLsysfWAd/0ne9v4mifS4jsa6Zo SYkppn/dtm3P97mtMqcnGD1l6WAUZRpmgrFe9qz1awa2LW+UT5eT4gpvQc9X+nhJdG09 hYYQ== 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=Y1ud80T7n6XBN/Vt1w60MmBJZWVmW7lhw8QbR2LN0sI=; fh=cT8sTm3MaRRFY9PfjuzDPMPIjI/oXWRSXbH4Hrbck2w=; b=CGX6Wnsc1njfcJRzYFxq5CDWSa9AUbE15MZiCNQ1ZW1Xw6e4CKucJV8g17kEA15hfq mb3LWx+/B2M5KOsk/VA8qaYwdzisJHUrPExD06P2XjJz3WFkPdTdSf4Skil5MTR1d6CI J+d/5WZKtSDHYk7dUMaa02DYn4QA6s60IXoZV10cHuLFuYrVTFf8JGoV9VXgCv+JDXKL DNOBMWhy/U/bgS/DGCR6uHcI2VDYsNHDFYu1zs3lsjdNZvEu559q5Cmyn3SdDxHyUagO nRUfByBqRI6zuHjOI08RCIuk9RhE2V1BuEko8y6Q5hm0DRJVzpGy3PEszBwm2KFIrXHs fgog==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jVaWe86f; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4791b05d340si17370921cf.131.2025.04.03.13.41.41 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 13:41:41 -0700 (PDT) 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=jVaWe86f; 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 <qemu-devel-bounces@nongnu.org>) id 1u0RNU-0000p7-P2; Thu, 03 Apr 2025 16:41:33 -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 <philmd@linaro.org>) id 1u0RNI-0000c5-6y for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:41:20 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1u0RND-00057B-Kg for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:41:19 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43cec5cd73bso7894005e9.3 for <qemu-devel@nongnu.org>; Thu, 03 Apr 2025 13:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743712873; x=1744317673; 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=Y1ud80T7n6XBN/Vt1w60MmBJZWVmW7lhw8QbR2LN0sI=; b=jVaWe86fgsmIvWn+/TpVJEMqk2sRsRSyTMw5iTrjf/RtTnQag3Rx2HLsf0RoUC7UDG u+K4oswtlyOl4AWsA5yEKMWJF1DXWnIrnA1S3rOK01qE4GTHW7bQ68l9lRDzpucdghRZ FPwZMCyf0L1NHH4mAW3p1asgRMMqNF4IB7HbR/GZwKqM27nC6++mNOb6lB7rsgIeXbX1 7XA62rmn24M4izH3FPFNyguGhS9xd27Z04JLHGPhqbu7I4ueMhM/W3Aze59eE1sWxwuj ekO1fQ2dy55mtObdmXhI0ymTNXfDF4mVGQBADzfOe/VjoWiL0TMeaTWG9n1F7aHXvdKh JkfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743712873; x=1744317673; 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=Y1ud80T7n6XBN/Vt1w60MmBJZWVmW7lhw8QbR2LN0sI=; b=kgzQ+y3HxPMnCzpMuoAxuX6MyXPQeJPH2wvKzghuljyKHEm85Ri0zaTqzb225a0Uu6 RjWpRfS9JbklkDkv/4l2mBL7+xEfS3ej9YcLhrxXvUg5LKVTqFHyfUGnU+oBCSORq4MN nbJNdI3iYZ1pxTHGT7EboFArdYecbTEzubCG5T/rO5vgSUyN2m4w5qhh82tIwLMqpqd7 VCjNMFp9OyQ/buuITw4jZotQ92FlAHE0oHTfb/6sLEXr9UKFFv4qHwwTBmKItnq+nWhy a3/kiQ4Vi1nUtfAbQqbcnFVsGyyRNgsEQAbFV5OFj8mWQtBeiVdfPI52QIdqdPZpUFdd leiA== X-Gm-Message-State: AOJu0Yyqx6Mea6iA/PCn4gWQkRfvVKdgQLZso2z7bQhFKzYSU+vzC3K9 bEdXXrkZP3qtRQPaCnu/Ek1ggL2JLKC/pUl26P09o6doszF9L3Gg7J7yaZRj3agV2Y85vFj5tY4 U X-Gm-Gg: ASbGnctaX5C8UDqkFhS+SbkmW++ROvH9s3sJ9+F5wFCXwNb1V7P0foKPh+FTqStNJ1n aj+beHTjMHUnfP1t/0wRCOycIH1jEl/8PhZ9bMVU3y7p2BBj/nVhMai1FCJB5Js8qlI7BFuDaCB 2Xe7BT7X7fAb08gA28l9WurWfcGRHeZjcj9e6kN0QyylktoAeOpyTmoVvSU+kvSxfFtaVLZ/DxY xPS46C+/OJi1l/9x930qX154DChk0aTn8NyJyLg/bgbHcjouNHqlHFdwhJTEvmllR/Czw9qoswA MEwG2CYVsXv72oh+6R/Pl1K4izddMdlfkZlu8JmixrXXWL8JgQ8SanIu4Tatc4mKO5eccdUf9Q7 cJOdyIzi5f7o7C7oBpzDfmGyS X-Received: by 2002:a5d:6d8b:0:b0:391:ab2:9e71 with SMTP id ffacd0b85a97d-39cb35bd8bfmr546809f8f.20.1743712873478; Thu, 03 Apr 2025 13:41:13 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec34a7615sm27325625e9.9.2025.04.03.13.41.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 13:41:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Andrew Jones <ajones@ventanamicro.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, qemu-arm@nongnu.org, Udo Steinberg <udo@hypervisor.org>, Shannon Zhao <shannon.zhaosl@gmail.com>, Gustavo Romero <gustavo.romero@linaro.org>, Igor Mammedov <imammedo@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Ani Sinha <anisinha@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH-for-10.1 v3 8/9] hw/arm/virt-acpi: Do not advertise disabled GIC ITS Date: Thu, 3 Apr 2025 22:40:28 +0200 Message-ID: <20250403204029.47958-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403204029.47958-1-philmd@linaro.org> References: <20250403204029.47958-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
hw/arm: GIC ITS=off ACPI tables fixes
|
expand
|
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index e7e27951cb9..38a9e6fe0c5 100644 --- a/hw/arm/virt-acpi-build.c +++ b/hw/arm/virt-acpi-build.c @@ -212,7 +212,7 @@ static bool its_enabled(VirtMachineState *vms) { VirtMachineClass *vmc = VIRT_MACHINE_GET_CLASS(vms); - return !vmc->no_its; + return !vmc->no_its && vms->its; } /*