From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web11.2287.1616182885950156055 for ; Fri, 19 Mar 2021 12:41:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ty/97mTs; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616182885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CmjXBnNfrsbcMVQJ8HpXhym+tZGXP9IAM7+FXQA0764=; b=Ty/97mTsOLeREZYHZT+rp90Ok5BaZk3SwU9IaYBtxIpQS331FXPcPe3tDkKwblszS7Z2gn 2A+gcVcVo8sYrBCLnfH38qO5gXaUgm8Pndx82MVqrGojcAWB9t7Hlkc24wcu97oCenBVs5 Fs2lHSUiumNktrPmg/nAddATpu7K8Vc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-427-g02gw5a6OV-U0u9hG_WYFA-1; Fri, 19 Mar 2021 15:41:14 -0400 X-MC-Unique: g02gw5a6OV-U0u9hG_WYFA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3427D81622; Fri, 19 Mar 2021 19:41:13 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-31.ams2.redhat.com [10.36.114.31]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6369E5C1BB; Fri, 19 Mar 2021 19:41:11 +0000 (UTC) Subject: Re: [edk2-devel] Is there an ACPI solution for ARM (or other) platforms that don't have DRAM under 4 GiB? To: devel@edk2.groups.io, afish@apple.com References: <814F375B-BF55-44E3-8E11-8C322ACA26C6@apple.com> From: "Laszlo Ersek" Cc: "Ard Biesheuvel (TianoCore)" Message-ID: Date: Fri, 19 Mar 2021 20:41:10 +0100 MIME-Version: 1.0 In-Reply-To: <814F375B-BF55-44E3-8E11-8C322ACA26C6@apple.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit adding Ard, comment below On 03/19/21 02:47, Andrew Fish via groups.io wrote: > Some one was asking me this question and I did not know the answer? > It looks like the stock ACPI stack needs memory under 4 GiB to fill > in 32-bits as it was the 1990’s when that got written down. Is there > support on TianoCore to implement ACPI on a platform that does not > have memory < 4 GiB in its address map? Yes, I think so. The most relevant commits seem to be: f9bbb8d9c3f0 MdeModulePkg: AcpiTableDxe: make 4 GB table allocation limit optional f859c6796f40 MdeModulePkg/AcpiTableDxe: consider version mask when removing tables 09da11081915 MdeModulePkg/BootGraphicsResourceTableDxe: don't allocate below 4 GB 0e0ae47da6bd MdeModulePkg/AcpiTableDxe: use pool allocations when possible cf299745ae66 MdeModulePkg/AcpiTableDxe: use pool allocation for RSDT/XSDT if possible 8ead7af22bc5 MdeModulePkg/AcpiTableDxe: use pool allocation for RSDP if possible This should be possible to control through PcdAcpiExposedTableVersions. Thanks Laszlo