From patchwork Tue Dec 12 10:38:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 121502 Delivered-To: patch@linaro.org Received: by 10.80.152.193 with SMTP id j59csp3890613edb; Tue, 12 Dec 2017 02:38:25 -0800 (PST) X-Google-Smtp-Source: ACJfBovxzdwojDek1OcQsL62wC0UBHwYUJuQ7DvH3kRw2MH9zsXTox6O+maW60ctEn78jWP8Eit8 X-Received: by 10.99.180.77 with SMTP id n13mr1647277pgu.317.1513075104937; Tue, 12 Dec 2017 02:38:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513075104; cv=none; d=google.com; s=arc-20160816; b=uFiXAHPCOSJZIuE0jGzX24mj2GhZyvT44K2EGczDQnkK8FcJrJKFukCJ9cmaB8IqgA Q3ox8CnUyb12iR+RVUYnE5vWrOoceSKpIbcCujo3ZvnZNY7lUiJMI3R6/RvH8AvrkS5m KO0VWG0amTMGochMnIypsiSz/MBIIjGGcqK+nffR9aFIAyisvdsGYxWcno0k57ZrMaiM x25CnvDD0RZARexitBNeJCtBRRcV35HQJlqiGMt2TtV4vQRJIws1g+frGQ5zj6DexRXF c3JpoY1bWQaOANmPif7iCzczwz6xg2RzS1U/RUwifLnx2cEJ2DcNjQHd/GghaGN6fk0t 6OLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=x4P0gS8uNKfMAwsdyTpFMydZFN5ODJkhZ0fP0T1Qy5Q=; b=sjjeGDDmMh5xSocr/w8sR1aNv97nCIciNl1xEY9V0/QT3RXoPqcCe3aMR7QdfRph6f ofIe9Ptl6vL9NrtrnhQWojCSo0uD1HsdNiYzKtlEBDLlC01Jo/G4VJMLcO7e3ahnQMYs zg3nXCYsby3e4ZCL5O0JKYfgoPdTVg8WbRnriSJsOKMdetO0ERWT2sf6oEC5p9F5gqCC Qt+tXelau/hB1VyxhNK98F8dUhcxU80QJBudN+UY/gzzOM2IdnvilHXsokzycZh2tGg5 swYsNYolm355CEpq1Emt+9ghrsObNW1r/sROV85+yLVC+Tp0OpdWtVY2GQ4kl+P7FZVw eWUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PXxxdweK; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id o11si11223236pgp.238.2017.12.12.02.38.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 02:38:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PXxxdweK; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id BCB98220EE10F; Tue, 12 Dec 2017 02:33:45 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::243; helo=mail-wr0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::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 3906421B02825 for ; Tue, 12 Dec 2017 02:33:43 -0800 (PST) Received: by mail-wr0-x243.google.com with SMTP id o2so20598044wro.5 for ; Tue, 12 Dec 2017 02:38:21 -0800 (PST) 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=3VswnviTEPXlAq8N1iExsXHH82qIEwaGOOgQ5L8fIt4=; b=PXxxdweK9aGbHya/yDIoFvVIyQbSAPenKCHPUKf+2jIrSG6pMhFsAMOvrjKs3VlGWO azzfGT6YuEY2wx3CyP8PZLUoeeJQ416LbWRGEys7Q/c5P56aKtNZ19TiGbxCL4jy5uPm GIkSlmI95hYgTKtDniRs5ISCNvkf0Eq6fHtug= 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=3VswnviTEPXlAq8N1iExsXHH82qIEwaGOOgQ5L8fIt4=; b=tt6xFNAKVF+zXD3FOQoBZHaKNUne40q2X6EpY6+xOQBSMBmECgk0Jt+z/pCDS1fQ+4 masMbO6/pfmXkF70Qvzeu7JXpaBDg9+n/4zoTJX7CVcFlYY8JXBTtrG7s8EKgOZZN6Xd 9aaIvUscKzEt8fuiNDaUBDYtYUqG0mjVi76EuqeDOgUxz17NhKKBaTEDedQgPgCVJ4IW SN7gHoid0KFjLNCKP/RGjalZ9ucPGPzNXnCxJbTtoHcRBVgtVBskWPd5q768Prrr9HNY NTz82RjNUbpa2bNbbEPKbvPOx7Nniwv2lBTUvFxLQHqOB34LTLpWfh1vJQQ2xKnBddOW yYBg== X-Gm-Message-State: AKGB3mJVDjMqbiOQGmawHkayt5xtg9fydPyNDD/f+GE56Wo63ydWVslL cBsjIjOstb1/YFc/ZYZCZ5UZuodW0gU= X-Received: by 10.223.150.175 with SMTP id u44mr3531195wrb.115.1513075097095; Tue, 12 Dec 2017 02:38:17 -0800 (PST) Received: from localhost.localdomain ([160.171.158.223]) by smtp.gmail.com with ESMTPSA id b16sm21279762wrd.69.2017.12.12.02.38.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 02:38:16 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Dec 2017 10:38:00 +0000 Message-Id: <20171212103807.18836-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171212103807.18836-1-ard.biesheuvel@linaro.org> References: <20171212103807.18836-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 1/8] Silicon/SynQuacer: enable CPU idle states in device tree X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel.thompson@linaro.org, masami.hiramatsu@linaro.org, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" It appears that whatever was preventing us from using CPU idle with PSCI low power states has disappeared, so let's enable the low power states in the DT. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 48 ++++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi index ec784c70afe7..c9fee5d1f350 100644 --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi @@ -47,168 +47,168 @@ compatible = "arm,cortex-a53","arm,armv8"; reg = <0x0>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU1: cpu@1 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x1>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU2: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x100>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU3: cpu@101 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x101>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU4: cpu@200 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x200>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU5: cpu@201 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x201>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU6: cpu@300 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x300>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU7: cpu@301 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x301>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU8: cpu@400 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x400>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU9: cpu@401 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x401>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU10: cpu@500 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x500>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU11: cpu@501 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x501>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU12: cpu@600 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x600>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU13: cpu@601 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x601>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU14: cpu@700 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x700>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU15: cpu@701 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x701>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU16: cpu@800 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x800>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU17: cpu@801 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x801>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU18: cpu@900 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x900>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU19: cpu@901 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0x901>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU20: cpu@a00 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0xa00>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU21: cpu@a01 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0xa01>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU22: cpu@b00 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0xb00>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; CPU23: cpu@b01 { device_type = "cpu"; compatible = "arm,cortex-a53","arm,armv8"; reg = <0xb01>; enable-method = "psci"; - //cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; }; cpu-map {