mbox series

[v4,0/4] firmware_loader: built-in API and make x86 use it

Message ID 20211025195031.4169165-1-mcgrof@kernel.org (mailing list archive)
Headers show
Series firmware_loader: built-in API and make x86 use it | expand

Message

Luis Chamberlain Oct. 25, 2021, 7:50 p.m. UTC
The only change on this v4 is to fix a kconfig dependency
(EXTRA_FIRMWARE != "") which I missed to address on the v3 series.

Luis Chamberlain (4):
  firmware_loader: rename EXTRA_FIRMWARE and EXTRA_FIRMWARE_DIR
  firmware_loader: move builtin build helper to shared library
  test_firmware: move a few test knobs out to its library
  test_firmware: add support for testing built-in firmware

 .../driver-api/firmware/built-in-fw.rst       |  6 +-
 Documentation/x86/microcode.rst               |  8 +--
 arch/x86/Kconfig                              |  4 +-
 drivers/base/firmware_loader/Kconfig          | 31 ++++++---
 drivers/base/firmware_loader/Makefile         |  1 +
 drivers/base/firmware_loader/builtin/Makefile | 41 ++---------
 .../base/firmware_loader/builtin/lib.Makefile | 32 +++++++++
 .../firmware_loader/test-builtin/.gitignore   |  3 +
 .../firmware_loader/test-builtin/Makefile     | 18 +++++
 drivers/staging/media/av7110/Kconfig          |  4 +-
 lib/Kconfig.debug                             | 33 +++++++++
 lib/test_firmware.c                           | 52 +++++++++++++-
 .../testing/selftests/firmware/fw_builtin.sh  | 69 +++++++++++++++++++
 .../selftests/firmware/fw_filesystem.sh       | 16 -----
 tools/testing/selftests/firmware/fw_lib.sh    | 24 +++++++
 .../selftests/firmware/fw_run_tests.sh        |  2 +
 16 files changed, 270 insertions(+), 74 deletions(-)
 create mode 100644 drivers/base/firmware_loader/builtin/lib.Makefile
 create mode 100644 drivers/base/firmware_loader/test-builtin/.gitignore
 create mode 100644 drivers/base/firmware_loader/test-builtin/Makefile
 create mode 100755 tools/testing/selftests/firmware/fw_builtin.sh

Comments

Luis Chamberlain Nov. 17, 2021, 12:15 a.m. UTC | #1
On Mon, Oct 25, 2021 at 12:50:27PM -0700, Luis Chamberlain wrote:
> The only change on this v4 is to fix a kconfig dependency
> (EXTRA_FIRMWARE != "") which I missed to address on the v3 series.

Hey Greg, now that the merge window is closed let me know if you'd like
a resend of this or if you can take it as-is.

  Luis
Greg Kroah-Hartman Nov. 26, 2021, 3:54 p.m. UTC | #2
On Tue, Nov 16, 2021 at 04:15:33PM -0800, Luis Chamberlain wrote:
> On Mon, Oct 25, 2021 at 12:50:27PM -0700, Luis Chamberlain wrote:
> > The only change on this v4 is to fix a kconfig dependency
> > (EXTRA_FIRMWARE != "") which I missed to address on the v3 series.
> 
> Hey Greg, now that the merge window is closed let me know if you'd like
> a resend of this or if you can take it as-is.

All now queued up, thanks.

greg k-h