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 EB6FFF531CE for ; Mon, 13 Apr 2026 23:10:25 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wCQPy-0000xH-NS; Mon, 13 Apr 2026 19:10:10 -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 1wCQPx-0000vc-7B for qemu-arm@nongnu.org; Mon, 13 Apr 2026 19:10:09 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wCQPv-0007RI-9f for qemu-arm@nongnu.org; Mon, 13 Apr 2026 19:10:08 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-488e1a8ac40so34313925e9.2 for ; Mon, 13 Apr 2026 16:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1776121805; x=1776726605; 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=nT6MBic3zRD9hJ6QMNU4WWheucpSrr5PGWxkNRXjzPc=; b=qWWFM0SEWJXjCzw0nrAzh0e0voFbrs642O2kf57uE2kP9HgkxDDmhOyc3jEIqgaj+e T6cUEULIQPLpNKuPJ7JCC8yR5r7GlOTS/huGRUK+XLiWgZ2UtykCbF1QUbg+lVCcGODt SoJmpbRKTV8ZHI+X6Bu4NdSu9104WjgNQHLtMQD2hP+b9fn85deGzDHpHzCkAIP77WSR FM4Loi0qKUlFgLbKeSjQtj4hOcAQv7PArKShQflbjTi5doWWxRUwOtwEl0/BRbHXtEZz AVpX5kATjRPijg1u+vEJHPiUJWd7a3p7egKOnLv4UIQ00vTzBi4JO8Oxxs9nT5JImk5N KWMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776121805; x=1776726605; 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=nT6MBic3zRD9hJ6QMNU4WWheucpSrr5PGWxkNRXjzPc=; b=SJfiz9U15W39kWM47a8RAArj8ds09G0VQvPfFyIZGQFs1Gcdc71jAZOteCPe9Mi03z RYXIPqD995S6drT1FnqxjDKXLF8zIyvqOFruq+f4uBwLLRIXuUBY3Cmr2J6nW1TyRaNf Z37qn96G3SZUmooXSqt/raoMs+L1/eVWZqROf0jm/InLNX/Gu6ZUTg8j0XOXZrL+HSRx R1Qw3JviN/xsxxlPydsVn29yNaxoNhwXBEHy8uWPTxifQJ4wDvTwayuUELS64qTYLcgA qZPAf5Sar4oBkeyZ71weBtyJBpHb98tsBrAUCeK7uuX0wvbGt9ambY01oljiFgkYGeCG xocA== X-Forwarded-Encrypted: i=1; AFNElJ+aWrrPbBD6gFN735UYSJyg/k2uPBLvAV+gW+UU8C4yzO/3r/ACEGXVLF6AIwX6vXJnjCNKHrZMdA==@nongnu.org X-Gm-Message-State: AOJu0YwKblw99olV0IDKX0rYBOsVRHAxoPXf9pM+t7zjxV3JXVIrE8Xc 75Be+4YfRhMabF9aDStr/cMPZDwqL1gmWDYM9u4FIYMlqAv9u2QQNozv/dpbbHBWFLzxHF+DTt6 hHQUrBJA= X-Gm-Gg: AeBDievb3/JnDruOe7cH/tlVlI917Fvs1DcF+YLWMFL+eIqlmMpUAzP2djljXkONYR9 8WmdQoWQYjANVioBbYhai2LQ+0W9/ZmwAE39e3qdHAoPXlXnHY/kqlnZVo4cO1RLB1kV3hNrMAs bKX+bhWg5c+xh13i0o/rVtw1hHRNXlHoCMQQjJePjzmpun4+m5D4OdeCl+2NKR4nIXom/aSDwsD aM6+6m+nF+y4WcxUhmL+ayLyiJx2ysU5AkCtVHVQIY448jg4QfsMh+EnCwnYLn4HIKr3wxP/5Jm jSZtkmDVS2zIkqHXOjN2zBIdg4SHPidL4Jg1EX459lQai6vKgQJENYBNHCbsTkGTyAQZgLVbz0X PCRsX5+o0HMWehdy+xdp+/FKIarnvvDpwZNq2VQbDzcphznXWHaIJ1PdjKKlPixAuRzvuzLwk6y Oslh7kyQ3OKq1XCVsxUF6mY7m4GMt8QLfVlgXlPuZdnQggFtdWbAUyxAFe5IhphUkNrw== X-Received: by 2002:a05:600c:c0c8:b0:488:b749:8482 with SMTP id 5b1f17b1804b1-488d67bbc13mr151085355e9.4.1776121805586; Mon, 13 Apr 2026 16:10:05 -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 5b1f17b1804b1-488ede1e217sm2977515e9.5.2026.04.13.16.10.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Apr 2026 16:10:04 -0700 (PDT) Message-ID: Date: Tue, 14 Apr 2026 01:10:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 12/65] hw/intc/arm_gicv5: Implement gicv5_class_name() 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-13-peter.maydell@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20260327111700.795099-13-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::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 27/3/26 12:16, Peter Maydell wrote: > Implement a gicv5_class_name() function that does the same job as > gicv3_class_name(): allows board code to get the correct QOM type for > the GIC at runtime depending on whether KVM is enabled or not. > > For the GICv5, we don't yet implement KVM support, so the KVM-enabled > codepath is always an error. > > Signed-off-by: Peter Maydell > Reviewed-by: Jonathan Cameron > --- > hw/intc/arm_gicv5_common.c | 12 ++++++++++++ > include/hw/intc/arm_gicv5_common.h | 10 ++++++++++ > 2 files changed, 22 insertions(+) Reviewed-by: Philippe Mathieu-Daudé