qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Byron Lathi <bslathi19@gmail.com>
To: qemu-devel@nongnu.org, qemu-arm@nongnu.org,
	peter.maydell@linaro.org, bslathi19@gmail.org
Cc: Byron Lathi <bslathi19@gmail.com>
Subject: [PATCH v2 2/2] hw/arm: Add Cortex-A5 to virt device
Date: Thu, 16 Dec 2021 00:48:20 -0600	[thread overview]
Message-ID: <20211216064820.61342-3-bslathi19@gmail.com> (raw)
In-Reply-To: <20211216064820.61342-1-bslathi19@gmail.com>

Add the Cortex-A5 to the list of supported CPUs by the virt platform.

Signed-off-by: Byron Lathi <bslathi19@gmail.com>
---
 docs/system/arm/virt.rst | 1 +
 hw/arm/virt.c            | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docs/system/arm/virt.rst b/docs/system/arm/virt.rst
index 850787495b..2384606ae7 100644
--- a/docs/system/arm/virt.rst
+++ b/docs/system/arm/virt.rst
@@ -50,6 +50,7 @@ The virt board supports:
 
 Supported guest CPU types:
 
+- ``cortex-a5`` (32-bit)
 - ``cortex-a7`` (32-bit)
 - ``cortex-a15`` (32-bit; the default)
 - ``cortex-a53`` (64-bit)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 6bce595aba..545bd2f958 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -195,6 +195,7 @@ static const int a15irqmap[] = {
 };
 
 static const char *valid_cpus[] = {
+    ARM_CPU_TYPE_NAME("cortex-a5"),
     ARM_CPU_TYPE_NAME("cortex-a7"),
     ARM_CPU_TYPE_NAME("cortex-a15"),
     ARM_CPU_TYPE_NAME("cortex-a53"),
-- 
2.30.2



  parent reply	other threads:[~2021-12-16  6:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16  6:48 [PATCH v2 0/2] Implement Cortex-A5 and add to virt device Byron Lathi
2021-12-16  6:48 ` [PATCH v2 1/2] target/arm: Implement Cortex-A5 Byron Lathi
2021-12-16  7:20   ` Byron Lathi
2022-01-06 16:57   ` Peter Maydell
2021-12-16  6:48 ` Byron Lathi [this message]
2021-12-16  8:21   ` [PATCH v2 2/2] hw/arm: Add Cortex-A5 to virt device Philippe Mathieu-Daudé

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=20211216064820.61342-3-bslathi19@gmail.com \
    --to=bslathi19@gmail.com \
    --cc=bslathi19@gmail.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).