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 lists1p.gnu.org (lists1p.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 087DEF531DE for ; Mon, 13 Apr 2026 23:13:42 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wCQTI-0002s8-3k; Mon, 13 Apr 2026 19:13:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wCQTH-0002rm-Du for qemu-devel@nongnu.org; Mon, 13 Apr 2026 19:13:35 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wCQTF-00014P-U9 for qemu-devel@nongnu.org; Mon, 13 Apr 2026 19:13:35 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-488b0e1b870so78191265e9.2 for ; Mon, 13 Apr 2026 16:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1776122012; x=1776726812; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ts2ZbD9i00cs7EoaPmxXwe/dereLWU9IapSFE0Zgdo0=; b=D0sIGPQf/YDyD2R8lSto5MGKCk9uKDiwxYoNkUiYg6W9ZoYpEW4PscC1RQb8VmwtSm t9QAjJjz6+kADrUI5DZOaa32EhxTEX6EFfRnuC3aZTtp3ttfco/9+PCpUy8ea+sPuN6P aW6v7BHEZf7V1jx/3KNiY7c9Pj26H8BTsU+EaTEU65ET4Ink4UrnapqFRmP/0sS0Ez7y ZvpXSdgSzRk1XZfJkeXdEGl1Z91UJbAQz7cD0b2jY3zY5EJjHBsffNsi+cdg1ZoCad1z NocQo3crKZSg/o3yGDLvO5OplisjymUgSsQvgxl3+ZhzKmRl/EB9hVzKN4bubf/vdYma YUzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776122012; x=1776726812; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ts2ZbD9i00cs7EoaPmxXwe/dereLWU9IapSFE0Zgdo0=; b=QA3h0Uu7EuWCnWOBUV2ON8g5u3//H94ucigBSr3gJbns5Z6Inwq3o+StSGWcMfQTs3 IpPPnJQAZqAWjlfZ++8zCULf0jtJnZRsfHGH9UHuqa4mqOZflq7mfp5zUtDC4U+Pre/+ 1rUJQxsSWn8SntRv2qNlmI+jRRkfGpBGoZcXzBua1s16Ar8chvBifYrG1ayjLuI66B2n /CikGlfyci6cpGAq7CyKEcQjVAcTT+vA857ICn80S5xwJkWvlYbVd+2jS+KiLILZ82ht 5IwYaqUo9GvZsg1gMe5flGAeX1Tx7GlFN6HsWQIbjPKOssn8r0MVmFaos0lBGBSatbRa D8cQ== X-Forwarded-Encrypted: i=1; AFNElJ8SUSHLaDXPNNdf4/wEXuxXzdvPsbL+M3gkDJaJNxxpZu5jz0kNBPvgJVwwmsvXQNiOgVjIf8FhmLN8@nongnu.org X-Gm-Message-State: AOJu0YwLsQDWaHyqUmzG01wYKysn6R3DBsKdqk4JcxImbRdogm5Rbf6P g6awkFoWB/I9s3xG9P4cmGjIi6oNLo6ZjRt0gMnHnwVtUZiOkiD0HY9sct7ccHpwWeM= X-Gm-Gg: AeBDieuuWVdkKC428CVQeTm4qUx+u/6JSsOYVZtsdrk4Bca5S1hl19RbV1OpleLDerj u4AnniKOUzZLLjCbCf+hzlZM/JHf7Wv2BsX5Rbu+gELhz6ReOuUB6u6KACvhEIa80olSThX2ktO LYx1Ht7JL1SbbGJZHuA+Te0i6fGIDrXSSGhHdBrKDkhgDxb1jSqeVaBUlrg3T2vqGN0dqMIDnsD xgaAnkUGm/lLedy4VQC5gf5GZ+qLSOy3v9TfIsY/TGeD9ettm+VPHQUAj8c2g5O0Cx/9SumTrN7 2Fr8rBin7lokPvSW1f2bUdh2lbHS0PaMNqX2S+JTWV7saq5F4beM4EEIOTMQeXSdXSgnpXDsl4j 7a7DomKsKId9YNiSDz5gyZeTDjWQFfRrMjlywF+C9pj4HcJYTnoMOhWLXPmXjq9yNIH1JBRD3Ko YjrGRnj1qNwBZywmGBSNUZpg6tFb5shXEIaBBv2ROhDx92ulbuWa2x/UBUX1nXU/tF3EIIJ02jQ pLd X-Received: by 2002:a05:6000:2dc6:b0:43d:7670:84d3 with SMTP id ffacd0b85a97d-43d76708565mr10193991f8f.0.1776122012229; Mon, 13 Apr 2026 16:13:32 -0700 (PDT) Received: from [192.168.69.228] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43d63e5062fsm35269433f8f.31.2026.04.13.16.13.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Apr 2026 16:13:31 -0700 (PDT) Message-ID: Date: Tue, 14 Apr 2026 01:13:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 03/65] hw/intc: Skeleton of GICv5 IRS classes Content-Language: en-US To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Jonathan Cameron References: <20260327111700.795099-1-peter.maydell@linaro.org> <20260327111700.795099-4-peter.maydell@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20260327111700.795099-4-peter.maydell@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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 development 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 On 27/3/26 12:15, Peter Maydell wrote: > This commit adds the skeleton of the classes for the GICv5 IRS > (Interrupt Routing Service). Since the IRS is the main (and only > non-optional) part of the GICv5 outside the CPU, we call it simply > "GICv5", in line with how we've handled the GICv3. > > Since we're definitely going to need to have support for KVM VMs > where we present the guest with a GICv5, we use the same split > between an abstract "common" and a concrete specific-to-TCG child > class that we have for the various GICv3 components. This avoids > having to refactor out the base class later. > > Signed-off-by: Peter Maydell > Reviewed-by: Jonathan Cameron > --- > hw/intc/Kconfig | 4 +++ > hw/intc/arm_gicv5.c | 39 ++++++++++++++++++++++++++++++ > hw/intc/arm_gicv5_common.c | 31 ++++++++++++++++++++++++ > hw/intc/meson.build | 4 +++ > include/hw/intc/arm_gicv5.h | 32 ++++++++++++++++++++++++ > include/hw/intc/arm_gicv5_common.h | 31 ++++++++++++++++++++++++ > 6 files changed, 141 insertions(+) > create mode 100644 hw/intc/arm_gicv5.c > create mode 100644 hw/intc/arm_gicv5_common.c > create mode 100644 include/hw/intc/arm_gicv5.h > create mode 100644 include/hw/intc/arm_gicv5_common.h Reviewed-by: Philippe Mathieu-Daudé