Received: by 10.223.176.5 with SMTP id f5csp3652616wra; Mon, 29 Jan 2018 17:01:17 -0800 (PST) X-Google-Smtp-Source: AH8x224JAiaqqxstccxMzYGC77UFWkJI/mQoEhE/j5zDw7h0Zwqu1aBvSL101iSIvOCpwub1fgI/ X-Received: by 10.98.137.75 with SMTP id v72mr28795674pfd.189.1517274077022; Mon, 29 Jan 2018 17:01:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517274076; cv=none; d=google.com; s=arc-20160816; b=zMZ8ahtF3ymDkmd3W/IIOiqCeCwGcF8raT3Fdu5lLH/YzTgNCS0knHKlD7OEswKW4l dLyrshapJL/74qQgGAexCD76hTfABxPI+1IG59AFBpYe7A9FIOpRr2hTKz27ThyFv+Hj HVU74BMEIo8h3K83Y0F0r7TRKAWY2EkfXHK0r+EpdeGcSMoQp3c5xpqXHNccqPfP1jhi 13R0mT1u7FkusG7A9cium60UUhPr50S4na70+j9cKmgcRCUP3ypZQGxpAH3IwDurGcqt KztwTbbvJ7A+gD2V1q45YpDYZcrwSUdT+HtYs72+Onpt/2JhZPeq8tAKyZX9MQZzioG/ lfSw== 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=1BICc3jG5O0x7yNIgjgkMk4FRwCaILyr3bL3tJCw/MqU5uy0ihb+mZjb7+6l0J4Rlh aHMm+yUiiLobI3M4kIHJXZXuxtQOxNuYby+9UKlINwjL7Rp7e+sbWr0PoJIwqmA0/lZv /CV8f/2fAhgAgZzUtTMtdb9QJgMFK87KOOEycFCU/rrqloAwLOzbBbawXroBj1RabUNY JQ4yXEv21+pkoo0FPt8k28JOG0Imc97jAjlnv4a6nNjW309dNigAdc3ZdK2Ni3Vr1W6U CYKipKJ6k8Ci3iZPlO5CWA2h6qKmRqb+UzWjVzzIUGf07wlDV33A3FaqD7qy07Ha2eaV 3ERQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NtD8iQqi; 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 t5-v6si381127plo.662.2018.01.29.17.01.02; Mon, 29 Jan 2018 17:01:16 -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=NtD8iQqi; 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 S1752511AbeA3BA0 (ORCPT + 99 others); Mon, 29 Jan 2018 20:00:26 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:43612 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752405AbeA3BAX (ORCPT ); Mon, 29 Jan 2018 20:00:23 -0500 Received: by mail-pf0-f194.google.com with SMTP id y26so7068430pfi.10 for ; Mon, 29 Jan 2018 17:00:23 -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=NtD8iQqiuLeeXtMT3jvIUna+Nl1h78pg7wcBpdWjg/VeIg2j75X/H6WTEq/HwDGSte LmIRcXReeU5ZJIU/uJIvukpV/Td8KYtzPj+IlWj9HDwsG1tzVBkSkKMnQ+Jt+853jszF BIHKeboWxc/peHuCLsn/r53k8mjMadJkbtcAE= 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=Y460iuP2lGmZokez5HLLQC5hVLayIM6pD4SvwwwXjEE2fVNxJxA9xscIkOvG/Px0yX 2M3BT7DhPkIZGlXdbCP9B5Iev+ZXKmOU0MW8labpRv+b7N45dH2H0/k2AFA7okwpi+LZ eEy2pEIicRHQcYf0ff7OJPOms7GceqazaDtc+EFEz6jFJTfM3KNI0VJ1Vg8wx6LE+AnU WY81xhwKoZGavIQ2PXr0FfgIvR7D2xVQ+rS6Qi4M7xzjTQFHGO6p25lKGuIOF7GCDsl3 GYnuMqsSqM6lW/4a+Km3bTxTCfzLxRN0E+w6DhO6B5UbunJnNmzeQQimrTokvcM+wc0R 3zAQ== X-Gm-Message-State: AKwxytdCD+9dqFuYa6dAtsAn5boUoNy5OE4G5f24opgbE/MD1qtmJBnv S3qpzkStJglJE6Bm+otl8deI4lTbaXw= X-Received: by 10.99.120.8 with SMTP id t8mr13956787pgc.371.1517274022356; Mon, 29 Jan 2018 17:00:22 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id c29sm36477492pfd.172.2018.01.29.17.00.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 17:00:21 -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 v3 5/5] DT/arm,gic-v3: add collections-reset-on-suspend property Date: Mon, 29 Jan 2018 17:00:07 -0800 Message-Id: <20180130010007.256564-6-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog In-Reply-To: <20180130010007.256564-1-dbasehore@chromium.org> References: <20180130010007.256564-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