From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7460E606A31A for ; Wed, 2 Dec 2026 11:54:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hlYbsI9C Received: from list by lists.xenproject.org with outflank-mailman.1510506.1703253 (Exim 4.92) (envelope-from ) id 1xYiui-0004Km-TD; Wed, 02 Dec 2026 11:54:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1510506.1703253; Wed, 02 Dec 2026 11:54:20 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYiui-0004Ke-Pr; Wed, 02 Dec 2026 11:54:20 +0000 Received: by outflank-mailman (input) for mailman id 1510506; Wed, 02 Dec 2026 11:54:19 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xYiuh-0004KR-NG for xen-devel@lists.xenproject.org; Wed, 02 Dec 2026 11:54:19 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xYiug-000FBO-HM for xen-devel@lists.xenproject.org; Wed, 02 Dec 2026 12:54:18 +0100 Received: from [10.42.69.5] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6b1006ea-8faa-0a2a0a5109dd-0a2a4505c840-2 for ; Wed, 02 Dec 2026 12:54:18 +0100 Received: from [209.85.221.44] (helo=mail-wr1-f44.google.com) by tlsNG-c201ff.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6b1006ea-4cb1-0a2a45050019-d155dd2cc939-3 for ; Wed, 02 Dec 2026 12:54:18 +0100 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-4ac109a8a12so7709906f8f.3 for ; Wed, 02 Dec 2026 03:54:18 -0800 (PST) Received: from localhost (cm-93-156-217-168.telecable.es. [93.156.217.168]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6c61e53asm84824046f8f.59.2026.12.02.03.54.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 03:54:17 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Post: List-Help: List-Subscribe: , Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20260707 header.d=gmail.com header.i="@gmail.com" header.h="In-Reply-To:References:Subject:Cc:To:From:Message-Id:Date:Content-Type:Content-Transfer-Encoding:Mime-Version" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796212458; x=1796817258; darn=lists.xenproject.org; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=6gih+VbTDnUIL//++m75fbYweGa/cRW+YhYRNaKMwDo=; b=hlYbsI9C9IL+AIfnRHI9M/OLljFIMycZ4nR+HOITH2wTLKYrJ9dO0+UAsBnziJd9HZ vAEXejFD4vDXiBDar5Vwywek8JmmaC3Ue4sSjSeoFDPCW7uH+DvLHdtmapsdw+IbKWCH buVJJ1U+5cnYxQkkpuhqlkE1H/IDTrsaJQtcPPUJ6svnPiGnSzy6Yu3yYbMIfM7Cq0eP bSY7N5eo5YE8mKHhAMdQTdnMmNl7H0iHTyAEUYynQf8o0bvoAbjpyEMka5L44jx55NCM Wbeup7pbshfh7dRH0u6ZV98zm7X6kIu8lk8TQCSlKKuVDSiAmvOVgWXo4cdTmgI9667l CkZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796212458; x=1796817258; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=6gih+VbTDnUIL//++m75fbYweGa/cRW+YhYRNaKMwDo=; b=0gPDlAyreZpyQUIR1NLO4MR4FCpaSo10/YAUPHpPYJ7SqDvbVjQfOX41rZ749mNXFw Ynupq3OlGKzlYU86th6ib1X0y9kwlHkYti2T65ySjG2oODRFAqnrnnRngv/PxK+VX8HB PLmHjg5nYkxqzYi7ZXW3q51US9yhpouJpKDWHtxj/zHo5JELQLBUUQoxJL8lvlkjWYkB mggfkFyQj83xTt9+5lKmOsVZD+6TnnInvVubhOm89P+1mv7wYGtEAuAYYFrsVRs5W1fG UkfHNnuH1n2U/AjdYPpDQHAbLK+YZTOigk/191MRxVh3xZfdysC81H17o1GcPeVOcH/D TSEw== X-Forwarded-Encrypted: i=1; AL+hErFNp7qCia/sdVqyliVWJNOrd0tKVu+xdkwrSShgOeGheeMNYLmSAZAo+StRQJe3NB6x5ReXHkRaND0=@lists.xenproject.org X-Gm-Message-State: APuU4Z/L3kLKN0xISrdb+hN8r5aymMRI9PlVrT2VmeRtfNOQrsNT95Lz PtR2KFSz6GA3pc3zraRau/YV95lpLS8Tl324XEQm92WLhBoIE259x2/q X-Gm-Gg: AZFdTZeXC6XtodBi7P/num6S5qlHeO//aZtzuUIePrkccYTIlgD/IYvHJDVnjKt82c7 cMxLQPisMbF9GyLXD/qFvk4/jWEtOKXkKB6sYw0bxv2XWiN+ETHxsyXIaFfd6DVXN+UmXMTXWLB nVZL2/gAsh/Aiykc/lBlu7WYHKGvdx2Rl002YPFdYNJoyRSqcUciEFaEK0bPLcijbc0vpj8mP31 ZrmxhCAwJEWBW+0STR4uWEYcmmoCo2KWpl7Ec1WRjCGytbQeR8GkgQi2OVDAAnsoR0eL2T47w17 jkX8V0jx1TuyGJEbTJMjRIhN61B16V1qpUQwK3zUW6o9GqpyL0ar0N8B5YvJbOerWuul4IlY9Rv WsM4dCJwUXPbtGU4QJg2tiL7U3tCW7lMbnh8VHYPczX5kRlP5XUEXiIMVW+LVQy5/dfvEL//ECx 4ryaEC+WxIMnc+yIwiYNxRXXQSNrQ4dE2ErVqrE20ye09lckAUXcycsJAjMnlllEBrwJSIXOxtq 5+2Snn2hHs+d1wm5K16kfRXfNGG22qvpp1kjZMSTPG9cF4NzJc1D3hk7JUH83hU9gnMqHEB/K9z JGtQ1uOnzTk3vieHnZE1MXhBppiSsQAfuGhXLLinnKdmiLZex/xBn8lV3ufe2HQ= X-Received: by 2002:a05:6000:1a8f:b0:499:978:251a with SMTP id ffacd0b85a97d-4abb5db73d6mr81093722f8f.54.1796212457623; Wed, 02 Dec 2026 03:54:17 -0800 (PST) X-Archived-By: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Dec 2026 12:54:16 +0100 Message-Id: From: =?utf-8?q?Gabriel_Quint=C3=A1ns_Souto?= To: "Grall, Julien" , "Orzel, Michal" , =?utf-8?q?Gabriel_Quint=C3=A1ns_Souto?= , , Cc: "Stefano Stabellini" , "Bertrand Marquis" , "Volodymyr Babchuk" Subject: Re: xen/arm: picking up the new vGIC GICv3 series X-Mailer: aerc 0.21.0 References: <32610359-fd46-4aab-ae48-69297ada5b05@amd.com> <63197857-b1a1-48c7-b5f5-70fb68a35168@xen.org> In-Reply-To: <63197857-b1a1-48c7-b5f5-70fb68a35168@xen.org> X-purgate-ID: tlsNG-c201ff/1796212458-726B52A1-8F349E4E/0/0 X-purgate-type: clean X-purgate-size: 2090 X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed Dec 2, 2026 at 11:00 AM CET, Julien Grall wrote: > Hi all, > > On 02/12/2026 07:18, Orzel, Michal wrote: >>=20 >>=20 >> On 02-Dec-26 00:52, Gabriel Quint=C3=A1ns Souto wrote: >>> Hi all, >>> >>> The new vGIC only supports GICv2 for now. Mykyta sent a series in 2023 >>> adding GICv3 support to it [1]. I rebased it on the current staging, >>> and with NEW_VGIC and GICv3 it builds and boots dom0 on QEMU. > >>>> Mykyta, are you still working on it? If not, would you mind if I pi= ck >>> it up? >>> >>> If it makes sense to continue it now, I'd split it into smaller series >>> and address the v1 comments. Longer term, I'd like to keep working on >>> the new vGIC until it can replace the current one. >> It's great that you want to help. One thing to pay attention to was that= if I >> remember correctly we were concerned about the performance of the new vs= old >> vGIC. Unfortunately I lost the maintainers conversation (Julien, Stefano= , >> Bertrand?) but I remember doing the IRQ latency measurements on old vs n= ew vGIC >> (both v2 and v3) and the latency was much higher in the latter case. > > Indeed there are some latency problem with the new vGIC. The new vGIC ws= =20 > started because the current one is not spec compliant (see below) and it= =20 > was difficult to update it. > > Regarding the issues in the current vGIC, IIRC this were: > * Properly handling level interrupts > * Support I{S,C}PENDR and I{S,C)ACTIVER > > In the ideal world we want a vGIC that is compliant and have good latency= . > > As a side question, Gabriel/Mykyta, what's your long term aim with the=20 > new vGIC? What are you trying to get out of it? > > Best regards, In my case, there isn't a product or a specific use case behind it, I'm doing it on my own since I'm interested in the new vGIC. My aim would be for the new vGIC to support GICv3 and eventually replace the current one. Regarding the latency problems, would it make more sense to look into them first, before the GICv3 part? Best regards, Gabriel