All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bertrand Marquis <Bertrand.Marquis@arm.com>
To: Dongjiu Geng <gengdongjiu1@gmail.com>
Cc: "sstabellini@kernel.org" <sstabellini@kernel.org>,
	"julien@xen.org" <julien@xen.org>,
	"Volodymyr_Babchuk@epam.com" <Volodymyr_Babchuk@epam.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v4] xen/arm: Allow QEMU platform to be built with GICv2
Date: Mon, 17 Jan 2022 09:00:03 +0000	[thread overview]
Message-ID: <94945C70-A608-47E9-890E-8CA6882D7379@arm.com> (raw)
In-Reply-To: <20220117064003.3367188-1-gengdongjiu1@gmail.com>

Hi,

> On 17 Jan 2022, at 06:40, Dongjiu Geng <gengdongjiu1@gmail.com> wrote:
> 
> It turns out that QEMU has been supporting GICv2 virtualization since
> v3.1.0. So remove the dependencies on GICv3. If we want to use GICv3,
> we can select the QEMU_LEGACY configuration.

I am bit puzzled by this change introducing a legacy option actually selecting the newest GIC interface.

Can’t we do the opposite and introduce a QEMU_GICV2 instead ?

Also why do we need to remove gic-v3 support ? The code should actually select which gic to use depending on the device tree.

Regards
Bertrand

> 
> Signed-off-by: Dongjiu Geng <gengdongjiu1@gmail.com>
> ---
> xen/arch/arm/platforms/Kconfig | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/xen/arch/arm/platforms/Kconfig b/xen/arch/arm/platforms/Kconfig
> index c93a6b2756..41e82a42ee 100644
> --- a/xen/arch/arm/platforms/Kconfig
> +++ b/xen/arch/arm/platforms/Kconfig
> @@ -13,7 +13,15 @@ config ALL_PLAT
> 	automatically select any of the related drivers.
> 
> config QEMU
> -	bool "QEMU aarch virt machine support"
> +	bool "QEMU aarch virt machine support >= v3.1.0"
> +	depends on ARM_64
> +	select HAS_PL011
> +	---help---
> +	Enable all the required drivers for QEMU aarch64 virt emulated
> +	machine.
> +
> +config QEMU_LEGACY
> +	bool "QEMU aarch virt machine support < v3.1.0"
> 	depends on ARM_64
> 	select GICV3
> 	select HAS_PL011
> -- 
> 2.25.1
> 


  reply	other threads:[~2022-01-17  9:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17  6:40 [PATCH v4] xen/arm: Allow QEMU platform to be built with GICv2 Dongjiu Geng
2022-01-17  9:00 ` Bertrand Marquis [this message]
2022-01-17 11:12   ` Dongjiu Geng
2022-01-17 11:38     ` Bertrand Marquis
2022-01-17 11:49       ` Dongjiu Geng
2022-01-17 14:15 ` Julien Grall
2022-01-18  8:32   ` Bertrand Marquis
2022-01-18  8:45   ` Dongjiu Geng
2022-01-18  8:48     ` Bertrand Marquis
2022-01-18  8:58       ` Dongjiu Geng
2022-01-18  9:17         ` Bertrand Marquis
2022-01-19 11:30           ` Dongjiu Geng
2022-01-23 10:31             ` Julien Grall
2022-01-23 10:42         ` Julien Grall

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=94945C70-A608-47E9-890E-8CA6882D7379@arm.com \
    --to=bertrand.marquis@arm.com \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=gengdongjiu1@gmail.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.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.