Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp59211rwr; Wed, 26 Apr 2023 20:39:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5eL0uzi1Vx/w0OUYR5UOAjlmQnBW2tjs1g4l3DKYOeXFP+W9XQS5x0rF/JllYVcNGmwOUy X-Received: by 2002:a05:6a20:7f86:b0:ea:fb53:4cb1 with SMTP id d6-20020a056a207f8600b000eafb534cb1mr114482pzj.41.1682566787991; Wed, 26 Apr 2023 20:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682566787; cv=none; d=google.com; s=arc-20160816; b=zXPM6Yj2WFJ3tEg8GGdN6AbZv5ckukaI6YwdncetJYgmQPEFMtZfeahM5DCUzHfLdU qGYmbVoO0VmXc+3mAcqV6ZLNgGesE1eEj8Z50pc63gBk+tcND4qXKHZycR6KgHt2YkBl m3v+PLdhp1QRcyqbFsWcLvgSNfMCDURlEH+rS8tCH7nkz0/SqjoTJscRnUDD58CUcuA3 06x4xHVEN0SevhfKbGIDsudKT4v+qiQd0YNdz+FmSQoViwsloYID60N4RBDqbsWiXJNO CMT9oEWivuWkCtDfs+DOcGOuU3OnG8U4FKlcPdPCAgC7AsQNzdQ7p1Wl4myuqbeiX/zN JB6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=u/XooUh+csvdWa3vzofKpL2GRkQ1QHE5UdXL59bbqA0=; b=klb4if+APNGlyqMvqTKaQo/O83vo2XNVMPRJjoJomrgpaZm1N9/BHjh0d8hml4IpVX SrxT09GwicsEyZXMraHthUPkiINtnOVqgEtZhGYisHo3cbnXVi6xbCxlK364zf78ofjH H8LHhvJlumDzSEtPhoqXyRVDk92xbYDWp/ghgRGoySb6TTet+n4nySRcxBOi5VgLVHWD W+Ot6zGwiONa2EBj7nQZxTeOs3/Co16+E4v5sC2fJwiy5ewimfH2E9qNQ1M7lAdl3oav zc3Ow9DZhfGiFTv9XrqUj8iHllZ1hHuJSmOvfNEOI1B+Tji588Vfs/cKjrPMILEXvncc 3N5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=YnQSFS3w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a6543c3000000b005133f65dc69si17063441pgp.219.2023.04.26.20.39.34; Wed, 26 Apr 2023 20:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=YnQSFS3w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242847AbjD0DiL (ORCPT + 99 others); Wed, 26 Apr 2023 23:38:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242671AbjD0DiH (ORCPT ); Wed, 26 Apr 2023 23:38:07 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0E132718 for ; Wed, 26 Apr 2023 20:38:05 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-2f7db354092so4951519f8f.2 for ; Wed, 26 Apr 2023 20:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1682566684; x=1685158684; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=u/XooUh+csvdWa3vzofKpL2GRkQ1QHE5UdXL59bbqA0=; b=YnQSFS3w1ji+/2ubD0VP59khVu1Wna+t+VTMi0UCGviJuEVO+2nLZGd+IksVJTlHMr 0fStq9Mze4eXwc3k32nIXhZ4FNDF6FX1WYQFvGqKQ7haYiU5RavTxeq20vuvxH2PaXd2 XdEk23f2TSJoRLV/yFvRms+DWbjGbonWThAVSMrml8yjlz+0OBAjEaG+UYwbyLScFGoY mBL8uwk0tk1VoGwTFYOnGINVvBWyMnkxvi6NFY8q1qL6JLHL6WoU7e1BGT36KDf7wCH8 GulXbKEsUflh4f7xhEbWgtKMrAgcJ1IAgFGnTaik3EnBF3xYXLlupUNMOUm+w0O7lHi0 58Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682566684; x=1685158684; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u/XooUh+csvdWa3vzofKpL2GRkQ1QHE5UdXL59bbqA0=; b=BYk+1LMacRg1iYbPCszD41HWukq2uHg3JrgSr8JmKHt+2AlrocTLiuOpiFeJsWn8/i vCRay/B63mojoz9PF5Dq6A7eGNuB6vQg3QTO42mrXS2Bk26dKc5/SOoeibj8vCFEqUZx hK7d1xb7u29Dhe7vLd89Hmv31LGd4uizlqsln62N3I6HkryXVNb8YCkLWUCUcxI6IC7p u8FBSgAr3aJqtlHiSzizEIedJu5gO4iROh7Qtm6DO1TORsHqbxsui3jrlbjIdh+doC81 3s0GaNAT1cQ3Kmnncoeh8a2r9iCjrULqMLZXkxDgptcyDljzjS/5iI6zKUIMj2rey3e1 yXaA== X-Gm-Message-State: AC+VfDz/ULuiAp0W2ITArkoNXlXBaguNFHR5jwlSq4H604MoUhwFsSDd rPEWKF6UTSyQJlj3NWAVwsrKnOFnuob8RjLqJ16Iow== X-Received: by 2002:adf:f24e:0:b0:2fb:283a:1754 with SMTP id b14-20020adff24e000000b002fb283a1754mr75781wrp.32.1682566684270; Wed, 26 Apr 2023 20:38:04 -0700 (PDT) MIME-Version: 1.0 References: <20230426034001.16-1-cuiyunhui@bytedance.com> In-Reply-To: From: =?UTF-8?B?6L+Q6L6J5bSU?= Date: Thu, 27 Apr 2023 11:37:46 +0800 Message-ID: Subject: Re: [External] Re: [PATCH] firmware: added a firmware information passing method FFI To: Mark Rutland Cc: Ard Biesheuvel , Lorenzo Pieralisi , rafael@kernel.org, lenb@kernel.org, jdelvare@suse.com, yc.hung@mediatek.com, angelogioacchino.delregno@collabora.com, allen-kh.cheng@mediatek.com, pierre-louis.bossart@linux.intel.com, tinghan.shen@mediatek.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, rminnich@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On Wed, Apr 26, 2023 at 6:07=E2=80=AFPM Mark Rutland = wrote: > > Ard's point is that the device tree doesn't have all the same information= (e.g. > nothing in DT describes the memory type attributes), and so this isn't > sufficient. The device tree only needs to complete the parse of the memory type attribu= tes, it should not be very complicated. > > We'd have to create entirely new ways to pass that information, which is = not > very desirable. > > > Can you extend coreboot to provide EFI services, or to chain-load an EFI > payload? Currently, coreboot does not support UEFI, and it may not support it in the future. Hi rminnich, what do you think? Thanks, Yunhui