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

Re: [PATCH v5 13/13] xen/arm: mmu: enable SMMU subsystem only in MMU


  • To: Henry Wang <Henry.Wang@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 14 Aug 2023 09:08:12 +0200
  • 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=i4MT8U04pUVILJ+is/obhh2uqWpJo7Cvs7MTCjEqp0Y=; b=jYZ3aZCP7zqiem3k7ftcflY5fwHE8QpMYdlYjewh5FbHrGw4BMGQi49wMiuUpNDcviEG3C5CEKlLkLpvJE1+YWGAWzIu5TfBrzHQQGz2YSZE4IcE9+Kc+tQG0aVWXIaMjPO2V80lSRtxwYrzy7Ik00tYOr4grF/kkfRnNEkMPfnFziizSTU0KDFA22HpK8pGkmuz0iLcFTv2caY6WP2izdSm8uAQiVr7E/1Z0sKEQkyti7wdhgpy05cDjS3qE7JIMnCGVW3vAF/Dv/V2B2UTpv6Negg2qb//KVJ2Nx/d2Px7bUVkrKz2XEQs3VJAR+ftFIyqNjMB1EdOXhbA8JSw8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ay5htbgV/oXxoM01WF9qu2/JXrIV/xI5rHuz3ScLS8TwT7BM+WZzdF0jAoade+Z4l5dD0Z9f4iZ2LWDGX6dWQ3zDm7rsvAZ+4dHUAzuV+1TlIAk+8mTR0TyX9AEqgvTgfaWm9iQ/g0G820QK8fQwiCENscLIqHnUEIJnXUw+IeXUeJqsFJcZ5VaZF06mGw8XN1+xwcinME+V4mqfstoPZqSLHMtd2o+R2ebCLpVpz1qBO0WRtxGc6+6zptJX1jrDOWeJHPRf74SvNsiehOsRq8rm+sSaTQOQukwWCLGf03JKe60bqQJbz12rd/KJY5d08teEJzeTvZbp7Mryx3XdaA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Penny Zheng <Penny.Zheng@xxxxxxx>, Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 14 Aug 2023 07:08:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14.08.2023 06:25, Henry Wang wrote:
> From: Penny Zheng <Penny.Zheng@xxxxxxx>
> 
> SMMU subsystem is only supported in MMU system, so we make it dependent
> on CONFIG_HAS_MMU.

Nit: Stale "HAS" infix?

Jan

> Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>
> Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
> Signed-off-by: Henry Wang <Henry.Wang@xxxxxxx>
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
> ---
> v5:
> - Add Acked-by tag from Jan.
> v4:
> - No change
> v3:
> - new patch
> ---
>  xen/drivers/passthrough/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
> index 864fcf3b0c..ebb350bc37 100644
> --- a/xen/drivers/passthrough/Kconfig
> +++ b/xen/drivers/passthrough/Kconfig
> @@ -5,6 +5,7 @@ config HAS_PASSTHROUGH
>  if ARM
>  config ARM_SMMU
>       bool "ARM SMMUv1 and v2 driver"
> +     depends on MMU
>       default y
>       ---help---
>         Support for implementations of the ARM System MMU architecture
> @@ -15,7 +16,7 @@ config ARM_SMMU
>  
>  config ARM_SMMU_V3
>       bool "ARM Ltd. System MMU Version 3 (SMMUv3) Support" if EXPERT
> -     depends on ARM_64 && (!ACPI || BROKEN)
> +     depends on ARM_64 && (!ACPI || BROKEN) && MMU
>       ---help---
>        Support for implementations of the ARM System MMU architecture
>        version 3. Driver is in experimental stage and should not be used in




 


Rackspace

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