[RFC PATCH-for-5.2] hw/arm/virt: Remove dependency on Cortex-A15 MPCore peripherals

Philippe Mathieu-Daudé posted 1 patch 3 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201107114852.271922-1-philmd@redhat.com
hw/arm/Kconfig | 1 -
1 file changed, 1 deletion(-)
[RFC PATCH-for-5.2] hw/arm/virt: Remove dependency on Cortex-A15 MPCore peripherals
Posted by Philippe Mathieu-Daudé 3 years, 4 months ago
When using a Cortex-A15, the Virt machine does not use any
MPCore peripherals. Remove the dependency.

Fixes: 7951c7b7c05 ("hw/arm: Express dependencies of the virt machine with Kconfig")
Reported-by: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
RFC because there might be some odd use case I'm not aware of
    (like instantiating it via device tree?)
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 hw/arm/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index fdf4464b948..e2e9cc36eb1 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -6,7 +6,6 @@ config ARM_VIRT
     imply VFIO_PLATFORM
     imply VFIO_XGMAC
     imply TPM_TIS_SYSBUS
-    select A15MPCORE
     select ACPI
     select ARM_SMMUV3
     select GPIO_KEY
-- 
2.26.2

Re: [RFC PATCH-for-5.2] hw/arm/virt: Remove dependency on Cortex-A15 MPCore peripherals
Posted by Peter Maydell 3 years, 4 months ago
On Sat, 7 Nov 2020 at 11:48, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
>
> When using a Cortex-A15, the Virt machine does not use any
> MPCore peripherals. Remove the dependency.
>
> Fixes: 7951c7b7c05 ("hw/arm: Express dependencies of the virt machine with Kconfig")
> Reported-by: Miroslav Rezanina <mrezanin@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> RFC because there might be some odd use case I'm not aware of
>     (like instantiating it via device tree?)
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  hw/arm/Kconfig | 1 -



Applied to target-arm.next, thanks.

-- PMM