mbox series

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

Message ID 20211022174041.2776969-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. 22, 2021, 5:40 p.m. UTC
This v3 addresses the last remaining patches from my v2, the only change
is fixing the patch "firmware_loader: built-in API and make x86 use it"
where I left an old CONFIG_FW_LOADER_BUILTIN symbol in the
documentation.

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          | 29 +++++---
 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, 269 insertions(+), 73 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