U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Matthew Garrett <mgarrett@aurora.tech>,
	Simon Glass <sjg@chromium.org>,
	AKASHI Takahiro <akashi.tkhro@gmail.com>,
	Dmitry Rokosov <ddrokosov@salutedevices.com>,
	Emil Kronborg <emil.kronborg@protonmail.com>,
	Francis Laniel <francis.laniel@amarulasolutions.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Hou Zhiqiang <Zhiqiang.Hou@nxp.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Janis Danisevskis <jdanisevskis@aurora.tech>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Maxim Moskalets <maximmosk4@gmail.com>,
	Ramon Fried <rfried.dev@gmail.com>,
	Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
	Raymond Mao <raymond.mao@linaro.org>,
	Sebastian Reichel <sebastian.reichel@collabora.com>,
	Tom Rini <trini@konsulko.com>,
	Wang Jie <dave.wang@rock-chips.com>
Subject: [PATCH 0/8] efi: Add docs and tests and a few tweaks
Date: Mon,  9 Dec 2024 09:27:53 -0700	[thread overview]
Message-ID: <20241209162801.288363-1-sjg@chromium.org> (raw)

This series addresses feedback provided on the original series,
including:

- adding documentation and tests for the two new commands
- fixing an issue that somehow didn't fail in CI
- splitting up a large function into two parts
- using lmb for the allocation, instead of looking at internal tables
- dropping use of config.h

Link: https://lore.kernel.org/u-boot/20241123195616.305687-1-mjg59@srcf.ucam.org/
Link: https://patchwork.ozlabs.org/project/uboot/list/?series=433949&state=*&archive=both


Simon Glass (8):
  fdtdec: Correct devicetree symbol for EFI app
  part_find: Enable for sandbox and correct radix and calls
  doc: test: Add docs and test for part_find
  efi: Drop config.h
  cmd: Refactor part_find() into separate functions
  addr_find: Use a simple lmb allocation
  doc: test: Add docs and test for addr_find
  efi: Avoid a memory leak in efi_bind_block() on error path

 cmd/Kconfig                 |   2 +
 cmd/addr_find.c             |  41 +++-------
 cmd/part_find.c             | 153 ++++++++++++++++++++++--------------
 doc/usage/cmd/addr_find.rst |  63 +++++++++++++++
 doc/usage/cmd/part_find.rst | 119 ++++++++++++++++++++++++++++
 doc/usage/index.rst         |   2 +
 drivers/net/efi_net.c       |   1 -
 drivers/tpm/tpm2_efi.c      |   1 -
 lib/efi/efi_app_init.c      |   4 +-
 lib/fdtdec.c                |   2 +-
 test/cmd/Makefile           |   2 +
 test/cmd/addr_find.c        |  27 +++++++
 test/cmd/part_find.c        |  42 ++++++++++
 13 files changed, 367 insertions(+), 92 deletions(-)
 create mode 100644 doc/usage/cmd/addr_find.rst
 create mode 100644 doc/usage/cmd/part_find.rst
 create mode 100644 test/cmd/addr_find.c
 create mode 100644 test/cmd/part_find.c

-- 
2.34.1


             reply	other threads:[~2024-12-09 16:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-09 16:27 Simon Glass [this message]
2024-12-09 16:27 ` [PATCH 1/8] fdtdec: Correct devicetree symbol for EFI app Simon Glass
2024-12-09 16:27 ` [PATCH 2/8] part_find: Enable for sandbox and correct radix and calls Simon Glass
2024-12-09 16:27 ` [PATCH 3/8] doc: test: Add docs and test for part_find Simon Glass
2024-12-10  8:15   ` Heinrich Schuchardt
2024-12-10 16:16     ` Simon Glass
2024-12-10 17:08       ` Tom Rini
2024-12-16  0:29         ` Simon Glass
2024-12-16  8:05           ` Heinrich Schuchardt
2024-12-09 16:27 ` [PATCH 4/8] efi: Drop config.h Simon Glass
2024-12-09 16:27 ` [PATCH 5/8] cmd: Refactor part_find() into separate functions Simon Glass
2024-12-09 16:27 ` [PATCH 6/8] addr_find: Use a simple lmb allocation Simon Glass
2024-12-09 16:28 ` [PATCH 7/8] doc: test: Add docs and test for addr_find Simon Glass
2024-12-09 16:28 ` [PATCH 8/8] efi: Avoid a memory leak in efi_bind_block() on error path Simon Glass
2024-12-10  8:10   ` Heinrich Schuchardt
2024-12-16 15:15     ` Simon Glass

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=20241209162801.288363-1-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=Zhiqiang.Hou@nxp.com \
    --cc=akashi.tkhro@gmail.com \
    --cc=dave.wang@rock-chips.com \
    --cc=ddrokosov@salutedevices.com \
    --cc=emil.kronborg@protonmail.com \
    --cc=francis.laniel@amarulasolutions.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jdanisevskis@aurora.tech \
    --cc=jerome.forissier@linaro.org \
    --cc=joe.hershberger@ni.com \
    --cc=jonas@kwiboo.se \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=maximmosk4@gmail.com \
    --cc=mgarrett@aurora.tech \
    --cc=mkorpershoek@baylibre.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=raymond.mao@linaro.org \
    --cc=rfried.dev@gmail.com \
    --cc=sebastian.reichel@collabora.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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