From: "Chan Kim" <ckim@etri.re.kr>
To: "U-Boot Mailing List" <u-boot@lists.denx.de>
Subject: [PATCH] Add CONFIG_GICV3 for ARCH_QEMU
Date: Mon, 5 Jun 2023 10:40:26 +0900 [thread overview]
Message-ID: <038c01d9974e$b450fcb0$1cf2f610$@etri.re.kr> (raw)
I'm trying sending a patch for the first time.
I found when running u-boot qemu_arm64_defconfig on qemu-6.2.0's arm64 virt
machine, we need CONFIG_GICV3.
And for the GICV3 related to be compiled, we need to add GICD_BASE,
GICR_BASE defined by the qemu arm64 virt machine.
Signed-off-by : Chan Kim <ckim@etri.re.kr>
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 99264a6478..437857b188 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1044,6 +1044,7 @@ config ARCH_QEMU
select DM_SERIAL
select OF_CONTROL
select PL01X_SERIAL
+ select GICV3
imply CMD_DM
imply DM_RNG
imply DM_RTC
diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index e296f39879..979ae1815d 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -11,4 +11,6 @@
/* For timer, QEMU emulates an ARMv7/ARMv8 architected timer */
+#define GICD_BASE 0x8000000 /* 24MHz, FPGA runs at 5MHz
*/
+#define GICR_BASE 0x80a0000 /* 24MHz, FPGA runs at 5MHz
*/
#endif /* __CONFIG_H */
Thanks!
Chan Kim
next reply other threads:[~2023-06-05 1:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 1:40 Chan Kim [this message]
2023-06-12 21:17 ` [PATCH] Add CONFIG_GICV3 for ARCH_QEMU Simon Glass
2023-06-21 18:40 ` Tom Rini
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='038c01d9974e$b450fcb0$1cf2f610$@etri.re.kr' \
--to=ckim@etri.re.kr \
--cc=u-boot@lists.denx.de \
/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