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

Re: [RFC PATCH 11/21] xen/arm: vsmmuv3: Attach Stage-1 configuration to SMMUv3 hardware


  • To: Rahul Singh <rahul.singh@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 2 Dec 2022 09:50:56 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=x4EusxBI2a2dLKs/G1rbP7W/QsxsBg3Q6GaEwmcIHgQ=; b=DhLmNcJw4vZwx1+2UbI1zzI8nLd9cVwPGmK7PEzkjFITVMq7uYfrJLUHRgDiwbbesAEOCdChqNFG9ozh9eIRS+MGx5g4Fy9Nsza33dQWlUecfBdxc+BCq/0mpCPMUl4ApshcbkJ4WrXIMWHwhIJjK+gRi6TKwu/F+5wE5SYBfbkDxUhrnO34QrvvShhyKnYO5SGOleezHRKPLXwM/KDJQ+jxf7qz5t7X9M/i564sUUhubjj8HfsPncPvshGdcy1pZsGNAsoheUyiBjhPjoiodGxWhkBUZIcstoPMCE0aEA2ochP8Am+79/tjsxf3ZDPJeAdcoZG7rN1ax4+7gsCiKw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ka2YamZa1EOQIz/eHkLhzx2gqU60ungRVvsJByrAYhUwHqcn0kC4JZKKSTSt5IyNBNcW0InvLdVhJNqqw8hVYfgK2Rj05Zloqu/hJh+msv2lO9OWcf4QeKdBZ29NAyAIw0HNRyiY8NY+UGv3Kl9/KNG4SMm52xsR+BP9kn0nCoa7iGYBGQHnNybpuum/t95PfKeIKwzuHJyTR0moRkz/0SwNRfSu9PB9vGwsB+vS5X2iHGVmfOc45BXdcNgy4rI0zJomgs0Q0Q33Uuhzi1l0IMLN7JuTYXUQaD39w/mlIYukO73/eOvG5OwsV5L2zdMYmQ4QAU7r7rWeOoI/WVPHzw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Bertrand Marquis <bertrand.marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 02 Dec 2022 08:51:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 01.12.2022 17:02, Rahul Singh wrote:
> --- a/xen/include/xen/iommu.h
> +++ b/xen/include/xen/iommu.h
> @@ -230,6 +230,15 @@ int iommu_do_dt_domctl(struct xen_domctl *, struct 
> domain *,
>  
>  #endif /* HAS_DEVICE_TREE */
>  
> +#ifdef CONFIG_ARM
> +struct iommu_guest_config {
> +    paddr_t     s1ctxptr;
> +    uint8_t     config;
> +    uint8_t     s1fmt;
> +    uint8_t     s1cdmax;
> +};
> +#endif /* CONFIG_ARM */

Perhaps rather CONFIG_VIRTUAL_IOMMU?

Jan




 


Rackspace

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