From patchwork Mon Feb 12 14:50:08 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: 199867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2475057dyd; Mon, 12 Feb 2024 06:52:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhd5XharvyBrjrKLR9bQObbIMaFME1GiyFmXoSpzzbjw2YLVYeCQekUMs58RPHIBDBG1zo X-Received: by 2002:a05:6e02:1d89:b0:363:c796:7736 with SMTP id h9-20020a056e021d8900b00363c7967736mr9805889ila.28.1707749562379; Mon, 12 Feb 2024 06:52:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707749562; cv=pass; d=google.com; s=arc-20160816; b=TIanVpKeWPmUQcaObPm5a/ngbTO80l32hbGVE0fjoE6oDh4392/locVrG/QZUYDdZk tWlOUG3D8JL/xCEtnfM+OSSL1x6TIu90O8dJtPoPmNfBGlA0NvFM8bm6Xs72R7yEKZzk ONAU0c3DUriZnWH/9QCkY4C3IyZXU/MCaZeL3PWDJXFk+f+H22rDPTnl2FQrMI/HbXr5 CRiPKYido9ko/kY1GoU/Au6nQE99wtqNCu7e4o6QPlROs0fkaB7HSF/fn8iwQLgUmQC0 AaTiF2e5x6+16b7tO1dzL6PyCMrxTAamFN7Rfl/lE8hd19d0/ndxOE/Lls+o8e2boogU +O4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=x79/SB+bskcOgSTqE6Z3y+KhsmEdQixCrp63f0Fnun4=; fh=cC9YZYDEJOPGCSGq3iEBNLl6SnoVJCO/FBpXD29wJDM=; b=ohA2qCKfM1rPcnvxC1XvjbXuw1/SyDkiSgLjvmKDy2ABPl92CWlqi+saq/2ehkP/ZC nUfl1UtB06L9NVX1lmruXGk6HPvBQaKRWZTu15pKGr0Bm19AKnvh6b2BQxoAurFuJo+h JuJjUtQAT1pbuufyOY8KlcdscsVD0nqYk6VUxJ3ni0gSpD/VkX5AWR+wM8OaQD0ROTPf k901zYdtliilNiW6BK+JoClfinWS7B5Fk9jrZdVICZ/Z1VyASmEMIymRGTbMUanq2nUu fshrQNDqAUkZHbkiraZf+xl7gYWopjihpf3386JriBP3gBexUglUc0sufPSHvYROeHt+ QZwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QpbkmfCW; 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-61844-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61844-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCWKVSX9u7WqK8O7GqRsvD2yvitVnnl4Fn4axistlD8IXUHQHUMa/MIhKWKuqBptbWbdBGT/CH91cYOamFepwMEwfRdxpQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e14-20020a65678e000000b005dc352a5637si337578pgr.323.2024.02.12.06.52.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 06:52:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61844-ouuuleilei=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=QpbkmfCW; 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-61844-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61844-ouuuleilei=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 26F23282357 for ; Mon, 12 Feb 2024 14:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF8683D0C9; Mon, 12 Feb 2024 14:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="QpbkmfCW" 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 B60AE3CF57; Mon, 12 Feb 2024 14:51:34 +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=1707749496; cv=none; b=d/ZC4vz5AYP9D8i2OY5AlPPeqrgA/njnvQpVgDdUBj0+bndL9OOMoAVmQv84t0KQIm/nqyqcQ65UQ/gF5bnqb77nwKZ44IxVVzCyQHk5jotMxR/rVEzRrgMA20QuuvQbNdTmruJQkMmFRmhvsWmbve4tMtgE4EKX04G5RTySXYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707749496; c=relaxed/simple; bh=6X0d2IvNibIl56LRw76KLgL3zAFeQRXW6NnnwscrVLA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b5vB39obKsQ2otxsfzabTTwuA3HywxJmvaJayGqaS6yvMK/pHHz/AT0fksXmur2+ExebV63Ja/NDFYjgjnFoBlAaGVtgeMzY5uhZ8d1mRCOdUs1sRI9u8U7/nfsgQ5RMekB28XodjYOHVY177JZKls7xUqKmKO9fH7XI3lXh7Is= 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=QpbkmfCW; 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=1707749493; bh=6X0d2IvNibIl56LRw76KLgL3zAFeQRXW6NnnwscrVLA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=QpbkmfCWJzIcJfM0t5YGGzIZIf+8Tp7zIuPnPxpHIXbRimZEN5bkVTCVJViIZLp2x A+91vAuKSk3GzDg346OTBFEBRTUax6XL4st40STh1HCPASUdpW9kdEiFKa4hLzbIWT 2ZEGM1E8TIKE5V0JNgLeDyh9tMvRlTh0ZrgTO751IMKKWVCJKYwNQzqUDGx4pxPJgS 1Sj5ZCXKBRlYF16H2xeLnX+2nXHd986ulU46O9H4WfKhoVHQ9fybjRN/V13lz+BlnJ 47mBzu4bsli15XU14/dQrhhNDSCvG/QVJJbUvh5fiHqrXJTlO7tB9mKnvpMbvUBceP hu2u+HSRoP75w== Received: from [192.168.1.30] (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 DC4BF378203F; Mon, 12 Feb 2024 14:51:29 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Date: Mon, 12 Feb 2024 09:50:08 -0500 Subject: [PATCH v4 4/4] arm64: defconfig: Enable support for cbmem entries in the coreboot table Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240212-coreboot-mod-defconfig-v4-4-d14172676f6d@collabora.com> References: <20240212-coreboot-mod-defconfig-v4-0-d14172676f6d@collabora.com> In-Reply-To: <20240212-coreboot-mod-defconfig-v4-0-d14172676f6d@collabora.com> To: Tzung-Bi Shih Cc: Arnd Bergmann , Brian Norris , Julius Werner , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Catalin Marinas , Will Deacon , AngeloGioacchino Del Regno , Andy Shevchenko , Greg Kroah-Hartman , kernel@collabora.com, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790705204665591872 X-GMAIL-MSGID: 1790705204665591872 Enable the cbmem driver and dependencies in order to support reading cbmem entries from the coreboot table, which are used to store logs from coreboot on arm64 Chromebooks, and provide useful information for debugging the boot process on those devices. Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Brian Norris Signed-off-by: NĂ­colas F. R. A. Prado --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 361c31b5d064..49121133f045 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -255,6 +255,9 @@ CONFIG_INTEL_STRATIX10_RSU=m CONFIG_MTK_ADSP_IPC=m CONFIG_QCOM_QSEECOM=y CONFIG_QCOM_QSEECOM_UEFISECAPP=y +CONFIG_GOOGLE_FIRMWARE=y +CONFIG_GOOGLE_CBMEM=m +CONFIG_GOOGLE_COREBOOT_TABLE=m CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y CONFIG_IMX_SCU_PD=y