Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32989558rwd; Sat, 8 Jul 2023 03:05:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9AOieOHxkYQnN6kAuNupZQ/4HwoY0bPnFlwEJvuMhpm2ArZEA2GJgl98DlTRqpbdBMnBI X-Received: by 2002:a05:6808:1789:b0:3a3:7228:8c98 with SMTP id bg9-20020a056808178900b003a372288c98mr11601268oib.2.1688810737130; Sat, 08 Jul 2023 03:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688810737; cv=none; d=google.com; s=arc-20160816; b=Y18lwQSbmGhKl8zOT/dtwPceAFeb40GRaut88Og9JO7UteHKYx3JATqru1cFeAiiGc ULNBNBSwosQtciB9/1GaG4/W5sVJhGweQ2YZGrBEna/eSqzPVLHrALh+cGwFCkuqRQ24 VG5+dComufX5o3ooYUg82Q5egy/VJm8GzrOmjHr/PQk8Zbhf4E8BT5rK1b0+es/3K5kN e2670WSJ1KfgfueFVyx1vfhBLeummno40MH7SKei9Sp5SMcNlQMV0wpm9i7AQj7OqH9k 1Jkr9EDUKUYkDH2/XavqyRuqwn3f33hxITGVqbzui94ERjC7ECbrnBAuiFCm+b76M86S GLRA== 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=GCpw0lHr+AbvSxnzg9XtiBC/ZvwrmfnPkPx+Fvg8o70=; fh=YAlhz9zCzaFKemRCuOzv1/u9KJ4qvbmlc9A4YvsQNPk=; b=B56LNvrFSNLobbCV1VN5lizFXM3QaTuqMS1AI+OGvbpXcBBc6/yCFnUgCAle4I9WTR FVFDfXC3vGhH8Xzh1dZQgsUfiOzmJ9eZxvvbLCRp0E22Z+g36Kw9BUHxh9mPI1QHqiPO TPR2p/tPDFB8Z5b4PofPmFhXvbjfHusn6nhtE/BGQ6xQV0AQbAE0jQsiDZiTDU/uVXPi t+ulbvPl1dA6Njib/TKURXmRQFS4M20RLsAH302OmdNRfiiwjfoo+aNJXxxKaBzA3z02 nICtDJlssvzqGaVaPvcWyyH8NddjvLsyTgBnUDMFePxeetCyhIHaQu5X97MmiVM3GqBU f7Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=Sci15Xqi; 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 dc6-20020a056a0035c600b0066c72802132si5444797pfb.369.2023.07.08.03.05.25; Sat, 08 Jul 2023 03:05:37 -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=Sci15Xqi; 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 S229571AbjGHJ0H (ORCPT + 99 others); Sat, 8 Jul 2023 05:26:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjGHJ0G (ORCPT ); Sat, 8 Jul 2023 05:26:06 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED2F1BEE for ; Sat, 8 Jul 2023 02:25:40 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4fb960b7c9dso4264994e87.0 for ; Sat, 08 Jul 2023 02:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1688808339; x=1691400339; 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=GCpw0lHr+AbvSxnzg9XtiBC/ZvwrmfnPkPx+Fvg8o70=; b=Sci15XqiYLbNecBF/GuJ1mM8D+s4WOJZXJfxW8Z52ck4SGtgemoHvh4I7FzZLDFoOV TdULymacrA5sseAvwHHjKEaYwt/TbHiVTGqpSUoH2xneze0cyTZ4ZLySNI/Ju3khNO5h GNwfl37PL6lEHeU3ZU3fzAzRVyMJKgNtXJKcRKz315onxSOllkJRxOh7uyQhH+g/EqWW Y/WIb/tQ/64Lz7i8ClXlta4eLq3cd08TJTKe/MRB89kB1NlhMbm+n1e4toD8fU9DrveR XAC4U5V1f6+4wxr5Lo20Bq0Bi+EA3ieGMQ7BUtvmKDhifyoEN8WOvXrHc9QXQk+4/0ce XJ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688808339; x=1691400339; 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=GCpw0lHr+AbvSxnzg9XtiBC/ZvwrmfnPkPx+Fvg8o70=; b=PFIDdg/+Qc+cKa+biy3O/mxusd4qi8jcQRXRo78Arus+Uq5C293Es4xa7KexRUKFkW uqb2GGpKXOVg1ycFFUU5U+LpnnBbMEIlXdDmfYQjKH+mmnEGmN/9bgJTjRZLgBbsyo7P p9xosNc+LTAuud7A+Y1kgG2t9B7czGIytiS0Nof5MnyQ5V0MW2bvPwDhPMqZfplrimSR PofHZpkBR6eDe0e2nRd0sRhlaowudRwD7D0cRGa+Z3MJD4sep6eNPQLFadXMOoMzCNYU qfx91wFJaYczpoKqe9ZsV30YcKAbSAudMAqaCtZgk+VK4Wo+RmUa2vC6yQkiSN7eZD1c 5kNQ== X-Gm-Message-State: ABy/qLb6XF4GB68hlYOxskhJBJZ/wLLcLKRMOqJfIgPBWnjdsb4vhUT0 TCkksUsDgQoaPKKmjJ0IH7Amn00N+DOC90hL1bHgQQ== X-Received: by 2002:a05:6512:3112:b0:4f9:5519:78b8 with SMTP id n18-20020a056512311200b004f9551978b8mr5030415lfb.63.1688808339073; Sat, 08 Jul 2023 02:25:39 -0700 (PDT) MIME-Version: 1.0 References: <20230707-attach-conjuror-306d967347ce@wendy> <20230707-gargle-enjoyable-f9f7f87fc7ea@spud> <9F6A932E-6FFE-4CF1-BF20-D5D80AC26F37@jrtc27.com> In-Reply-To: <9F6A932E-6FFE-4CF1-BF20-D5D80AC26F37@jrtc27.com> From: =?UTF-8?B?6L+Q6L6J5bSU?= Date: Sat, 8 Jul 2023 17:25:27 +0800 Message-ID: Subject: Re: [External] [PATCH v3 0/4] Obtain SMBIOS and ACPI entry from FFI To: Jessica Clarke Cc: Dong Wei , Conor Dooley , =?UTF-8?B?6JGb5aOr5bu6?= , Sunil V L , Conor Dooley , ron minnich , Palmer Dabbelt , Ard Biesheuvel , "kernel@esmil.dk" , Paul Walmsley , "aou@eecs.berkeley.edu" , "linux-riscv@lists.infradead.org" , Mark Rutland , "lpieralisi@kernel.org" , "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" , "weidong.wd@bytedance.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,URIBL_BLOCKED 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 Jessica, On Sat, Jul 8, 2023 at 11:59=E2=80=AFAM Jessica Clarke = wrote: > > On 8 Jul 2023, at 04:22, =E8=BF=90=E8=BE=89=E5=B4=94 wrote: > > > > Hey, > > > > On Sat, Jul 8, 2023 at 12:39=E2=80=AFAM Dong Wei wro= te: > >> > >> > >> > >>> I don't think that's the limitation on RISC-V. BTW, how does OSPM fin= d the > >> > >>> RSDP on ARM systems? Does it meet 5.2.5? > >> > >>> > >> > >> > >> > >> On Arm systems today, the ACPI RSDP is found using the UEFI Configurat= ion Table. This is true for all Arm SystemReady compliant systems: 1) Syste= mReady LS: LBBRv1 is using a minimal UEFI FW to load LinuxBoot, that minima= l UEFI FW is producing the UEFI Configuration Table. We are working on LBBR= v2. LBBRv2 is based on Coreboot loading LinuxBoot. But we do not have a way= today to get CoreBoot to produce this pointer to ACPI RSDP. Arm does not s= upport x86 E820 BIOS interface. 2) SystemReady IR: this solution uses DT ra= ther than ACPI. 3) SystemReady ES: this solution can use UBoot or EDK2, and= it requires ACPI. Since both UBoot and EDK2 support UEFI now, so ACPI RSDP= can be found using the UEFI Configuration Table. 4) SystemReady SR: this s= olution typically uses EDK2 and requires ACPI, so no issue finding RSDP via= UEFI Configuration Table. > > > > Looks like ARM has a similar problem, > > If by =E2=80=9Cproblem=E2=80=9D you mean =E2=80=9Cthere=E2=80=99s only on= e standard that I=E2=80=99m choosing > to not follow=E2=80=9D. > > > Indeed, as Ron said, many companies may encounter this issue. More > > developers are embracing Coreboot. When the platform guided by > > Coreboot requires ACPI support, they are faced with how to pass ACPI > > RSDP to Linux. > > It=E2=80=99s called UEFI. EBBR=E2=80=99s requirements are pretty minimal. > > Please just follow the one standard. Having one standard is good for > compatibility; there needs to be a very good reason beyond =E2=80=9CI don= =E2=80=99t > like the standard=E2=80=9D to introduce a competing one and the fragmenta= tion > that results from it that becomes shared pain for the ecosystem. > Which specification stipulates that all Bootloaders must implement (U)EFI? We approve ACPI's hardware-related description specifications. In the FFI scheme, Coreboot also follows the ACPI specification and realizes the construction of the table. We do not follow (U)EFI and ACPI bindings. Of course, it is best to have specifications, and it is also what we all expect together. According to the actual situation, if the specification is unreasonable, should we optimize it? Please tell me some specific problems brought about by FFI? > Jess > > >> So the ACPI RSDP issue only exist if we want to remove the minimum UEF= I FW and go to CoreBoot completely to load LinuxBoot. We are currently expl= oring how to solve that issue=E2=80=A6 > >> > >> > >> > >> -DW > >> > >> > >> > >> IMPORTANT NOTICE: The contents of this email and any attachments are c= onfidential and may also be privileged. If you are not the intended recipie= nt, please notify the sender immediately and do not disclose the contents t= o any other person, use it for any purpose, or store or copy the informatio= n in any medium. Thank you. > > > > Thanks, > > Yunhui > > Thanks, Yunhui