Received: by 10.223.176.46 with SMTP id f43csp362721wra; Thu, 25 Jan 2018 23:39:25 -0800 (PST) X-Google-Smtp-Source: AH8x2277B+HzMzSla/6YF8SyP2ZrVDbPjQX0llz5S4da7BtI2yVhnvh6vfGU2hTYrtd92RNURKcL X-Received: by 10.101.80.193 with SMTP id s1mr15369377pgp.417.1516952365157; Thu, 25 Jan 2018 23:39:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516952365; cv=none; d=google.com; s=arc-20160816; b=Ik+SHlY4jK4TCiciLjpWLVbTx+RoEiMrjURjG/Q1eGK0NjQra9TbcJ3a/DbUv2DC11 nLO83aJERwJSxu/9wQXxMgEP8AdtLbZdZDkeoHERv4dbld0n5C+d1yZY0k2z6Af399P1 t30wkyADbZNyPjrOgWerQ9Cm0HVGHBT2u7riX/aoTvhYyatee1i065wWiTq2NX0AUyVN LzVJ+4dXZTVj7yuFbmx3r2RCdVfCofyGgHoxCazaSxtvmzngaZ5YBhf0I7MXVFEDeh12 5fTKjp3VvssBaJ7IFOJz56mt8tLz3cIvytg4O2IMQrOcGTyRDo88Xx5/k1a4q6ZblIUm +Zsw== 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=MSWCdP1WNa+vWQGq8xWvD6Fpq+ut1n6ftArsD66Q/Tv5+acyNEkSH4iKOFiSktJ7cX 2L4MU5Hzp3d9EdWdATGrHI7iDtPkxZGEkMmj1ZT2B1gCZXX6lxln6gZ8xMEhsRJbmImB KtAB5U7xRtVmDrA+85xFLmC4ZvB6ivb0Xr0RuZHoNIrCojfPj6Wb8ZMJgJWu4/aupNbr TF2RyCtRqdpcl/1BYEt53vOuxSVxAIJ8v5DIfhO2sJrJRnSRLz9gNmpQifzKqcZfVaj6 0Os4eDNSztqtRD3IBfeClM/vaZ8kgCPGHGU+PBYdoMfFhc42HHh6zxUvvi2hYFrxxyZM diOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XkU7n+vz; 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 n14si2658737pgt.469.2018.01.25.23.39.10; Thu, 25 Jan 2018 23:39:25 -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=XkU7n+vz; 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 S1752096AbeAZHiu (ORCPT + 99 others); Fri, 26 Jan 2018 02:38:50 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39031 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752080AbeAZHir (ORCPT ); Fri, 26 Jan 2018 02:38:47 -0500 Received: by mail-pf0-f195.google.com with SMTP id e11so7751702pff.6 for ; Thu, 25 Jan 2018 23:38:47 -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=XkU7n+vzSwEq/Sn0bYj+PiIogjHOggPBdSVO0nQGAYP70uMXN3ga5U0PmvM91rmhmU JBbwJcmeVPp5oKXlpInmYBtFZirG3n6SUwG7mu9mxqa6OwoZd2a3q5iRUABu2mv50GpO ctW75jQ1rLrtrkcuJUIKSw131keXAegggkc8Q= 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=I27DkX+4l4aOnxodVA+gW9fYl4oGMwQrYqldZ+AUWHCr/BitsojbKDGMccsO2WDGiv pUO2QYCYVkuFkNVOtpDViQng/kWHC4EUWE1a8Ly967wu+jLJHr/ZXiJH4Qvvk43Gh/Ni ndm6PRGX/zWfCDgVUpQ7riwHXl2YeYxLHeiU9aBxi0MU2STKaJ7l6ldBvtkJJ7vh6Gwk dnnRTAeNzsC2yzso3LFUam9/QiqCe/z/KwAoFlG/gvTyN37I/ltzO+j8AREvozitFxZC 8M8eHqbKyTCee4cVk3xjWF3x7sCHFHz0iWR6yaMiuTmc01dn6DfkU+ci+87GTKTDLbVh v0pg== X-Gm-Message-State: AKwxytejq3shPkwIir7eAosZM2+oi2yBPNLizEoDbolKjuShWu0uZfUS UEqTY7zqleTzRs0Spnrn3RvcE1UxrrA= X-Received: by 10.99.184.25 with SMTP id p25mr5985809pge.96.1516952326857; Thu, 25 Jan 2018 23:38:46 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id t22sm17856168pfi.118.2018.01.25.23.38.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 23:38:46 -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 v2 5/5] DT/arm,gic-v3: add collections-reset-on-suspend property Date: Thu, 25 Jan 2018 23:38:35 -0800 Message-Id: <20180126073835.16575-6-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180126073835.16575-1-dbasehore@chromium.org> References: <20180126073835.16575-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