[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: Jan Beulich <jbeulich@xxxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Mon, 14 Aug 2023 07:10:54 +0000
- Accept-language: zh-CN, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=2+Nhf/sUMjd9AAr8fIq1mo4pDvH5OutbGZPqs+yjS9Q=; b=lD2njhso6DsAdkXP4qjjgx7u/Ev8EtmRUgLjkpdRmIwvlz+fo7ywOU0LxE6XqtPKBagcYYXsrOsOK0SW6jnN6GF85JZPeozP7nb/lZXyTRsagwQpl0WAkdkYeeX69puNx4yPKjT8L1UJXPzkPtA+O3U0fy6v4m4Jd0HqlxHMYAgAxW+iFFcpmORFYpPHkiw8h67IwyvtUEGDu+IhSokB3zcxMvX0EP9M1nxR0i3aHZRgt98rfuyRaUmx7roBdi/Z2ibCmoHJf3jskOMXfXW9RvKy4kFdlXE/KLKr+4C4DcHSW/T63BrOTHA7phDI89vb6c2YTA3gCTBYqMtLJ5hqJA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J68I5m5hWGMTDncq35kb5OYpL1D+xQK6F1fnnrF9DgzOhL2TnC2O6emCfxRVfxy3+5FGXebrek3LzHDJYTeWski14M0BCXdC16PjxvAqRFORfiXZA5m8AfGmbk0Y5kHPQSk+ApfMezkF2N9iAFIxP970TPVfmpVgjNeQ2TawUidF1DvnVeOR7+oGD3X4U52unDgJ7iahXqbSQZTbD7HUmUInNprNYhF7uTZzkjWI+mirRVDFCNLaIGVdaMpwNkOzlzFIS6ivYH/U3hgA3S7fFqiIUbAV/h+niXZBH3/oRmsQE7IDKJMhaEyAZ05dp6fM96Rf3pxkvUV9MbOjQ8qXeQ==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.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" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 14 Aug 2023 07:11:38 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZzmeUay8NQ4kvrE+CkZdRGQuMz6/pX10AgAAAtIA=
- Thread-topic: [PATCH v5 13/13] xen/arm: mmu: enable SMMU subsystem only in MMU
Hi Jan,
> On Aug 14, 2023, at 15:08, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> 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?
Ah…Nice catch, sorry about that, will fix that in v6 if the series needs changes
in other patches.
Kind regards,
Henry
>
> 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
>
|