From patchwork Sat Feb 3 01:24:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10198265 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 36B1960600 for ; Sat, 3 Feb 2018 01:25:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29A4928FC4 for ; Sat, 3 Feb 2018 01:25:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B97128FC9; Sat, 3 Feb 2018 01:25:18 +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 A7F1C28FC6 for ; Sat, 3 Feb 2018 01:25:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752644AbeBCBZO (ORCPT ); Fri, 2 Feb 2018 20:25:14 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:40081 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574AbeBCBZC (ORCPT ); Fri, 2 Feb 2018 20:25:02 -0500 Received: by mail-pf0-f196.google.com with SMTP id a14so4503023pfi.7 for ; Fri, 02 Feb 2018 17:25:02 -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=RWu8XvIZNgh5dBYOmf90vSGCY/YXAeUVXYp7dGPNHxk=; b=fcraG9mO8IpqhFb9Qng3xLhAnnj1/FLoJcTFT9oJON1kpPvCiDw2lV9sfmftz8sfMG cFwU1NJyvZko2R4Ala7xpphRYw73g/HdGPgDVdyhjFe0wQfemdjS6oJpg7vJad3HV/R2 BI9/O5ZnuVupES0JF+Ww9phy2ZNVav5H6KTPE= 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=RWu8XvIZNgh5dBYOmf90vSGCY/YXAeUVXYp7dGPNHxk=; b=RJRtRN5Ih1TtpTzkwvk9/3BL6ytPBp/lPVeF4voDYSZsO7PF7dII+F1RQJ1ARDnrii KLdNTHixYIBptJ0xrpE4u1yeOe/YTq9ZPbSnKw2lckXvnP9o8a6VmoQzt2UGhf7QgoNh BlyGyk3+yGSt4K1p/5GubBKm5GSY2/vq+t2IKgLfYGlhvRaa9I3hLrdCX7BBR6RjMtU6 pF3OE+RsoBSIJumDejbbwKpoDlfH2Sow1xElfjPda9GF3LJys4HMPVNOhuMTj/KKdj7C +nCo7RGWu2TSB35aV6RikMtAx9RS8jxQW7HUIItM98RK/8FfYL2uPLsPjKBYngbx6PDT pMRA== X-Gm-Message-State: AKwxytcTUjmM+F5syqnWAtnkwpc0PedAVFF3q9fAaPq9bEP8qTwP9KL5 btQFYq/S+6UPrqjmbcjnLnYL+w== X-Google-Smtp-Source: AH8x227UM7i3555WCFplO7X/CK5qNmXmNRgd3YiU9VkAL0MlYfFSWc5qp2uIeKDu/45nUjaXSODx9w== X-Received: by 10.99.158.17 with SMTP id s17mr1599590pgd.64.1517621102224; Fri, 02 Feb 2018 17:25:02 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id x124sm5332917pfx.105.2018.02.02.17.25.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 17:25:01 -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 v4 5/5] DT/arm, gic-v3: add collections-reset-on-suspend property Date: Fri, 2 Feb 2018 17:24:50 -0800 Message-Id: <20180203012450.18378-6-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180203012450.18378-1-dbasehore@chromium.org> References: <20180203012450.18378-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 boolean property for the GIC-V3-ITS enables resending the MAP COLLECTIONS commands when resuming for when the state is reset on suspend. Signed-off-by: Derek Basehore --- Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt index a470147d4f14..adb958e046d2 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -81,6 +81,10 @@ Optional: - reset-on-suspend: Boolean property. Indicates that the ITS state is reset on suspend. The state is then saved on suspend and restored on resume. +- collections-reset-on-suspend : Boolean property. If the collections for the + ITS are stored internally instead of externally, the state will be lost if the + GIC loses power. Setting this enables the kernel to reset the collections + state on resume for this ITS node. The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS