public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/5] Fixes for running U-boot under QEMU/KVM
@ 2020-06-06 17:15 Ard Biesheuvel
  2020-06-06 17:15 ` [PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Ard Biesheuvel @ 2020-06-06 17:15 UTC (permalink / raw)
  To: u-boot

This series fixes a number of issues that exist in the QEMU/mach-virt
port of u-boot, and that prevent it from executing correctly under
virtualization (as opposed to TCG emulation)

As the Linux EFI subsystem maintainer, I am looking to increase test
coverage for the EFI related changes that are under development for
Linux, and one of the things I plan to do is start using U-boot as
test firmware for boot testing. This can be done under TCG emulation,
but given how loosely TCG implements the architecture, it is better
to test under virtualization as well.

With these changes applied, u-boot can boot Linux in EFI mode under
KVM.

Cc: Tom Rini <trini@konsulko.com>
Cc: Sughosh Ganu <sughosh.ganu@linaro.org>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>

Ard Biesheuvel (5):
  arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK
  arm: qemu: enable LPAE on 32-bit
  arm: qemu: implement enable_caches()
  arm: qemu: disable the EFI workaround for older GRUB
  arm: qemu: override flash accessors to use virtualizable instructions

 arch/arm/include/asm/system.h       |  2 +-
 board/emulation/qemu-arm/qemu-arm.c | 62 ++++++++++++++++++++
 configs/qemu_arm_defconfig          |  2 +
 include/configs/qemu-arm.h          |  1 +
 4 files changed, 66 insertions(+), 1 deletion(-)

-- 
2.26.2

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2020-06-08 13:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-06 17:15 [PATCH 0/5] Fixes for running U-boot under QEMU/KVM Ard Biesheuvel
2020-06-06 17:15 ` [PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK Ard Biesheuvel
2020-06-06 20:14   ` Heinrich Schuchardt
2020-06-06 23:17     ` Ard Biesheuvel
2020-06-06 23:46       ` Heinrich Schuchardt
2020-06-06 17:15 ` [PATCH 2/5] arm: qemu: enable LPAE on 32-bit Ard Biesheuvel
2020-06-06 20:32   ` Heinrich Schuchardt
2020-06-06 20:49     ` Heinrich Schuchardt
2020-06-07  8:59       ` Ard Biesheuvel
2020-06-07 11:03         ` Heinrich Schuchardt
2020-06-07 11:04           ` Ard Biesheuvel
2020-06-06 17:15 ` [PATCH 3/5] arm: qemu: implement enable_caches() Ard Biesheuvel
2020-06-06 20:50   ` Heinrich Schuchardt
2020-06-08 13:17     ` Tom Rini
2020-06-06 17:15 ` [PATCH 4/5] arm: qemu: disable the EFI workaround for older GRUB Ard Biesheuvel
2020-06-06 20:53   ` Heinrich Schuchardt
2020-06-06 17:15 ` [PATCH 5/5] arm: qemu: override flash accessors to use virtualizable instructions Ard Biesheuvel
2020-06-06 21:08   ` Heinrich Schuchardt
2020-06-06 22:59     ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox