From patchwork Thu Jan 11 15:11:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 13517522 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 20099C47077 for ; Thu, 11 Jan 2024 15:15:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wtMjJlRupGtyLViSuaEIUS03ggCyrbwIzR257ZuTV5w=; b=qU207OBkZputeP xWotLhlP6Uwt4Hg106YIplHfeQM4H0ZsZKgXPqLzQCyTO8T+qzmlQlpyPzRGsYcdX8GTc5xdL08FQ NsYVZ7qrdGpXChhnVdWoLBJhjDoAX7wbJ5ZjjY6PL1sgs0ptrtTismvNLqBDXhjUw1UkFZ+BaHvOI Wc4sn37AmSBx+RBNGe9Qaea3bqNOS+XwzW7mFvnd3eN3YhLXWKlBjnbcl8WCP1av1uG/3j1u86sqN vQ6/WyBWm0WjiplH0XonmD1z1sWNz4l3NzPzCwrEHJEyTxOIZbT1aEKI/sebh9mfD5Mxhl8U4qwqO B8ieuWJeDRUIAVJmZz1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNwlb-000ONR-2A; Thu, 11 Jan 2024 15:14:47 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNwlY-000OMx-2g for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2024 15:14:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704986078; bh=b+8qG4K5TQjYoC7fpfd4f7Sk/NAtLJcrKL8iFcCbdz4=; h=From:To:Cc:Subject:Date:From; b=3im6bRcD2+PvwFdsdu72Gg227f+Rg6ZqKp5Q+zo7Rjr57AfpmO0aUczzj1dMulno4 +lUlcsMDuSyNayNxUTjLTGeh1vkZ0+PPf4xWyM2rb2sLvChAm9wFxqyJiifsLVwoVV r5U86f1YHXaHPUHsm5E+nuhN6q1qVLP3lkhsw2qBE1EdzHncO62YYc97Smg2LeR6Rl AFjHwRiYuJxN9p3ZVc2fVRl9t6iRllxqtxK99oAOk5JHVrouLz7v+7rX0/6FGG8Z1O ApzbZluzOBJ39zpr56q0yfl9Ar92mlxOD+GTEMmdRVGZpvfTlL30pz0wSUO962z1Wg EbGCNab7YpbTA== Received: from localhost.localdomain (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 777703781492; Thu, 11 Jan 2024 15:14:30 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Tzung-Bi Shih Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Abhijit Gangurde , Andy Shevchenko , Arnd Bergmann , Bjorn Andersson , Brian Norris , Catalin Marinas , Geert Uytterhoeven , Greg Kroah-Hartman , Julius Werner , Konrad Dybcio , Krzysztof Kozlowski , Marek Szyprowski , Masahiro Yamada , Nathan Chancellor , Neil Armstrong , Nicolas Schier , Nipun Gupta , Pieter Jansen van Vuuren , Umang Jain , Will Deacon , chrome-platform@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Date: Thu, 11 Jan 2024 12:11:45 -0300 Message-ID: <20240111151226.842603-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240111_071445_086122_0EC5424D X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. NĂ­colas F. R. A. Prado (4): firmware: coreboot: Generate modalias uevent for devices firmware: coreboot: Generate aliases for coreboot modules firmware: google: cbmem: Add to module device table arm64: defconfig: Enable support for cbmem entries in the coreboot table arch/arm64/configs/defconfig | 3 +++ drivers/firmware/google/cbmem.c | 7 +++++++ drivers/firmware/google/coreboot_table.c | 9 +++++++++ include/linux/mod_devicetable.h | 8 ++++++++ scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 10 ++++++++++ 6 files changed, 40 insertions(+)