From: Julien Grall <julien.grall@arm.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: artem_mygaiev@epam.com, lars.kurth@citrix.com,
andrii_anisov@epam.com, dfaggioli@suse.com, jbeulich@suse.com,
xen-devel@lists.xen.org
Subject: Re: [PATCH v2 07/10] arm: make it possible to disable the SMMU driver
Date: Tue, 22 May 2018 10:03:14 +0100 [thread overview]
Message-ID: <a016ffb8-550d-609f-8edd-a2ca23f56c21@arm.com> (raw)
In-Reply-To: <1526950408-18219-7-git-send-email-sstabellini@kernel.org>
Hi,
On 05/22/2018 01:53 AM, Stefano Stabellini wrote:
> Introduce a Kconfig option for the ARM SMMUv1 and SMMUv2 driver.
>
> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
> CC: jbeulich@suse.com
>
> ---
> Changes in v2:
> - rename HAS_SMMUv2 to SMMUv2
> - move SMMUv2 to xen/drivers/passthrough/Kconfig
> ---
> xen/drivers/passthrough/Kconfig | 8 ++++++++
> xen/drivers/passthrough/arm/Makefile | 2 +-
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
> index 8d90b67..9bdce65 100644
> --- a/xen/drivers/passthrough/Kconfig
> +++ b/xen/drivers/passthrough/Kconfig
> @@ -1,3 +1,11 @@
>
> config HAS_PASSTHROUGH
> bool
> +
> +config SMMUv2
It would make sense to have ARM in the name because there are other
using SMMU in their device name (see Tegra). Furthermore this is not
only v2 specific.
A better name would be ARM_SMMU.
> + bool "ARM SMMUv1 and v2 driver"
> + default y
> + depends on ARM
> + ---help---
> + Driver for the ARM SMMU version 1 and 2, a popular IOMMU by
> + ARM.
The driver enables support for any IOMMU based on the ARM System MMU
architecture versions 1 and 2. ARM provides implementation (SMMU-400,
SMMU-401, SMMU-500 & co) but there are other existing in the wild (e.g
Cavium one).
Also, in general it would be useful to state why someone would want to
enable a driver. So I would rework this message as:
"Support for implementations of the ARM System MMU architecture versions
1 and 2.
Say Y here if your SoC includes an IOMMU device implementing the ARM
SMMU architecture".
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-05-22 9:03 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-22 0:52 [PATCH v2 0/10] arm: more kconfig configurability and small default configs Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 01/10] arm: remove the ARM HDLCD driver Stefano Stabellini
2018-05-22 8:44 ` Julien Grall
2018-05-22 19:55 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 02/10] arm: make it possible to disable more kconfig options Stefano Stabellini
2018-05-22 8:45 ` Julien Grall
2018-05-22 20:18 ` Stefano Stabellini
2018-05-22 9:05 ` Julien Grall
2018-05-22 20:20 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 03/10] Rename HAS_MEM_ACCESS to MEM_ACCESS Stefano Stabellini
2018-05-22 6:27 ` Jan Beulich
2018-05-22 22:08 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 04/10] arm: rename HAS_GICV3 to GICV3 Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 05/10] arm: make it possible to enable/disable UART drivers Stefano Stabellini
2018-05-22 6:34 ` Jan Beulich
2018-05-22 8:51 ` Julien Grall
2018-05-22 9:22 ` Jan Beulich
2018-05-22 9:25 ` Julien Grall
2018-05-22 9:37 ` Jan Beulich
2018-05-22 12:59 ` Julien Grall
2018-05-22 19:40 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 06/10] xen: remove HAS_ prefix from UART Kconfig options Stefano Stabellini
2018-05-22 6:35 ` Jan Beulich
2018-05-22 22:23 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 07/10] arm: make it possible to disable the SMMU driver Stefano Stabellini
2018-05-22 6:38 ` Jan Beulich
2018-05-22 20:05 ` Stefano Stabellini
2018-05-22 9:03 ` Julien Grall [this message]
2018-05-22 20:03 ` Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 08/10] arm: add a small kconfig for Renesas RCar H3 Stefano Stabellini
2018-05-22 9:22 ` Julien Grall
2018-05-22 21:00 ` Stefano Stabellini
2018-05-22 21:57 ` Julien Grall
2018-05-22 22:53 ` Stefano Stabellini
2018-05-23 8:26 ` Artem Mygaiev
2018-05-22 0:53 ` [PATCH v2 09/10] arm: add a small kconfig for qemu-system-aarch64 Stefano Stabellini
2018-05-22 0:53 ` [PATCH v2 10/10] xen: add cloc target Stefano Stabellini
2018-05-22 9:08 ` Jan Beulich
2018-05-22 20:08 ` Stefano Stabellini
2018-05-23 7:51 ` Jan Beulich
2018-05-23 18:21 ` Stefano Stabellini
2018-05-24 7:23 ` Jan Beulich
2018-05-24 18:41 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a016ffb8-550d-609f-8edd-a2ca23f56c21@arm.com \
--to=julien.grall@arm.com \
--cc=andrii_anisov@epam.com \
--cc=artem_mygaiev@epam.com \
--cc=dfaggioli@suse.com \
--cc=jbeulich@suse.com \
--cc=lars.kurth@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).