Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp32737784rwd; Fri, 7 Jul 2023 20:55:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlESfueWnh9QftuAk1Ajg8/DsDebYYSwIIrF11g02fkem3eOa6IMcKKY886VylPUSYvuNC50 X-Received: by 2002:aa7:c60c:0:b0:51d:e498:201 with SMTP id h12-20020aa7c60c000000b0051de4980201mr5020736edq.27.1688788546436; Fri, 07 Jul 2023 20:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688788546; cv=none; d=google.com; s=arc-20160816; b=vN56CeJgzItj02IxOXDKE6SLY57LM6WXenQgbEz8YeH9PCjEoGDTom5m0wOGrYx8QV TRxnev+He3aBPuwXb02qA4qhi3OeRpaol6m3lOgdcjAl98FQ/XkJ3r246MHFFBPRrvbc 4KaoKDGwMHtZSjpZUyVEF2PKZExhbx6/iXAC9FJmLjbb/QicLmFqEp6CbHan/IOjBMMs t5q8oUZlG0qa1Syrvdh5wFpu+OgqfcJuEvMF3o8WxAQ3WQbgIXTrKUa1oWCC6hadgSQX SQPeEnQN3xdfXqQzMpxKIVwGMILwlML4iMKg8XCh8W05pnAkrwxInPS206Xc7+aZ8hpS jWmw== 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=jVcl5w2h3dWfxQlDZL0LIXyDZOTXizZNDdgurU3+buU=; fh=BudOvhvkhokykxmUTU7er3GVCGqAD181zaTnTXH/S9Y=; b=m2WMqJrpJseiL+OHkiui5f5UY6YfhVlw7aN/w6z4laeMjdpdeJGOH38OZM1EHoWNbs ioSKTA6IpME+n4c2ZYbcYuH5cx5rQTH4PN99yxynhe8ROlAgQoQO+1H+OKhiBmhrJHbX fWQCE/yp7N9O5x+/nLH2EwRWIkzgrIv8axZO7vzCpOKU1+DSTT/CTWUIgxyEitv6l0ff 13jojaN8F2yEsJfJhtfzgYUmngMSV3OZv8ZzUWWQlhcuFvPQ5oKaqbRN9K6CdKCnphnV ApTQTyncaBrMrRqI+/1v/sMtnRMLJf8MSaM7Se/mNGRgTtFAKHeFEYFMxllIHTYHSY8R fNoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=YgLpkhZD; 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 h18-20020a50ed92000000b0051e0d7a3fc9si2982133edr.37.2023.07.07.20.55.22; Fri, 07 Jul 2023 20:55:46 -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=YgLpkhZD; 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 S230053AbjGHDXP (ORCPT + 99 others); Fri, 7 Jul 2023 23:23:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjGHDXN (ORCPT ); Fri, 7 Jul 2023 23:23:13 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 011B51FD7 for ; Fri, 7 Jul 2023 20:23:10 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3128fcd58f3so2697933f8f.1 for ; Fri, 07 Jul 2023 20:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1688786589; x=1691378589; 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=jVcl5w2h3dWfxQlDZL0LIXyDZOTXizZNDdgurU3+buU=; b=YgLpkhZDqmuma2NsCUCmSNhnrdRc5oCcYqmI6DQU9CbkpN846OoU+pxyfx2ahevaNL 0aMcsIxAQ6DkKB6UwJjNqZVoffATZ5iGkd5OoSwbjszPcepXweZ8cvitXITqVqgFX0y8 CETCMF9b6MxaFALpCfumKoEXp9r21GUIg6nARQFSk76wQgdPNIYFeyp5Nm9UN6e7ZP/w jpHC3kSDsPH2EW8cSwM8TELKrZKPFoZpMUN+ioB3S12ldy0rHevr9mn9Hhc+kUFeW/X7 vaB3QGWCnwM9fTLrrBZGSvgzqBYgitTPUq5fAJarWifVqHPN09ICbi7CpBnZNFdgdmus cz5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688786589; x=1691378589; 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=jVcl5w2h3dWfxQlDZL0LIXyDZOTXizZNDdgurU3+buU=; b=CLDU+eZ3sXmaCFRMu//u+U3rtkwSEeKbOOWkzqNH8EPELc9VAD3yGDsYPELDkxr3yO huif+pDs2Z/NZfahqTxH4hPLzwJoqth45Q7j1hMiw4P5OW935ZkVx4Gqa4I8r14haiaC 8IirK25v8rUE/DblpNE9Nzyp81Awpms5fK+x/5Pf6qiw2c5pWWroOYNngdX38yyyj6Oj RqD+Jaa/owIzCS7QxhfMNAomilpaULSgRPKiS7Cio52+mcdgVvWzDVo6OohT8+aF10Eo EKez3iVI+wep0vAg5mn3efGl8dKZ3NhTLYJIGil9IRSV3RUA0yursKBtZIuhIPFin36Z NZUA== X-Gm-Message-State: ABy/qLaYgAHG6Wzv1PCzSjLhJhF9kXdmPR4Iak7IQatu0jq/6ZZxtItz BV+8c1laLMrHK3VWhaFDoOhzLwD0UjUih5mCR9QLMg== X-Received: by 2002:a5d:4d8e:0:b0:314:3e77:f210 with SMTP id b14-20020a5d4d8e000000b003143e77f210mr5218578wru.59.1688786589423; Fri, 07 Jul 2023 20:23:09 -0700 (PDT) MIME-Version: 1.0 References: <20230707-attach-conjuror-306d967347ce@wendy> <20230707-gargle-enjoyable-f9f7f87fc7ea@spud> In-Reply-To: From: =?UTF-8?B?6L+Q6L6J5bSU?= Date: Sat, 8 Jul 2023 11:22:58 +0800 Message-ID: Subject: Re: [External] Re: [PATCH v3 0/4] Obtain SMBIOS and ACPI entry from FFI To: Dong Wei Cc: Conor Dooley , =?UTF-8?B?6JGb5aOr5bu6?= , Sunil V L , Conor Dooley , ron minnich , Palmer Dabbelt , Ard Biesheuvel , "jrtc27@jrtc27.com" , "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_PASS,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 Hey, On Sat, Jul 8, 2023 at 12:39=E2=80=AFAM Dong Wei wrote: > > > > > I don't think that's the limitation on RISC-V. BTW, how does OSPM find = the > > > RSDP on ARM systems? Does it meet 5.2.5? > > > > > > > On Arm systems today, the ACPI RSDP is found using the UEFI Configuration= Table. This is true for all Arm SystemReady compliant systems: 1) SystemRe= ady LS: LBBRv1 is using a minimal UEFI FW to load LinuxBoot, that minimal U= EFI FW is producing the UEFI Configuration Table. We are working on LBBRv2.= LBBRv2 is based on Coreboot loading LinuxBoot. But we do not have a way to= day to get CoreBoot to produce this pointer to ACPI RSDP. Arm does not supp= ort x86 E820 BIOS interface. 2) SystemReady IR: this solution uses DT rathe= r 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 ca= n be found using the UEFI Configuration Table. 4) SystemReady SR: this solu= tion typically uses EDK2 and requires ACPI, so no issue finding RSDP via UE= FI Configuration Table. Looks like ARM has a similar problem, 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. > > > So the ACPI RSDP issue only exist if we want to remove the minimum UEFI F= W and go to CoreBoot completely to load LinuxBoot. We are currently explori= ng how to solve that issue=E2=80=A6 > > > > -DW > > > > IMPORTANT NOTICE: The contents of this email and any attachments are conf= idential and may also be privileged. If you are not the intended recipient,= please notify the sender immediately and do not disclose the contents to a= ny other person, use it for any purpose, or store or copy the information i= n any medium. Thank you. Thanks, Yunhui