From: Bernhard Beschow <shentey@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org, Peter Maydell <peter.maydell@linaro.org>,
Bernhard Beschow <shentey@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: [PATCH 1/2] hw/arm/fsl-imx8mp: Wire VIRQ and VFIQ
Date: Sun, 29 Jun 2025 22:48:50 +0200 [thread overview]
Message-ID: <20250629204851.1778-2-shentey@gmail.com> (raw)
In-Reply-To: <20250629204851.1778-1-shentey@gmail.com>
Allows to run KVM guests inside the imx8mp-evk machine.
Fixes: a4eefc69b237 ("hw/arm: Add i.MX 8M Plus EVK board")
CC: qemu-stable
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/arm/fsl-imx8mp.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/arm/fsl-imx8mp.c b/hw/arm/fsl-imx8mp.c
index 23e662c16c..866f4d1d74 100644
--- a/hw/arm/fsl-imx8mp.c
+++ b/hw/arm/fsl-imx8mp.c
@@ -356,6 +356,10 @@ static void fsl_imx8mp_realize(DeviceState *dev, Error **errp)
qdev_get_gpio_in(cpudev, ARM_CPU_IRQ));
sysbus_connect_irq(gicsbd, i + ms->smp.cpus,
qdev_get_gpio_in(cpudev, ARM_CPU_FIQ));
+ sysbus_connect_irq(gicsbd, i + 2 * ms->smp.cpus,
+ qdev_get_gpio_in(cpudev, ARM_CPU_VIRQ));
+ sysbus_connect_irq(gicsbd, i + 3 * ms->smp.cpus,
+ qdev_get_gpio_in(cpudev, ARM_CPU_VFIQ));
}
}
--
2.50.0
next prev parent reply other threads:[~2025-06-29 20:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-29 20:48 [PATCH 0/2] KVM Support for imx8mp-evk Machine Bernhard Beschow
2025-06-29 20:48 ` Bernhard Beschow [this message]
2025-06-30 8:59 ` [PATCH 1/2] hw/arm/fsl-imx8mp: Wire VIRQ and VFIQ Philippe Mathieu-Daudé
2025-07-08 22:29 ` Bernhard Beschow
2025-07-10 8:25 ` Peter Maydell
2025-06-29 20:48 ` [PATCH 2/2] hw/arm/imx8mp-evk: Add KVM support Bernhard Beschow
2025-06-30 8:58 ` Philippe Mathieu-Daudé
2025-06-30 20:43 ` Bernhard Beschow
2025-06-30 9:09 ` Peter Maydell
2025-06-30 20:22 ` Bernhard Beschow
2025-06-30 21:03 ` Peter Maydell
2025-07-08 16:36 ` Bernhard Beschow
2025-08-11 11:01 ` Bernhard Beschow
2025-08-26 5:50 ` Bernhard Beschow
2025-08-26 9:21 ` Peter Maydell
2025-08-26 18:21 ` Bernhard Beschow
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=20250629204851.1778-2-shentey@gmail.com \
--to=shentey@gmail.com \
--cc=pbonzini@redhat.com \
--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).