[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/6] hw/core: Move the ARM sysbus-fdt to core
From: |
Bin Meng |
Subject: |
Re: [PATCH v4 2/6] hw/core: Move the ARM sysbus-fdt to core |
Date: |
Thu, 21 Apr 2022 16:39:53 +0800 |
On Wed, Apr 20, 2022 at 1:53 PM Alistair Francis
<alistair.francis@opensource.wdc.com> wrote:
>
> From: Alistair Francis <alistair.francis@wdc.com>
>
> The ARM virt machine currently uses sysbus-fdt to create device tree
> entries for dynamically created MMIO devices.
>
> The RISC-V virt machine can also benefit from this, so move the code to
> the core directory.
>
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
> ---
> include/hw/{arm => core}/sysbus-fdt.h | 0
> hw/arm/virt.c | 2 +-
> hw/arm/xlnx-versal-virt.c | 1 -
> hw/{arm => core}/sysbus-fdt.c | 2 +-
> hw/arm/meson.build | 1 -
> hw/core/meson.build | 1 +
> 6 files changed, 3 insertions(+), 4 deletions(-)
> rename include/hw/{arm => core}/sysbus-fdt.h (100%)
> rename hw/{arm => core}/sysbus-fdt.c (99%)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
I believe you can do some refactor to let hw/ppc/e500.c to use this
platform bus too.
Regards,
Bin
- [PATCH v4 0/6] hw/riscv: Add TPM support to the virt board, Alistair Francis, 2022/04/20
- [PATCH v4 1/6] hw/riscv: virt: Add a machine done notifier, Alistair Francis, 2022/04/20
- [PATCH v4 2/6] hw/core: Move the ARM sysbus-fdt to core, Alistair Francis, 2022/04/20
- Re: [PATCH v4 2/6] hw/core: Move the ARM sysbus-fdt to core,
Bin Meng <=
- [PATCH v4 3/6] hw/riscv: virt: Create a platform bus, Alistair Francis, 2022/04/20
- [PATCH v4 4/6] hw/riscv: virt: Add support for generating platform FDT entries, Alistair Francis, 2022/04/20
- [PATCH v4 5/6] hw/riscv: virt: Add device plug support, Alistair Francis, 2022/04/20
- [PATCH v4 6/6] hw/riscv: Enable TPM backends, Alistair Francis, 2022/04/20
- Re: [PATCH v4 0/6] hw/riscv: Add TPM support to the virt board, Bin Meng, 2022/04/20