From: Julien Grall <julien.grall@arm.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: jbeulich@suse.com, xen-devel@lists.xen.org
Subject: Re: [PATCH 3/6] arm: make it possible to disable the SMMU driver
Date: Thu, 19 Apr 2018 16:44:09 +0100 [thread overview]
Message-ID: <7d79c66c-c252-71fa-bd64-7de7d5a09914@arm.com> (raw)
In-Reply-To: <1524089752-22174-3-git-send-email-sstabellini@kernel.org>
Hi,
On 18/04/18 23:15, Stefano Stabellini wrote:
> Introduce a Kconfig option for the ARM SMMUv2 driver.
The driver is handling both SMMUv1 and SMMUv2.
>
> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
> CC: jbeulich@suse.com
> ---
> xen/drivers/passthrough/Kconfig | 2 ++
> xen/drivers/passthrough/arm/Kconfig | 7 +++++++
> xen/drivers/passthrough/arm/Makefile | 2 +-
> 3 files changed, 10 insertions(+), 1 deletion(-)
> create mode 100644 xen/drivers/passthrough/arm/Kconfig
>
> diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig
> index 8d90b67..2fe94fa 100644
> --- a/xen/drivers/passthrough/Kconfig
> +++ b/xen/drivers/passthrough/Kconfig
> @@ -1,3 +1,5 @@
>
> config HAS_PASSTHROUGH
> bool
> +
> +source "drivers/passthrough/arm/Kconfig"
Can't we load arm/Kconfig only when arm is selected? This would avoid
weird option on x86.
> diff --git a/xen/drivers/passthrough/arm/Kconfig b/xen/drivers/passthrough/arm/Kconfig
> new file mode 100644
> index 0000000..98318d9
> --- /dev/null
> +++ b/xen/drivers/passthrough/arm/Kconfig
> @@ -0,0 +1,7 @@
> +
> +config HAS_SMMUv2
> + bool "ARM SMMUv2 driver"
> + default y
> + depends on ARM
> + ---help---
> + Driver for the ARM SMMU version 2, a popular IOMMU by ARM.
> diff --git a/xen/drivers/passthrough/arm/Makefile b/xen/drivers/passthrough/arm/Makefile
> index f4cd26e..4db273a 100644
> --- a/xen/drivers/passthrough/arm/Makefile
> +++ b/xen/drivers/passthrough/arm/Makefile
> @@ -1,2 +1,2 @@
> obj-y += iommu.o
> -obj-y += smmu.o
> +obj-$(HAS_SMMUv2) += smmu.o
>
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-04-19 15:44 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 22:15 [PATCH 0/6] arm: more kconfig configurability and small default configs Stefano Stabellini
2018-04-18 22:15 ` [PATCH 1/6] arm: make it possible to disable more kconfig options Stefano Stabellini
2018-04-19 15:36 ` Julien Grall
2018-05-21 19:58 ` Stefano Stabellini
2018-05-22 8:24 ` Julien Grall
2018-05-22 20:15 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 2/6] arm: make it possible to enable/disable UART drivers Stefano Stabellini
2018-04-19 15:42 ` Julien Grall
2018-05-21 20:18 ` Stefano Stabellini
2018-05-21 20:20 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 3/6] arm: make it possible to disable the SMMU driver Stefano Stabellini
2018-04-19 7:46 ` Jan Beulich
2018-04-19 22:43 ` Stefano Stabellini
2018-04-20 9:41 ` Jan Beulich
2018-04-20 17:03 ` Stefano Stabellini
2018-04-23 18:18 ` Andrii Anisov
2018-04-19 15:44 ` Julien Grall [this message]
2018-04-19 15:46 ` Julien Grall
2018-04-20 9:39 ` Jan Beulich
2018-04-24 8:57 ` Julien Grall
2018-05-21 20:35 ` Stefano Stabellini
2018-05-22 5:37 ` Jan Beulich
2018-04-18 22:15 ` [PATCH 4/6] arm: add a small kconfig for Renesas RCar H3 Stefano Stabellini
2018-04-19 8:06 ` Andrew Cooper
2018-04-19 8:53 ` Juergen Gross
2018-04-19 23:00 ` Stefano Stabellini
2018-04-20 4:39 ` Juergen Gross
2018-04-20 16:39 ` Stefano Stabellini
2018-04-23 18:30 ` Andrii Anisov
2018-04-24 9:01 ` Julien Grall
2018-04-24 9:52 ` Andrii Anisov
2018-04-24 10:06 ` Julien Grall
2018-04-24 11:04 ` Andrii Anisov
2018-04-24 11:16 ` Julien Grall
2018-04-24 14:18 ` Andrii Anisov
2018-04-24 16:20 ` Julien Grall
2018-05-19 1:15 ` Stefano Stabellini
2018-04-18 22:15 ` [PATCH 5/6] arm: add a small kconfig for qemu-system-aarch64 Stefano Stabellini
2018-04-18 22:15 ` [PATCH 6/6] xen: add cloc target Stefano Stabellini
2018-04-19 7:54 ` Jan Beulich
2018-04-19 23:22 ` Stefano Stabellini
2018-04-20 9:57 ` Jan Beulich
2018-05-21 23:32 ` Stefano Stabellini
2018-04-19 15:31 ` [PATCH 0/6] arm: more kconfig configurability and small default configs Julien Grall
2018-04-19 17:34 ` Lars Kurth
2018-04-19 22:45 ` Stefano Stabellini
2018-04-23 18:05 ` Andrii Anisov
2018-04-23 18:08 ` Andrii Anisov
2018-05-21 23:45 ` Stefano Stabellini
2018-05-23 17:48 ` Andrii Anisov
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=7d79c66c-c252-71fa-bd64-7de7d5a09914@arm.com \
--to=julien.grall@arm.com \
--cc=jbeulich@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.