From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by mx.groups.io with SMTP id smtpd.web10.199.1632350238815845977 for ; Wed, 22 Sep 2021 15:37:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20210112.gappssmtp.com header.s=20210112 header.b=l7OuBiLO; spf=pass (domain: nuviainc.com, ip: 209.85.210.42, mailfrom: rebecca@nuviainc.com) Received: by mail-ot1-f42.google.com with SMTP id g62-20020a9d2dc4000000b0054752cfbc59so114286otb.1 for ; Wed, 22 Sep 2021 15:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HFjGd037lrM7EaEh59exX7LggM89pyh0OHke8rTYzEQ=; b=l7OuBiLOu8hHemPxZS0hpXiJGHoYT7CEXw/xXm0J9YAxhe3GWeSY1M0S773jn3zIU3 LWAnLnvMK29YKIbg58sohXV+ecY3MeIxCT67Jyn7wlOuvTtUgvdEjX1oRp6NmMCgQ0/M UYWqkNNFcpLFiYqrBjYPKqQ+1DlQZOxX86V3MI3oQZ2TMGiNYv0LAr+oTgYD5y4OLucv zBForD/3WfaUMpbZ97yDZ9RvZheanEXonssOnmHAbYLPWVqQJ5uwHxWjNvK5tizFlfEh uxX1SURaSrePtecfLJSsddh5k7jLGxCyWHPrbwpRaNVqxD9BwnvNOHfW0GXfdcwWtGmx szOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HFjGd037lrM7EaEh59exX7LggM89pyh0OHke8rTYzEQ=; b=WvZh+fQhErSN5t5a56WAf1PDBkP4z8Klm2GIc0xk7zcSYe5KW6hbMGwea3RnpJla3p GOZL9Ka4soQ7s9eo/wAmI8a+fABjyqNO7joo/IQ2ZFZMsGkbQP/s/l/rDoKCvzlJ4Sf5 gKv1TU2VSfKYu37Wuq8YAn7senWhkk9T2kCZ+e2xJUyyImfm7CQsUoT78qcMBTGQhmxW rTX9YGIkIqS4HOWl9+xMzyPnCL18/tCfISzXJ97g6fQ9Cx1bG3HD6sEOFoxsbeAoazVh 4M48ZtxApUKt9mykMDMSsMRtfCXE/W19JVE3bukaZCKVNpW054R1CeqdEM18+UI/Xg6D fDfg== X-Gm-Message-State: AOAM530IjDLhV9n+fgn9zPt6K0ezLaqpU8Y6orHM5OatZ/S0maDvl+Z6 MQeOl4mnMpSF34D+eRas86N6dCO/KyjfGn6zuPwHHDHb6pOsZV1KliK65/OrtNfrizWQRP62Lso nYxNuetWuwjE+FhDVxW+Y795/sErT31qMPVgMngNUtuJXHcmj96W+yE89SXrMtVPMdd0GvAao X-Google-Smtp-Source: ABdhPJwlLzM8YQCubZBMvsUQLaCGSge0y6JV2RyIVE8ajZNaS7CiIP0MAIf6Y5ruYg6VRcrEDnYasA== X-Received: by 2002:a9d:7e8c:: with SMTP id m12mr1345458otp.227.1632350237817; Wed, 22 Sep 2021 15:37:17 -0700 (PDT) Return-Path: Received: from linbox.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id 21sm892899oix.1.2021.09.22.15.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 15:37:17 -0700 (PDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Ard Biesheuvel , Leif Lindholm , Graeme Gregory , Radoslaw Biernacki Cc: Rebecca Cran Subject: [PATCH 1/1] Qemu: SbsaQemu: Set the DSDT revision value to 2 to use 64-bit math Date: Wed, 22 Sep 2021 16:37:09 -0600 Message-Id: <20210922223709.15665-1-rebecca@nuviainc.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Set the DSDT revision value to 2 by using the define from Acpi60.h EFI_ACPI_6_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION. This causes the AML interpreter to use full 64-bit integers and math. Signed-off-by: Rebecca Cran --- Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl b/Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl index e056d6cdb02e..1bf9fbb99e75 100644 --- a/Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl +++ b/Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl @@ -6,6 +6,7 @@ * SPDX-License-Identifier: BSD-2-Clause-Patent **/ +#include #include #define LINK_DEVICE(Uid, LinkName, Irq) \ @@ -25,8 +26,9 @@ Address, Pin, Link, Zero \ } -DefinitionBlock ("DsdtTable.aml", "DSDT", 1, "LINARO", "SBSAQEMU", - FixedPcdGet32 (PcdAcpiDefaultOemRevision)) { +DefinitionBlock ("DsdtTable.aml", "DSDT", + EFI_ACPI_6_0_DIFFERENTIATED_SYSTEM_DESCRIPTION_TABLE_REVISION, + "LINARO", "SBSAQEMU", FixedPcdGet32 (PcdAcpiDefaultOemRevision)) { Scope (_SB) { // UART PL011 Device (COM0) { -- 2.31.1