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 39FBFFF8873 for ; Thu, 30 Apr 2026 14:50:39 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wISiZ-00069X-87; Thu, 30 Apr 2026 10:50:19 -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 1wISiY-00068v-5O for qemu-arm@nongnu.org; Thu, 30 Apr 2026 10:50:18 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wISiW-0006Rg-01 for qemu-arm@nongnu.org; Thu, 30 Apr 2026 10:50:17 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4891c0620bcso8153125e9.1 for ; Thu, 30 Apr 2026 07:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1777560614; x=1778165414; 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=Ml+eAsF0HbAMF6QKQntyaerfj984y3iN2ory8Z/nCm8=; b=b1x1bvAu60GJQK0NH+fcm3ScNkYAbNRdFx21L5qYbGpP9Po/sX2ZjRox7Ftc+0uGgl +RWWfX26wZGqMFPzOA8myR6pC2yFEEVXUmbUoN18Z1iz/TnqTCJB/k+DCFPF2Fsj79OJ K19iENXhNbCAXL79VaYustmTipVfckaR1O++JVI5p5FtLav7K4EjeNqpog9oqHCzMZpj CdpZPO5PWh53+sm/vxGM7x2Ayp6OtUQaP6FOfyxs8nL9UeBu8xmrhpJ2+brYW21HwDMo t0z1sO1tDUfFjx3BTPYZ+3f/AIYo0DHvn6hd6mnS+To1v5Aj3Ww9VosvZipUNi2KSAzA TxbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777560614; x=1778165414; 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=Ml+eAsF0HbAMF6QKQntyaerfj984y3iN2ory8Z/nCm8=; b=tGdhuXffiiMzbucAJ4NM4L6m3DnjuWSNcjCwqHtodCkk7WBPlGfFpAxWG2pmLxckVn tc6/ovUD5cKx/w4o3nX+00xdJTaB8BcDI9OCpObazVJQo5tKvnv06EVjdiL1WwKwQsYS EhHH44mvVK7IQrCay1OJSLTVVwQq56aR+0hP23PdEb8gwhVB1SDyB1jAJ5c4PlrSNcNP 3g8dI+DaseK0EJBIPAoYAWMmxI70qZoVYZm2+W+KrvC/9ULNybrMANtjkGdTn6Ii5tUd IvlL1T9Z0ZKRQZRwBpzNUEdVrid3OMieiysjcgT+Oh/SnpAjZ1UbUGCp95JCz6gPs5uz u1TQ== X-Forwarded-Encrypted: i=1; AFNElJ9xKxqRPoZNrA0kBO45h2nfm1mT9ngrPTnHFE7JsGanvp1uFF53VO19oMjg8o9Lkl0avCXxraC4YQ==@nongnu.org X-Gm-Message-State: AOJu0YwP9U9Bm+L/4MDGkQiCBfG1lamQDq6lIjAeCDTjnQ2T4pS0+cjj ZU51aaG2B78txV4k4IqJWVADaUtHdONbfWnqPK0Ea3av5onSFLjIwrEPmmC2A/xb0sk= X-Gm-Gg: AeBDies98qr9+8bS1zvMIV2SRBBOMfoUuDyU9H/GmU1C1ZDtWfnGB+aTBg16pGDHhOe 7UbueaI6ABt0bZcPz+zYGx3E+GoXGirGVk4lfxtjuHBX9f5xGkZw0UYD8gXruuSQtkVGsUtvZhr UrPFDXfy0McLjfKNO5Qu3AU8d7lWZt7dEWgCcHXoByTy7ygrW0YzdODF5NM/4XX8bcaDXBE1qoo pvybGH5/xZ89d5YbdvFOuk0vU4jX6/+0i1ct/SxwgCZc3ZvHCcoDizX9iE2yRVKTvDIrmpB+/jD 9tadH/ntyduED0LEOzIlRSS/ymTbWR0S43DyPsWoBAKaw29YVCX9XqrTgpckEzU7f3wwTub2yQ+ aqoU8Hcd2N2pssoJZe6EIOExlrBybuMVz6UKUgukcOjXIaLa1FRYiaHPWdQE33u35SdNPEek5tJ Tukdf8Khi6Eh2QkSMNXl46WmzBm9AKix14oBx27tR5cstjHlrYRcIy9Nu2BXo8WWXgwhHwy7Xel tUR X-Received: by 2002:a05:600c:4e16:b0:48a:52ce:a4b1 with SMTP id 5b1f17b1804b1-48a8451cff6mr56845985e9.15.1777560613577; Thu, 30 Apr 2026 07:50:13 -0700 (PDT) Received: from [192.168.69.210] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48a822d4b57sm178235345e9.15.2026.04.30.07.50.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Apr 2026 07:50:12 -0700 (PDT) Message-ID: <01868fe8-785b-41e6-bc83-4b0057a94fcb@linaro.org> Date: Thu, 30 Apr 2026 16:50:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 10/65] hw/intc/arm_gicv5: Implement IRS ID regs 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-11-peter.maydell@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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-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 10/4/26 17:04, Peter Maydell wrote: > On Fri, 27 Mar 2026 at 11:17, Peter Maydell wrote: >> >> Implement the IRS frame ID registers IRS_IDR[0-7], IRS_IIDR and >> IRS_AIDR. These are all 32-bit registers. >> >> We make these fields in the GIC state struct rather than just >> hardcoding them in the register read function so that we can later >> code "do this only if X is implemented" as a test on the ID register >> value. >> >> Signed-off-by: Peter Maydell > >> +/* >> + * There are no TRMs currently published for hardware implementations >> + * of GICv5 that we might identify ourselves as. Instead, we borrow >> + * the Arm Implementer code and pick an arbitrary product ID (ASCII "Q") >> + */ >> +#define QEMU_GICV5_IMPLEMENTER 0x43b >> +#define QEMU_GICV5_PRODUCTID 0x51 >> +#define QEMU_GICV5_REVISION 0 >> +#define QEMU_GICV5_VARIANT 0 > > Apparently it would be better to use a PRODUCTID of 0xfff here, > as less likely to clash with any potential actual product IDs > allocated for this JEDEC Implementer code; so I will switch to that. Reviewed-by: Philippe Mathieu-Daudé