From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web10.733.1603381819534518124 for ; Thu, 22 Oct 2020 08:50:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviateam.com header.s=google header.b=eSwxATD1; spf=pass (domain: nuviateam.com, ip: 209.85.221.49, mailfrom: tomas@nuviateam.com) Received: by mail-wr1-f49.google.com with SMTP id n18so3041076wrs.5 for ; Thu, 22 Oct 2020 08:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviateam.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k4lvqgsRNG5BrKf4suvCR74oQKi3Op9Vq3WVwH1YOF4=; b=eSwxATD1H/RKt/ZeqhQ3DLmK+4VxgcUwZ5FiYkxvcsLLky43pqpqS7OnoOgqknAFSU kV3ZNTyyID2SjvakpGJsy0+ZmdYbpcIeDW04UwBZ/BxyqHLvMwVW0W9coGNVM0ykOhuO /yfAUDg62yprlfmYpF106iLZ58aPRVKILapEt1CmzPHTHjxL1jfGfiQRAGxlAntUFnFS QtqXKIaBaez+M2wiQ4R0+JZQo8y1cDtnHHRaRcnHNj+Ns3vm/msJQxW6XMvYeXPug2Jl 7L2lku15djiYCOKWmOjSME6nxR72do9QBkPrFLTKrjwd+ZtAdT3jm2Ks2OWAD9YGoHgG f0uQ== 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:mime-version :content-transfer-encoding; bh=k4lvqgsRNG5BrKf4suvCR74oQKi3Op9Vq3WVwH1YOF4=; b=h+RT/BSCl+fpU5GP+Bx/DBpxaQJBIH0PIGvDMrurXFVwA/XrhCd4NwWyvFiyoLY2i9 t7qpeptTfACrqwUFgfvPiR+hdaCI2DGAJb+kld+VSnoMQUkncf5QDsDgHBW1PUHbfRvN FIsErBD4PhJIUq6Ab9zheKzukxoekvIQFtQU2tXdhA9DguNV3IJKYuTZJRDD/ItaFItg JhmIzg697V2bRdouMd/ifjQMf6r/R27pGPzaPa5Rky2SN/N59czF+g3p1g+ohDg03Y5m Efsb5kkICdU1Yte5U5iUOnHB6UGeJKcge1rq7mfnYUBqRzmIEk8CxmZIJtZEnZJFvVjq D3Lg== X-Gm-Message-State: AOAM531+dB/ad14xGa+A/PqYo4Z1zDir1KaYoEMzwzNNNR5Ia1KV0KMn NcPEveO+UvsQ+Q/0SY69+clRkqVlv/DqTC6L X-Google-Smtp-Source: ABdhPJxqxQPVSfGKdmvwc+wqZEz1EaLh9RizFp1zI4uWqxzp4+mEtAEMe4ze/0vNx+LldHRd/a06Dw== X-Received: by 2002:adf:f48c:: with SMTP id l12mr3635423wro.77.1603381817761; Thu, 22 Oct 2020 08:50:17 -0700 (PDT) Return-Path: Received: from white-rabbit.sw.nuviainc.com ([2.30.51.167]) by smtp.gmail.com with ESMTPSA id 133sm4377342wmb.2.2020.10.22.08.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2020 08:50:17 -0700 (PDT) From: "Tomas Pilar (tpilar)" To: devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Tanmay Jagdale Subject: [edk2-platform][PATCH 0/3] Silicon/Qemu: Use PCDs in AcpiTables.inf Date: Thu, 22 Oct 2020 16:50:13 +0100 Message-Id: <20201022155016.228362-1-tomas@nuviateam.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The AcpiTable.inf library provides basic ACPI tables for the SbsaQemu platform. This platform aims to be the standard SBSA compliant platform. This patchset generalises the AcpiTables library using the information provided by PCDs rather than hardcoded values. This extends the use of the library to other platforms that can redefine the PCDs without having to fork the library and change the hardcoded values. Additional PCDs describing the upper limits of various memory map windows are defined as the limits are required by the ACPI tables and ASL syntax precludes doing the arithmetic at the compile time. Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Tanmay Jagdale Signed-off-by: Tomas Pilar -- Tomas Pilar (3): Silicon/Qemu: Renumber Dynamic PCDs to leave a gap Platform,Silicon/Qemu: Define PcdPcie*Limit variables Silicon/Qemu: Use PCDs to AcpiTables lib Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 6 ++ .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 29 ++++++++++ Silicon/Qemu/SbsaQemu/AcpiTables/Dbg2.aslc | 6 +- Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl | 58 ++++++++++--------- Silicon/Qemu/SbsaQemu/AcpiTables/Mcfg.aslc | 6 +- Silicon/Qemu/SbsaQemu/AcpiTables/Spcr.aslc | 2 +- .../Include/IndustryStandard/SbsaQemuAcpi.h | 6 -- Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 15 ++++- 8 files changed, 87 insertions(+), 41 deletions(-) -- 2.25.1