Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp907079rwb; Wed, 9 Nov 2022 10:04:11 -0800 (PST) X-Google-Smtp-Source: AMsMyM77jN87+4XgmXxK80VVmK97ioJ7LN3C7zUzpgHowU0622ZnZRREB2uWENrjs8TV8CkA8JXC X-Received: by 2002:a17:90b:3144:b0:215:db2e:bc6e with SMTP id ip4-20020a17090b314400b00215db2ebc6emr38678442pjb.12.1668017051493; Wed, 09 Nov 2022 10:04:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668017051; cv=none; d=google.com; s=arc-20160816; b=w4LISEulefMG1LCQb8hiGpiHWmGh+QIID847wIQ4XoPlxYSPntQSFXbapl9NT9Eutt 6JA3DYF8gt7BKPWC8b9NvRcO6VJ/7Bq0zFDVW4ggslsx9vDfoMtg9xdDQpDzbtAXc5JA E9kLZLbflcOjxh+ZWb0xfqnivHzWWF/ogKhgwCi2zMzsZABYwKfz6fJETVql57AGZgwi 36MbzXS9Q0j5mFTAagswWNOa0IMHHFvTF0aR9iWA5jFbfgd7M1hlpM3m7rzguNVo6FB2 /i+a4BuQ2/ciDQjxPr+l6wg7Hab34lIHWQFqiOgrqk9zHWIVp/7Csc5yfJXgwKI63mem 1CjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Q+c3+b7sD2lr9W2XOO2bMnLUcOzAGV+CDtRXjWA83lU=; b=SbFPyL7ehwoDtfKPu9S2YGxCCnNX+mqSl3mhKNNTfvoFJYGYwISM4UlCavBnTtyq8H JQoOZBOXiVnVWXqOjWjqTCJxK1Ep8xfi/xPFNuFSL3KflxR4fIgEgiEDjd88Vka3v4Ok GYj5X+MiiHqpQ1fsew0rooxh0oj1DXfa72DKr4SgkNZQDY1jMzyzQkJQHVDmv9xJRA+C ja6a+r1Ht9Q85HwGomHXvla3MkIiVVdBF4/lQ/wB61QMrkwbQS0WltWsz5z6gK2KbE1l SFW+OMkHvmerrIyk5a81OYiUa48GLLVtp5wJ12H02R1Ip5Ep/W2NufJOXsfHvbFUeiIu iIvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 22-20020a631756000000b0047059dd37b0si15312516pgx.652.2022.11.09.10.03.58; Wed, 09 Nov 2022 10:04:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231961AbiKIRsE (ORCPT + 92 others); Wed, 9 Nov 2022 12:48:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231322AbiKIRrr (ORCPT ); Wed, 9 Nov 2022 12:47:47 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D445E70; Wed, 9 Nov 2022 09:47:32 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 98B911FB; Wed, 9 Nov 2022 09:47:36 -0800 (PST) Received: from u200856.usa.arm.com (U203867.austin.arm.com [10.118.30.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C25BD3F703; Wed, 9 Nov 2022 09:47:26 -0800 (PST) From: Jeremy Linton To: linux-acpi@vger.kernel.org Cc: catalin.marinas@arm.com, will@kernel.org, corbet@lwn.net, rafael@kernel.org, lenb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jeremy Linton Subject: [PATCH] ACPI: Enable FPDT on arm64 Date: Wed, 9 Nov 2022 11:47:20 -0600 Message-Id: <20221109174720.203723-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FPDT provides some boot timing records useful for analyzing parts of the UEFI boot stack. Given the existing code works on arm64, and allows reading the values without utilizing /dev/mem it seems like a good idea to turn it on. Signed-off-by: Jeremy Linton --- Documentation/arm64/acpi_object_usage.rst | 2 +- drivers/acpi/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/arm64/acpi_object_usage.rst b/Documentation/arm64/acpi_object_usage.rst index 0609da73970b..484ef9676653 100644 --- a/Documentation/arm64/acpi_object_usage.rst +++ b/Documentation/arm64/acpi_object_usage.rst @@ -163,7 +163,7 @@ FPDT Section 5.2.23 (signature == "FPDT") **Firmware Performance Data Table** - Optional, not currently supported. + Optional, useful for boot performance profiling. GTDT Section 5.2.24 (signature == "GTDT") diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 473241b5193f..1cc11d2a2a88 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -90,7 +90,7 @@ config ACPI_SPCR_TABLE config ACPI_FPDT bool "ACPI Firmware Performance Data Table (FPDT) support" - depends on X86_64 + depends on X86_64 || ARM64 help Enable support for the Firmware Performance Data Table (FPDT). This table provides information on the timing of the system -- 2.38.1