From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6BF612096DCE6 for ; Thu, 31 May 2018 03:46:43 -0700 (PDT) Received: by mail-wm0-x243.google.com with SMTP id a67-v6so52962578wmf.3 for ; Thu, 31 May 2018 03:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TYHyKOLrirq1mVAotgybp0zmOZNO1TCegdodK6gWrQM=; b=JNK8Nc5E8V8wVUoKRCE8wKBWipy6iM7kOfvWIjY0wpzRr4pwlxHnPWI6amCplZ2JeL EyXxTyLz1kePcffjIh4BIlf2zW7F5hMRo9y7AG/3djsNwKwVC7nv0je3r/MRwILZ0oeD hiMOukcOc7QJLDG2ao7PSWUbBDndvojIZkZzM= 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=TYHyKOLrirq1mVAotgybp0zmOZNO1TCegdodK6gWrQM=; b=SiZsFILsElNhp2e84TsdY9XnLn4hBs6iXY1Uopd7Mvz3Mo1XtbX9SZzJ7RogYmR4tq XLJ6yP4RQn6diaMeMrv14ynVS8G+41riL9gtDVT/HIBz/V3eOEnnI6sDGzIKY8TQmz5B CWSY/skkmsL4ETmz+uxwNHc1NFi98O9pymmirPRufEl1BZhPRsWYQVG8V8Td4fQNm8vv Y54hQX2vt5VQMuEqnJ6TS+dKyOA/ROYJLPDpXZLi8uKFl7p5Q97Q9C0FKnAHx2qW5WQu 4AtQFavekG06tk2cJrQGKe5cpOjmQD9l6d5RYMbJHJs6zRu1HJVRH08VFzuXdYcHlriR TAXQ== X-Gm-Message-State: ALKqPwfqUtByYhFMBHIvKOdz6Q0BsI/FFXVj3BW45876nVIVEzVEw9y/ 1xGh6+vOVV6U2zJCskUgH6X3Pa377+s= X-Google-Smtp-Source: ADUXVKIjzNZScOakms6NN8leXXj67SWDzXjrnSTz/ETwmMt4pubyqQ2kmirfhSZsTZEbl0n+TbJdkg== X-Received: by 2002:a1c:7401:: with SMTP id p1-v6mr3889317wmc.14.1527763601796; Thu, 31 May 2018 03:46:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id 19-v6sm48393614wrz.7.2018.05.31.03.46.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 03:46:41 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, graeme.gregory@linaro.org, Ard Biesheuvel Date: Thu, 31 May 2018 12:46:34 +0200 Message-Id: <20180531104634.23215-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531104634.23215-1-ard.biesheuvel@linaro.org> References: <20180531104634.23215-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-platforms 2/2] Platform/DeveloperBox: enable FPDT table X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 10:46:43 -0000 Enable runtime generation of the ACPI FPDT table, which contains some performance data regarding how much time was spent in the various boot phases. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 2 ++ Platform/Socionext/DeveloperBox/DeveloperBox.fdf | 1 + Silicon/Socionext/SynQuacer/Acpi.dsc.inc | 6 ++++++ 3 files changed, 9 insertions(+) diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc index 1d501e89290d..ed2404006799 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -190,6 +190,7 @@ [LibraryClasses.common.DXE_DRIVER] NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf [LibraryClasses.common.UEFI_DRIVER] + PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf [LibraryClasses.common.UEFI_APPLICATION] @@ -215,6 +216,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] !if $(TARGET) != RELEASE DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf !endif + PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf ################################################################################ diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf index b8a4a1955674..42bcbf2f9452 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.fdf +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.fdf @@ -261,6 +261,7 @@ [FV.FvMain] # INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + INF MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf INF RuleOverride = ACPITABLE Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf # diff --git a/Silicon/Socionext/SynQuacer/Acpi.dsc.inc b/Silicon/Socionext/SynQuacer/Acpi.dsc.inc index 73a5ea40e313..2fcde7dba905 100644 --- a/Silicon/Socionext/SynQuacer/Acpi.dsc.inc +++ b/Silicon/Socionext/SynQuacer/Acpi.dsc.inc @@ -45,4 +45,10 @@ [Components.common] gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20 } MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf + MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf { + + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwarePerformanceDataTableS3Support|FALSE + + LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf + } Silicon/Socionext/SynQuacer/AcpiTables/AcpiTables.inf -- 2.17.0