Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1713166rdd; Thu, 11 Jan 2024 07:14:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfLsXT2hn4o7UTEQZ6WadNFwYORzkaG3I5TU6eMuZQl1cXaM3KQGGdgysJ0o0/dD/d4OjU X-Received: by 2002:a17:902:ee8b:b0:1d5:251:15d9 with SMTP id a11-20020a170902ee8b00b001d5025115d9mr992766pld.136.1704986089856; Thu, 11 Jan 2024 07:14:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704986089; cv=none; d=google.com; s=arc-20160816; b=Yg6p0f5W9mNyMlEVWdXJievu5v6PlTUXEbhgInk45QXn5Eqwp28PPjUU8B1NDc8Dsa zqIWxonlJwRV3dG8f7VC7DbRVQJyH5W4TBEkR28Vya3reHVCpVZMZAvyy21rCJRp0GS6 YBjLVJMfF57yxMLkV4sr5GAeZl8zHsJ/OdDyS2cAastDjHh5QbWzdRYTSMpthojRDvoA yg1A8oNWSCqhXy70vmZ2N8RHg4jDRmVj0FRpLsaMGDCgFsG65curJBC+5y7s4rAjA2Ib X9TEI5Pez+AsjKr+XdWhZmKLQLO25rXF5C64D7AhQ2Oxf6WY9ok8Mq3xkv1ZO0ig2mHq Vc8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=C5aLYCXMJmy2n9zbYHrOwkL2vwrqvYhr4aqK3iCJPLY=; fh=5FytKw5AoLe7x0Wvk6JfmywdL8QMRgS27fjGYWJvfxc=; b=ZZzcLlbSYGEKwaNptFNUnY3+cICFLlWVKIKD2fLA2YzbBOYRZjcqNsx0BgnNyP2JA9 I0uikbuKgGxzj7tqyzTMK/WTjR5hdXDk0g+QUARfDvkfGXqLi652+tFmR2W2aA7C2C2l K0wBKhM0izwP0HgJ/sUvNyh1/szt4/uFzniKPgGVoKcZBzRaCUGDFM0x3Tn95+JhFef8 BOs4VmVNL5kA5riww1vngKQkAlARAZRXBfTRD8E3Wb7dhm3qVMuxj8/rCTzZYhEzNU/y kA830KYoaNKpAuhccl/H/n37woqLE5qNrat4odxB4qWwHcvMqmWyGSfFPzjj2+5ceiQb 3m1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=3im6bRcD; spf=pass (google.com: domain of linux-kernel+bounces-23773-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i9-20020a170902eb4900b001cc53dbf53dsi1210443pli.648.2024.01.11.07.14.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 07:14:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23773-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=3im6bRcD; spf=pass (google.com: domain of linux-kernel+bounces-23773-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23773-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 86CA928D2D0 for ; Thu, 11 Jan 2024 15:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A00C4C623; Thu, 11 Jan 2024 15:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="3im6bRcD" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 19CD84C3D7; Thu, 11 Jan 2024 15:14:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com 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?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Tzung-Bi Shih Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(+) -- 2.43.0