Skip to content
  • Hongbo Zhang's avatar
    64580903
    hw/arm: Add arm SBSA reference machine, skeleton part · 64580903
    Hongbo Zhang authored
    
    
    For AArch64, the existing "virt" machine is primarily meant to
    run on KVM and execute virtualization workloads, but we need an
    environment as faithful as possible to physical hardware, for supporting
    firmware and OS development for physical Aarch64 machines.
    
    This patch introduces new machine type 'sbsa-ref' with main features:
     - Based on 'virt' machine type.
     - A new memory map.
     - CPU type cortex-a57.
     - EL2 and EL3 are enabled.
     - GIC version 3.
     - System bus AHCI controller.
     - System bus EHCI controller.
     - CDROM and hard disc on AHCI bus.
     - E1000E ethernet card on PCIE bus.
     - VGA display adaptor on PCIE bus.
     - No virtio devices.
     - No fw_cfg device.
     - No ACPI table supplied.
     - Only minimal device tree nodes.
    
    Arm Trusted Firmware and UEFI porting to this are done accordingly,
    and the firmware should supply ACPI tables to the guest OS.  The
    minimal device tree nodes supplied by QEMU for this platform are only
    to pass the dynamic info reflecting command line input to firmware,
    not for loading the guest OS.
    
    To make the review easier, this task is split into two patches, the
    fundamental skeleton part and the peripheral devices part; this patch is
    the first part.
    
    Signed-off-by: default avatarHongbo Zhang <hongbo.zhang@linaro.org>
    Message-id: 1561890034-15921-2-git-send-email-hongbo.zhang@linaro.org
    [PMM: commit message tweaks; moved some bits between patch 1 and 2
     to ensure patch 1 builds cleanly; removed unneeded lines from
     Kconfig stanza; only provide board for qemu-system-aarch64, not
     qemu-system-arm; added MAINTAINERS entry]
    Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    64580903
    hw/arm: Add arm SBSA reference machine, skeleton part
    Hongbo Zhang authored
    
    
    For AArch64, the existing "virt" machine is primarily meant to
    run on KVM and execute virtualization workloads, but we need an
    environment as faithful as possible to physical hardware, for supporting
    firmware and OS development for physical Aarch64 machines.
    
    This patch introduces new machine type 'sbsa-ref' with main features:
     - Based on 'virt' machine type.
     - A new memory map.
     - CPU type cortex-a57.
     - EL2 and EL3 are enabled.
     - GIC version 3.
     - System bus AHCI controller.
     - System bus EHCI controller.
     - CDROM and hard disc on AHCI bus.
     - E1000E ethernet card on PCIE bus.
     - VGA display adaptor on PCIE bus.
     - No virtio devices.
     - No fw_cfg device.
     - No ACPI table supplied.
     - Only minimal device tree nodes.
    
    Arm Trusted Firmware and UEFI porting to this are done accordingly,
    and the firmware should supply ACPI tables to the guest OS.  The
    minimal device tree nodes supplied by QEMU for this platform are only
    to pass the dynamic info reflecting command line input to firmware,
    not for loading the guest OS.
    
    To make the review easier, this task is split into two patches, the
    fundamental skeleton part and the peripheral devices part; this patch is
    the first part.
    
    Signed-off-by: default avatarHongbo Zhang <hongbo.zhang@linaro.org>
    Message-id: 1561890034-15921-2-git-send-email-hongbo.zhang@linaro.org
    [PMM: commit message tweaks; moved some bits between patch 1 and 2
     to ensure patch 1 builds cleanly; removed unneeded lines from
     Kconfig stanza; only provide board for qemu-system-aarch64, not
     qemu-system-arm; added MAINTAINERS entry]
    Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Loading