From: "Nícolas F. R. A. Prado" <nfraprado@collabora.com> To: Tzung-Bi Shih <tzungbi@kernel.org> Cc: "Arnd Bergmann" <arnd@arndb.de>, "Brian Norris" <briannorris@chromium.org>, "Julius Werner" <jwerner@chromium.org>, "Masahiro Yamada" <masahiroy@kernel.org>, "Nathan Chancellor" <nathan@kernel.org>, "Nicolas Schier" <nicolas@fjasle.eu>, "Catalin Marinas" <catalin.marinas@arm.com>, "Will Deacon" <will@kernel.org>, "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com>, "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, kernel@collabora.com, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Nícolas F. R. A. Prado" <nfraprado@collabora.com> Subject: [PATCH v4 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Date: Mon, 12 Feb 2024 09:50:04 -0500 [thread overview] Message-ID: <20240212-coreboot-mod-defconfig-v4-0-d14172676f6d@collabora.com> (raw) This series adds the missing pieces to the coreboot bus and the module alias generation to allow coreboot modules to be automatically loaded when matching devices are detected. The configs for cbmem coreboot entries are then enabled in the arm64 defconfig, as modules, to allow reading logs from coreboot on arm64 Chromebooks, which is useful for debugging the boot process. Changes in v4: - Added driver_data to device_id struct - Link to v3: https://lore.kernel.org/r/20240117-coreboot-mod-defconfig-v3-0-049565a27bba@collabora.com Changes in v3: - Merged all "add to module device table" commits into a single commit which also changes the coreboot_driver struct to contain an id table and avoid unused variable warnings for the id tables. Changes in v2: - Added commits for vpd, memconsole and framebuffer drivers to add them to the module device table --- Nícolas F. R. A. Prado (4): firmware: coreboot: Generate modalias uevent for devices firmware: coreboot: Generate aliases for coreboot modules firmware: coreboot: Replace tag with id table in driver struct arm64: defconfig: Enable support for cbmem entries in the coreboot table arch/arm64/configs/defconfig | 3 +++ drivers/firmware/google/cbmem.c | 8 +++++++- drivers/firmware/google/coreboot_table.c | 20 +++++++++++++++++++- drivers/firmware/google/coreboot_table.h | 3 ++- drivers/firmware/google/framebuffer-coreboot.c | 8 +++++++- drivers/firmware/google/memconsole-coreboot.c | 8 +++++++- drivers/firmware/google/vpd.c | 8 +++++++- include/linux/mod_devicetable.h | 10 ++++++++++ scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 10 ++++++++++ 10 files changed, 75 insertions(+), 6 deletions(-) --- base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8 change-id: 20240117-coreboot-mod-defconfig-826b01e242d9 Best regards, -- Nícolas F. R. A. Prado <nfraprado@collabora.com>
WARNING: multiple messages have this Message-ID (diff)
From: "Nícolas F. R. A. Prado" <nfraprado@collabora.com> To: Tzung-Bi Shih <tzungbi@kernel.org> Cc: "Arnd Bergmann" <arnd@arndb.de>, "Brian Norris" <briannorris@chromium.org>, "Julius Werner" <jwerner@chromium.org>, "Masahiro Yamada" <masahiroy@kernel.org>, "Nathan Chancellor" <nathan@kernel.org>, "Nicolas Schier" <nicolas@fjasle.eu>, "Catalin Marinas" <catalin.marinas@arm.com>, "Will Deacon" <will@kernel.org>, "AngeloGioacchino Del Regno" <angelogioacchino.delregno@collabora.com>, "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, kernel@collabora.com, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Nícolas F. R. A. Prado" <nfraprado@collabora.com> Subject: [PATCH v4 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Date: Mon, 12 Feb 2024 09:50:04 -0500 [thread overview] Message-ID: <20240212-coreboot-mod-defconfig-v4-0-d14172676f6d@collabora.com> (raw) This series adds the missing pieces to the coreboot bus and the module alias generation to allow coreboot modules to be automatically loaded when matching devices are detected. The configs for cbmem coreboot entries are then enabled in the arm64 defconfig, as modules, to allow reading logs from coreboot on arm64 Chromebooks, which is useful for debugging the boot process. Changes in v4: - Added driver_data to device_id struct - Link to v3: https://lore.kernel.org/r/20240117-coreboot-mod-defconfig-v3-0-049565a27bba@collabora.com Changes in v3: - Merged all "add to module device table" commits into a single commit which also changes the coreboot_driver struct to contain an id table and avoid unused variable warnings for the id tables. Changes in v2: - Added commits for vpd, memconsole and framebuffer drivers to add them to the module device table --- Nícolas F. R. A. Prado (4): firmware: coreboot: Generate modalias uevent for devices firmware: coreboot: Generate aliases for coreboot modules firmware: coreboot: Replace tag with id table in driver struct arm64: defconfig: Enable support for cbmem entries in the coreboot table arch/arm64/configs/defconfig | 3 +++ drivers/firmware/google/cbmem.c | 8 +++++++- drivers/firmware/google/coreboot_table.c | 20 +++++++++++++++++++- drivers/firmware/google/coreboot_table.h | 3 ++- drivers/firmware/google/framebuffer-coreboot.c | 8 +++++++- drivers/firmware/google/memconsole-coreboot.c | 8 +++++++- drivers/firmware/google/vpd.c | 8 +++++++- include/linux/mod_devicetable.h | 10 ++++++++++ scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 10 ++++++++++ 10 files changed, 75 insertions(+), 6 deletions(-) --- base-commit: 0f067394dd3b2af3263339cf7183bdb6ee0ac1f8 change-id: 20240117-coreboot-mod-defconfig-826b01e242d9 Best regards, -- Nícolas F. R. A. Prado <nfraprado@collabora.com> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2024-02-12 14:51 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-12 14:50 Nícolas F. R. A. Prado [this message] 2024-02-12 14:50 ` [PATCH v4 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Nícolas F. R. A. Prado 2024-02-12 14:50 ` [PATCH v4 1/4] firmware: coreboot: Generate modalias uevent for devices Nícolas F. R. A. Prado 2024-02-12 14:50 ` Nícolas F. R. A. Prado 2024-02-12 14:50 ` [PATCH v4 2/4] firmware: coreboot: Generate aliases for coreboot modules Nícolas F. R. A. Prado 2024-02-12 14:50 ` Nícolas F. R. A. Prado 2024-02-15 5:50 ` Masahiro Yamada 2024-02-15 5:50 ` Masahiro Yamada 2024-02-12 14:50 ` [PATCH v4 3/4] firmware: coreboot: Replace tag with id table in driver struct Nícolas F. R. A. Prado 2024-02-12 14:50 ` Nícolas F. R. A. Prado 2024-02-12 14:50 ` [PATCH v4 4/4] arm64: defconfig: Enable support for cbmem entries in the coreboot table Nícolas F. R. A. Prado 2024-02-12 14:50 ` Nícolas F. R. A. Prado 2024-02-15 3:37 ` [PATCH v4 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Tzung-Bi Shih 2024-02-15 3:37 ` Tzung-Bi Shih 2024-02-15 5:52 ` Masahiro Yamada 2024-02-15 5:52 ` Masahiro Yamada 2024-02-17 0:58 ` Tzung-Bi Shih 2024-02-17 0:58 ` Tzung-Bi Shih 2024-03-04 13:56 ` Nícolas F. R. A. Prado 2024-03-04 13:56 ` Nícolas F. R. A. Prado 2024-03-04 14:02 ` Arnd Bergmann 2024-03-04 14:02 ` Arnd Bergmann 2024-03-04 18:17 ` Nícolas F. R. A. Prado 2024-03-04 18:17 ` Nícolas F. R. A. Prado 2024-03-25 1:54 ` patchwork-bot+chrome-platform 2024-03-25 1:54 ` patchwork-bot+chrome-platform 2024-03-25 2:13 ` patchwork-bot+chrome-platform 2024-03-25 2:13 ` patchwork-bot+chrome-platform
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=20240212-coreboot-mod-defconfig-v4-0-d14172676f6d@collabora.com \ --to=nfraprado@collabora.com \ --cc=andriy.shevchenko@linux.intel.com \ --cc=angelogioacchino.delregno@collabora.com \ --cc=arnd@arndb.de \ --cc=briannorris@chromium.org \ --cc=catalin.marinas@arm.com \ --cc=chrome-platform@lists.linux.dev \ --cc=gregkh@linuxfoundation.org \ --cc=jwerner@chromium.org \ --cc=kernel@collabora.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=masahiroy@kernel.org \ --cc=nathan@kernel.org \ --cc=nicolas@fjasle.eu \ --cc=tzungbi@kernel.org \ --cc=will@kernel.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.