public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/8] efi_loader: Complete the bootflow_efi() test
@ 2025-01-06 14:47 Simon Glass
  2025-01-06 14:47 ` [PATCH 1/8] sandbox: Make USB controller as having active DMA Simon Glass
                   ` (9 more replies)
  0 siblings, 10 replies; 35+ messages in thread
From: Simon Glass @ 2025-01-06 14:47 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Ilias Apalodimas, Heinrich Schuchardt, Simon Glass,
	Guillaume La Roque, Marek Vasut, Mattijs Korpershoek,
	Sughosh Ganu, Tom Rini

This test was hamstrung in code review so this series is an attempt to
complete the intended functionality:

- Check memory allocations look correct
- Check that exit-boot-services removes active-DMA devices
- Check that the bootflow is still present after testapp finishes

The EFI functionality duplicates bootm_announce_and_cleanup() and still
uses the defunct board_quiesce_devices() so a nice cleanup would be to
call the bootm function instead, with suitable modifications. That would
allow bootstage to work too.

This series is based on sjg/master since the EFI logging was rejected so
far.


Simon Glass (8):
  sandbox: Make USB controller as having active DMA
  efi_loader: Fix display of addresses in log
  efi_loader: Return the memory map in pointer format
  efi_loader: Correct bounce-buffer setup
  efi_loader: Check memory allocations in bootflow_efi test()
  efi_loader: Update testapp to get memory map correctly
  efi_loader: Check that the bootflow is not removed by app
  efi_loader: Test that active-DMA devices are removed

 drivers/usb/host/usb-sandbox.c |  1 +
 lib/efi_loader/efi_log.c       |  5 +--
 lib/efi_loader/efi_memory.c    |  9 ++--
 lib/efi_loader/testapp.c       | 37 ++++++++++++++++
 test/boot/bootflow.c           | 78 +++++++++++++++++++++++++++++++++-
 5 files changed, 122 insertions(+), 8 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-01-31  0:10 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 14:47 [PATCH 0/8] efi_loader: Complete the bootflow_efi() test Simon Glass
2025-01-06 14:47 ` [PATCH 1/8] sandbox: Make USB controller as having active DMA Simon Glass
2025-01-06 14:47 ` [PATCH 2/8] efi_loader: Fix display of addresses in log Simon Glass
2025-01-07 13:37   ` Ilias Apalodimas
2025-01-07 13:57     ` Simon Glass
2025-01-08  7:12       ` Ilias Apalodimas
2025-01-08 17:03         ` Simon Glass
2025-01-06 14:47 ` [PATCH 3/8] efi_loader: Return the memory map in pointer format Simon Glass
2025-01-06 14:47 ` [PATCH 4/8] efi_loader: Correct bounce-buffer setup Simon Glass
2025-01-17 10:33   ` Ilias Apalodimas
2025-01-18  4:35     ` Simon Glass
2025-01-06 14:47 ` [PATCH 5/8] efi_loader: Check memory allocations in bootflow_efi test() Simon Glass
2025-01-06 14:47 ` [PATCH 6/8] efi_loader: Update testapp to get memory map correctly Simon Glass
2025-01-06 14:47 ` [PATCH 7/8] efi_loader: Check that the bootflow is not removed by app Simon Glass
2025-01-06 14:47 ` [PATCH 8/8] efi_loader: Test that active-DMA devices are removed Simon Glass
2025-01-06 17:00 ` [PATCH 0/8] efi_loader: Complete the bootflow_efi() test Heinrich Schuchardt
2025-01-07 12:15   ` Simon Glass
2025-01-07 13:11     ` Heinrich Schuchardt
2025-01-07 13:57       ` Simon Glass
2025-01-07 15:11         ` Tom Rini
2025-01-07 15:47           ` Heinrich Schuchardt
2025-01-08 13:39             ` Caleb Connolly
2025-01-08 17:02               ` Simon Glass
2025-01-08 17:02             ` Simon Glass
2025-01-08 19:14               ` Tom Rini
2025-01-09 15:02                 ` Simon Glass
2025-01-09 16:51                   ` Tom Rini
2025-01-10 13:40                     ` Simon Glass
2025-01-10 16:48                       ` Tom Rini
2025-01-13 19:01                         ` Simon Glass
2025-01-13 20:20                           ` Tom Rini
2025-01-18  4:35                             ` Simon Glass
2025-01-18 17:03                               ` Tom Rini
2025-01-18 17:15                               ` Tom Rini
2025-01-31  0:10 ` Simon Glass

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