Received: by 10.223.176.5 with SMTP id f5csp93545wra; Fri, 2 Feb 2018 17:33:46 -0800 (PST) X-Google-Smtp-Source: AH8x227ktPySIAbnpX8nnFgr3FpZHAgdK3745Z07ViSXMYb7582LXlwQiaV1YIYVqiHQX7kv933X X-Received: by 2002:a17:902:3225:: with SMTP id y34-v6mr36322819plb.399.1517621626410; Fri, 02 Feb 2018 17:33:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517621626; cv=none; d=google.com; s=arc-20160816; b=i3hIe65VWb0Mt+CrfYpQr06KMFMbEDj5A9VyEZyO8P/6LdOuTcXK4GKbkRJuDLG1A1 lWM9TB1l3J028TKWuyCLaGWuN3T3dUOsbyzsClKW/z4jKjdpyeRJ9Yo+K0Muf6CfWrPK nGKtxr/COnxQf87woaN7HGEPAeAlAFLXXkSxTL4kSUeZXkYSWmnvFe8LImV1cQjbIvKa q3o4ff7cQxbRYBdqBgooMgv+e0DFu0/7i1e59TO3DeS+2T+W3DO51Uoj3t53FGhnOGJj 7cPGib+HLscqRBbX2U6RSPM8D+VPMuOnf8VyHUiMpwuoq5pGiSALfMzEE1nUK9w5F5WO YFQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=RWu8XvIZNgh5dBYOmf90vSGCY/YXAeUVXYp7dGPNHxk=; b=UNt/dN32xMrOhOzdVf3guQHDAmNJ4KKGstGpmIsOJrzwhRWk9XY1N3ygAwCS8vDL1K 4GSxFfVZFZkQQuKl9WeuyMtie6kPQfw6BJBbnuOUMavcg7c8MuZf74AZv1I458Xg5y6b klpSgJ2QOK6xAnMi6rEVhvZ/pAovDs1ZIRptIj7fEDqWA+03g+f9LTRnH0tSii72uWPA WXC/hXScrAYyfYR4VIglYcm2qxifLLouPDjHuWNrrGd2Y9NYh2F5ws6rfGbGQ0Q3JCzn sMqBoIIf66LZOKjhQwn5vMPaeEGj3GJeJlsDTCc4AcpTABsFbbPOPXZguYwPhlaP1I5C ba3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fcraG9mO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c20si2772055pfk.415.2018.02.02.17.33.31; Fri, 02 Feb 2018 17:33:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fcraG9mO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752826AbeBCBZ5 (ORCPT + 99 others); Fri, 2 Feb 2018 20:25:57 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:46514 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbeBCBZD (ORCPT ); Fri, 2 Feb 2018 20:25:03 -0500 Received: by mail-pf0-f193.google.com with SMTP id w69so4710183pfd.13 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=aHvUHBXvKuFUMXHS69+rwl/hago63dpKTg2NGuJaughPAJf4HBE3DwP9zxVB4qryFt PIt5vjllmOx2ElKE4BORxzBLDGlpxjwGRHTaGECUNkku7vXHwnVmV0mb4F+3u5Y4SJ3J 91trG72qM/C4mTqbuGCUZLISaDwxABQjqt/DnlyCle2ybUj8jNmDvIy0eqrEmaTx2ehB KSdzxgp5wuh+avUB9gQ3htaizE/QfJqM5aAWXzMnl8EPjh0VrZJwedo3S7YlTHGZjX8f zDAgA0ggBHV9AdPfkc56PoqxpNKtnfhdbPKErAqoldtERysgRHZ5R5yf3CGnsd6HgIPz XPqg== X-Gm-Message-State: AKwxytcmeQ7R5vv5IyW7la2WWCnI1m94wFSe/isw9lU8I1UiRRDOTc7O 3+TuX6LejyNvtbep8Gx20iTgistcxWg= 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.16.0.rc1.238.g530d649a79-goog