Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp305416rdb; Wed, 17 Jan 2024 02:30:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMV14NJn53QYtExg34PH+gOZjBZwCgZET5zsGWVP3HJlreVM+9W7mfxYNc+O5yeE20hdCS X-Received: by 2002:a05:622a:48a:b0:429:ca29:98ca with SMTP id p10-20020a05622a048a00b00429ca2998camr10513579qtx.114.1705487417983; Wed, 17 Jan 2024 02:30:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705487417; cv=pass; d=google.com; s=arc-20160816; b=YyBE6QA535ZcvGwfJp1RYUHpbNV8NthmEGpOU/9VJIAyvDKdGrAZI/EBiyaaQSvQno v5g611Skh90OHeGDbR8vkrH83LP0v5nGweQhYP9v8LBTYIuRScTUomRhCNAWoco6hD4F zku6oHW8y2oN8JDWxmzWtGMv7oyozxBfSwOrABn4d/xkknzuJbHffuIK1QMNGQgZ5gho EAABUoCST1g/eoOpn2nUsXVGKXMT3CuH7aJQs/S4TVr+g1Rq6OHhEBntjHOETRzWAQqT 5rRlzNj/dXEdk5Va5CEw4mBb0x0zlJNhKxTlKWUn1Uby2FJZhSscP2Zuw/rORrcVLSUX 1IdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PYB4UPyQfg+OXXy2B8Ft5W4tFPyFMNRziTBLsL6s334=; fh=rFJkoIveh18FWh0obIajcDxEBmfWvC+StZ5NPpAUkCQ=; b=Hn3V0/qoA2jjt9ifHF6ub0DlhVpsOIv5xxM9h9XbfzaPqwOozq3rTW4iaNUSW6w5ka la8Kd60sW00q1qa6hJn3S+ATeksckgdf4jc60Ur9/8U4JunStkavVgF1axYiuX9VhdSk pTw9lWUlw7YhS5DIlDY0RrS6d4rmkwp0zFhL8tqt3u3oyePO1OJ2PIn7WyXfVPnEKw/5 V4aSCRPitVsNaiZ/fpEpgQNvz8n3nJbEEjg1R/WlGg7YkMAYBQG37YFTyqtfXU5ZGtxX px0P1faLqCnR+5B9frIS+vS/Wr7luOPKRHEBWoctsDrauIeZ+f1pNgWBV85sEBVYSHbU kgww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=elOe0XkA; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-28838-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28838-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j14-20020a05622a038e00b00429f5ae81absi4510876qtx.13.2024.01.17.02.30.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 02:30:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28838-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=elOe0XkA; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-28838-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28838-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC5371C20F0D for ; Wed, 17 Jan 2024 10:30:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7BC41DFC4; Wed, 17 Jan 2024 10:29:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="elOe0XkA" 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 821F11DDDE; Wed, 17 Jan 2024 10:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705487349; cv=none; b=V0NocLj50d54JkYNxV6pzVwAsE1EY/fUSmdwdQD7eF4OF66VoTxGXp3SDktfZdcsrWFk1Ks947pv/UBygo9DDz4eMeU9oiEoZgiMVhViTE/SFcYb41y6ZF2AViICv7cKKvYLyVzH/h+WN/pHTFhrzc8n8vVZZNirh3R3UTC01bk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705487349; c=relaxed/simple; bh=uzs6hr67x0wcN5kmfNYEWgn7qqBTKldWpYNeoxCt1GU=; h=DKIM-Signature:Received:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; b=LC/D1DfP3GjAPhw9/4b6BPcDYVaHhSC5ZMBNG5YQKo3ACwbu3iX/wM/WWu/E7tAB5eQ60XhanPDzwBaeW+LV7iZuilKe95Gn08mv8Xn7qasunKsvqEuXGrEJ5uHSOJevsz0nOw+wEJLenUPkUK+ZfdB+VzirkCnnmOWQ3dYj0Es= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=elOe0XkA; arc=none smtp.client-ip=46.235.227.194 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=1705487346; bh=uzs6hr67x0wcN5kmfNYEWgn7qqBTKldWpYNeoxCt1GU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=elOe0XkAQYBaF2j+quVIDduCoSqMpPA4uttYtiJ8+edcOGA+F7BC3gngIGSXXrdBb iiEys6qytH/YYkK53Nty5Eg4uKsbqYwazpa2A0AMl2DPtOFLHbO9uCQbHtxIyjvgbT MIhixDNe1cQbm3cyTx1pCAbadStenTUAtl7gYl7e0s8URZTa+dnmfNOG7qHk0yo1NK oaIS2Z/V+8NCk1gixwj+yZvNF8SAQmdVgKKfUe1HOAjsox6dl9STPj4ktzL7ou8unL vPZqnAeyniR3OYZLLhzAnrDqGVLlmUMa4x+NEFhZqCOXGN6JQSogvsvbxqZsjGcHdZ k1iLtC4R3ZXDQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 93BB8378148C; Wed, 17 Jan 2024 10:29:04 +0000 (UTC) Message-ID: Date: Wed, 17 Jan 2024 11:29:03 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/7] Allow coreboot modules to autoload and enable cbmem in the arm64 defconfig Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Tzung-Bi Shih Cc: kernel@collabora.com, chrome-platform@lists.linux.dev, 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 , U mang Jain , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240112131857.900734-1-nfraprado@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: <20240112131857.900734-1-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Il 12/01/24 14:18, NĂ­colas F. R. A. Prado ha scritto: > > 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. > For the entire series: Reviewed-by: AngeloGioacchino Del Regno > 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 (7): > firmware: coreboot: Generate modalias uevent for devices > firmware: coreboot: Generate aliases for coreboot modules > firmware: google: cbmem: Add to module device table > firmware: google: vpd: Add to module device table > firmware: google: memconsole: Add to module device table > firmware: google: framebuffer: 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 +++++++++ > drivers/firmware/google/framebuffer-coreboot.c | 7 +++++++ > drivers/firmware/google/memconsole-coreboot.c | 7 +++++++ > drivers/firmware/google/vpd.c | 7 +++++++ > include/linux/mod_devicetable.h | 8 ++++++++ > scripts/mod/devicetable-offsets.c | 3 +++ > scripts/mod/file2alias.c | 10 ++++++++++ > 9 files changed, 61 insertions(+) >