From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by mx.groups.io with SMTP id smtpd.web11.11274.1586532568971276046 for ; Fri, 10 Apr 2020 08:29:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@elhajmahmoud-com.20150623.gappssmtp.com header.s=20150623 header.b=wm72bwii; spf=none, err=permanent DNS error (domain: banawan.net, ip: 209.85.222.196, mailfrom: samer@banawan.net) Received: by mail-qk1-f196.google.com with SMTP id g74so2398295qke.13 for ; Fri, 10 Apr 2020 08:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elhajmahmoud-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FqXBh5CK+vyBr7SP1m+ELbqwWAFTgy0N0aEHU98BR/c=; b=wm72bwiiUgDxQzyrYrs/iA9J21tCEfByDPsCDCDOGAH+XlzWZJlMvmC2EXZ0AloLdg uvCxNYrv/JpB8Nepy6xIT3gKt4L2NZ2N8zlVBv7fAAWciQeqTpulBKypTyAsU3Qjhxnu Wd4T8JkCiLm/3+1gSWJM3krJqRRX0DSRZUzYKyn2AJeO+GjMEtDxRSDw5ATQJj+c6tD/ 2aRPpFK6v9461uFl1RPrn+fG8OH9/P/kLKPz3bhRBCy+c8kWFuwSijO2op5IOK3UbbYJ zx7kto2czpAwN2wfosH6fHT0Pr9UZRlC5GvmYB/w4T46S/lsMg/Ef3gMWcamLx3JVbm1 p5pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FqXBh5CK+vyBr7SP1m+ELbqwWAFTgy0N0aEHU98BR/c=; b=SbElfH+/NuiW8kRvVdE723JZgpGvyCjUlnKbXNAnM6n8UvK4ObG1Vj4cEofFqJSmXl 5stnsiHsaI09EJwqalHR7IsoF+Xlw3wYyL4Quw7Fz0epZqYBzFCXKP0wf8qfYDYUtCsT t3YwxAEh1NcT+f0GGpK9R4ZwR1lhj8AgS8HUkzgf43drFEZa2C2WwNYLygdmhdDSAySF PIk/zmB7KUZ8GubNNSt7+RpS/73PWOtSAASfKRLHGx6pFfxXTV9hSDyToQ+LVs3uNv16 H1MAONMVDVlfCBgJ5l0+KIwbkp40y8nNy9tGTGjiEc/mc06EH9IoS+wCbEAckFyTbHLN htcQ== X-Gm-Message-State: AGi0Puat4fEJe92UbCIaZfSAjLabx6d46tJStVys9QCdvzkCdNtgSZRr jTSPzLn4IdvySujR3389mzzq6o9r1b/8gg== X-Google-Smtp-Source: APiQypLVR66q1vMmHWwkaeayp1Z6dfLVZJpuSKWKNMZp5tHMgXd93MSrHsrKvmCAHu5jAcMt/Attfg== X-Received: by 2002:a37:8bc5:: with SMTP id n188mr4663522qkd.415.1586532567907; Fri, 10 Apr 2020 08:29:27 -0700 (PDT) Return-Path: Received: from localhost.localdomain (99-132-126-10.lightspeed.chrlnc.sbcglobal.net. [99.132.126.10]) by smtp.gmail.com with ESMTPSA id x24sm1852541qth.80.2020.04.10.08.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2020 08:29:27 -0700 (PDT) From: "Samer El-Haj-Mahmoud" To: devel@edk2.groups.io Cc: Dandan Bi , Liming Gao , Jian J Wang , Hao A Wu , Leif Lindholm , Ard Biesheuvel Subject: [edk2][PATCH v2 1/2] MdeModulePkg: PcdAcpiExposedTableVersions default for Arm64 platforms Date: Fri, 10 Apr 2020 11:29:24 -0400 Message-Id: <20200410152925.6119-2-samer@elhajmahmoud.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200410152925.6119-1-samer@elhajmahmoud.com> References: <20200410152925.6119-1-samer@elhajmahmoud.com> Set the default value of PcdAcpiExposedTableVersions for Aarch64 platforms to 0x20. Previously, the default was set to 0x3E for all platforms. The new value removes ACPI 1.0b compatability, which forces the use of XSDT 64-bit pointer, as required by Arm SBBR specification. This also resolves an error reported by acpiview command, as seen on the RPi (see https://github.com/pftf/RPi4/issues/25). Cc: Dandan Bi Cc: Liming Gao Cc: Jian J Wang Cc: Hao A Wu Cc: Leif Lindholm Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud Reviewed-by: Ard Biesheuvel Reviewed-by: Dandan Bi --- MdeModulePkg/MdeModulePkg.dec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 497574cb0870..fac16f262cf8 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -1548,6 +1548,9 @@ # @Prompt Console Output Row of Text Setup gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e +[PcdsFixedAtBuild.AARCH64, PcdsPatchableInModule.AARCH64] + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20|UINT32|0x0001004c + [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## UART clock frequency is for the baud rate configuration. # @Prompt Serial Port Clock Rate. -- 2.17.1