[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC PATCH 19/19] arm/gicv4: Add GICv4 to the build system


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Mon, 2 Feb 2026 16:14:44 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wmW7c/IQR/ClnIewJrc3yEUYhOdCsTt/Er9ZgkRu7zA=; b=GwG5nqJYOuTibCltifDbYWt8fkoJEB/aI079pKBdbG0F16ND2ttDV30StQE5tndd28JTXRNoqKDAtp6B9Zk5Vr+8RTsySuGDuxTamoudtxAojsKokUXm6ieOEGd5w9sWbox/8PUTNe2Cx2F+j6/V/qdY9NeQRZwFk3RMqJt7tJlx/G5Zlb3dYaxJx/1Fh6DcJ5Xb3m0xXH7qXh8AG69/cI72SvLNnnQqIO/KcMtkNgg5LOL6Wb3VYopFO2GZ8AujaGkSjIDNS3clg+Hm2ehpN6/lmDU2HPEsxPpiJVjm0nDWBY/Gl9cwSdKrqe5BeRSuIoNLVGnu3ZtwxeibvVclbg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cfOM6nORlUtSpw9+jJngSLCbJVV5FgN0cPOHGtUBVOvKJuBPZ69bCqg9oMuQcxclY/3/N8HRJH9Jomqq05VvFuCAaXDLHqAJfBQQFKvdAftDtHjJjyiUHHoMr5f/TW7nZDHdxuC4srhH1dY27qMc1R2P7HeZrypsT+qlZuR43l3hIsujByVH8NgBZuUlCmOLbWR39k/0SJNsXxbq05r0yvA34+fIzNSNmK7AHT78L4UirDALJEsgCtBnmAMuRbPxm/MS0AEoQWM83elly4Wbbl2BlNNabXlmmWDYLAZQW2IBYFNqAnA9OZj4ggwNJGYnAlQWUD9+tHTTrXWn4FK6LA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: "xakep.amatop@xxxxxxxxx" <xakep.amatop@xxxxxxxxx>, Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Mon, 02 Feb 2026 16:17:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHclF8L/bmHW0RbCEqNgcRSAK0edw==
  • Thread-topic: [RFC PATCH 19/19] arm/gicv4: Add GICv4 to the build system

Add a config option to enable GICv4 support and include the
corresponding source file in the build system.

Signed-off-by: Mykyta Poturai <mykyta_poturai@xxxxxxxx>
---
 xen/arch/arm/Kconfig  | 6 ++++++
 xen/arch/arm/Makefile | 1 +
 2 files changed, 7 insertions(+)

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 442d353b43..c18eca9f9a 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -255,6 +255,12 @@ config ARM64_BTI
          Branch Target Identification support.
          This feature is not supported in Xen.
 
+config GICV4
+       bool "GICv4 driver"
+       depends on GICV3 && HAS_ITS
+       help
+         Driver for ARM Generic Interrupt Controller v4 extension.
+
 source "arch/arm/tee/Kconfig"
 
 config PARTIAL_EMULATION
diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
index 95bc7ad25e..8569df571b 100644
--- a/xen/arch/arm/Makefile
+++ b/xen/arch/arm/Makefile
@@ -27,6 +27,7 @@ obj-y += gic.o
 obj-$(CONFIG_GICV2) += gic-v2.o
 obj-$(CONFIG_GICV3) += gic-v3.o
 obj-$(CONFIG_HAS_ITS) += gic-v3-its.o
+obj-$(CONFIG_GICV4) += gic-v4-its.o
 obj-$(CONFIG_HAS_ITS) += gic-v3-lpi.o
 obj-y += guestcopy.o
 obj-y += guest_atomics.o
-- 
2.51.2



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.