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

Re: [PATCH] xen/arm: platform: Select GICV3 dependency for RCAR4


  • To: Oleksandr Tyshchenko <Oleksandr_Tyshchenko@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Tue, 2 Sep 2025 09:13:06 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=HzC0ktdehDgC+okBw3AnDkzV7KrQTUdhJBzFbCOXxVg=; b=emmGxHTnMULwJMVeRNKLQtlhXV+PfAtqrots/5RIWcm4BPlhZ8pPRMb44R7Uo1jgvT5rfgYKikip4eBCZZtzFX9fYbzFVI8YSTsDovFdN6w1srSCqs51gE939Wf8qi89Oc8GTwDlpN1MV8CJjbO+kI8PArIhyamZHMEgvxNE8qCctH2GPHZIHekPdF0dtDU825PAhYaUY3yAsyg5uKQ8X/9emcEirldkVCodDVzT3gmTeChA8i9IrrhnR7sa+FhjzTWwT0y9vLf2YVKLLvXB1bKWQopKgTOSR8kNSDB+heKeseZyAb2nKBou2xgj3ashFv0QSfHC3XBv1Pe3svd91g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gkLiALWYPvp/3guEW3yZJRJKSUdyiHBsGT9FEiEhcLahi6SGa/uo/mdP7XhpztTUbBR/ctbj0MR7sgAosuHrOENtiluwDqxANNyXqMLiOIKHivL2yRRrMCmMegSLh8Ris6wptOYjKGCUruMzA1lL4+++WkWHa0c1sA/fA4mp9vzxeLcwpDmHB1fg+idV+Km356OLFHWAlMvU6sAlH7ejmonfd/TTevoj3VJD0f/RBOE86VNzWtRceJ6agFk+asWBYyfUCwmZrvLC3LwgjNukS0dfuO9p7BcOuVFlmgycKhOTOdRhshm9ZIWbLtTBMuB0DzjLpnxfDyekU5piV6ORBA==
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 02 Sep 2025 07:13:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 01/09/2025 16:02, Oleksandr Tyshchenko wrote:
> The Renesas R-Car Gen4 platform requires the GICv3 driver,
> including support for the Interrupt Translation Service (ITS).
> 
> Without explicitly selecting GICV3, it was possible to create a
> configuration with RCAR4=y and GICV3=n, leading to a build failure
> due to unmet dependencies.
> 
> GICv3 driver (GICV3) [Y/n/?] (NEW) n
> WARNING: unmet direct dependencies detected for HAS_ITS
>   Depends on [n]: GICV3 [=n] && !NEW_VGIC [=n] && !ARM_32 [=n]
>   Selected by [y]:
>   - RCAR4 [=y] && <choice> && ARM_64 [=y]
> 
> ...
> 
> arch/arm/gic-v3-its.c: In function 'gicv3_its_map_guest_device':
> arch/arm/gic-v3-its.c:729:41: error: 'struct vgic_dist' has no member named 
> 'its_devices'
>   729 |     struct rb_node **new = &d->arch.vgic.its_devices.rb_node, *parent 
> = NULL;
>       |                                         ^
> arch/arm/gic-v3-its.c:755:28: error: 'struct vgic_dist' has no member named 
> 'its_devices_lock'
>   755 |     spin_lock(&d->arch.vgic.its_devices_lock);
>       |                            ^
> arch/arm/gic-v3-its.c:768:54: error: 'struct vgic_dist' has no member named 
> 'its_devices'
>   768 |                 rb_erase(&temp->rbnode, &d->arch.vgic.its_devices);
>       |                                                      ^
> In file included from ./include/xen/sched.h:6,
>                  from ./include/xen/iocap.h:10,
>                  from arch/arm/gic-v3-its.c:13:
> 
> ...
> 
> Fix this by adding "select GICV3" to the RCAR4 Kconfig entry.
> 
> Fixes: 336fc7a19b49 ("xen/arm: platform: Add support for R-Car Gen4")
> Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal




 


Rackspace

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