From patchwork Thu Mar 1 05:48:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10250411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5D871602B5 for ; Thu, 1 Mar 2018 05:48:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E36228F10 for ; Thu, 1 Mar 2018 05:48:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4293828F12; Thu, 1 Mar 2018 05:48:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B869B28F10 for ; Thu, 1 Mar 2018 05:48:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966141AbeCAFsj (ORCPT ); Thu, 1 Mar 2018 00:48:39 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:45899 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966138AbeCAFs3 (ORCPT ); Thu, 1 Mar 2018 00:48:29 -0500 Received: by mail-pl0-f66.google.com with SMTP id v9-v6so3053419plp.12 for ; Wed, 28 Feb 2018 21:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XtDdvC05Ye1SapDNRpGEWq+STnexP8hOZujuSzkUspk=; b=Tkf47j5gPOPsfi7/LY0G0ESHV+0gOhUsHqQUa0+K4Pklqa8iRVnyMkP9tqqGClZ5on 9HkNgFcqnmiZdrm+d5Tj6OIX8UI4lYLwhX1kBs9zSJ4GHMbmTO2fXmxImjezZeXXqgjv Og/kGsK8A26ES1FKHrOicwL7YFeCMskD4fIro= 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=XtDdvC05Ye1SapDNRpGEWq+STnexP8hOZujuSzkUspk=; b=fAHRjy7yrzFdRsYGuO2LdvM15DmtxuuXtxFC3p5VZNExhafZM2jmgfzCYR/Y5YqFpS dM84tm0Hsdvwolq0aXWFuXOOt6EdT2cIY/IKqQB/6eCVVBt82uBlFxpp0cV8D4FB+reR X+TP4+t4//ysif6t9nrvgYJUy3+N4sqA2ozQF7chwzai7cvuYRqwbP9LZlxY87EF3dxt ljT0IKRUxUjXCLUArx9rYpx0A3RA5euX2lTb4aKlbNzi82nxtWcBeKrmjGWAu+cjJ6Z+ i+P4hexkmGFkclYLgSqQsDOf8BB4OuOfpe41LPNr0tKTi9X7/Io//JmxTd2+vtu6Ntuc h/2g== X-Gm-Message-State: APf1xPCL6Ssl7xLwnKL0x4cY0v8VS9E8hM4YXOqHEo9tj7eAYHOK9hIQ MfxZ+yxzJuobkjQn7sIYLQe0Kw== X-Google-Smtp-Source: AG47ELu3b6WB3PXZJb8Jb3SeK6VGFetXX3N4kEnwdAEiQNoZN2KU/mLQWX8bv8G+GbRnL3FX4pvc1Q== X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr765858pla.403.1519883308765; Wed, 28 Feb 2018 21:48:28 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1501:f407:8d12:c205:7153]) by smtp.gmail.com with ESMTPSA id 184sm6194674pfg.125.2018.02.28.21.48.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 21:48:28 -0800 (PST) From: Derek Basehore To: linux-kernel@vger.kernel.org Cc: Soby.Mathew@arm.com, sudeep.holla@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, tglx@linutronix.de, briannorris@chromium.org, marc.zyngier@arm.com, Derek Basehore Subject: [PATCH v7 2/3] DT/arm,gic-v3-its: add reset-on-suspend property Date: Wed, 28 Feb 2018 21:48:19 -0800 Message-Id: <20180301054820.42847-3-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.2.395.g2e18187dfd-goog In-Reply-To: <20180301054820.42847-1-dbasehore@chromium.org> References: <20180301054820.42847-1-dbasehore@chromium.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds documentation for the new reset-on-suspend property. This property enables saving and restoring the ITS for when it loses state in system suspend. Signed-off-by: Derek Basehore --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt index 0a57f2f4167d..dfd1b9b838cd 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -78,6 +78,11 @@ These nodes must have the following properties: Optional: - socionext,synquacer-pre-its: (u32, u32) tuple describing the untranslated address and size of the pre-ITS window. +- reset-on-suspend: Boolean property. Indicates that the ITS loses power + on suspend to memory (via PSCI_SYSTEM_SUSPEND). Registers and data within + the ITS will be the same as before probe (PSCI FW does not restore state). + Any state stored in external memory is maintained (such as collection + tables stored in external memory). The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS