Received: by 10.223.176.5 with SMTP id f5csp1923034wra; Thu, 8 Feb 2018 05:49:20 -0800 (PST) X-Google-Smtp-Source: AH8x226ncTLP+GwMvaxqkOzL7nhfwpegteob0Nlo/+FDWuJkYZZ2ciumT+UfQu2aC7mgPDHQNtv4 X-Received: by 2002:a17:902:8c86:: with SMTP id t6-v6mr720321plo.400.1518097760675; Thu, 08 Feb 2018 05:49:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518097760; cv=none; d=google.com; s=arc-20160816; b=zQ0z9cZ98ZOCJSf9lwITEoTB6Qo6OY7qT64Gq6TkFWG8WK5XyHdNTly57fc90n6Efe RUHUFeFJc5+nAa6mxrgZ9lLAgZytn76AsEkJ/R28yPFe2a3aHutckUkM+snnD3n2F3wU xFCUg+acc6R6VJznbYO278onLVCogUvlHmWCddy7vrscOEEFZq8TX/A4OAo7eL1bTi+a TDEzzbvc5mq9N3Rl4P3EPTyc5SejCh/ZN1c2/jadXhkhzopRIaAgBr8Akriklb6OM/mZ 1KAzsiU+KdYJayYrxJw+KSlXcFIjUTiuKC/PJvcPguA9Ix0vyr1gqPbEKk4Lnh1ZVy/O 0i+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=oguPk9Do+UW46A/0HAtnwSwzqU3u5e3YGqZ8BixGqlM=; b=pEKmVeqX2miQYe4qE4uWr2LgkD7s4EwVyJSJly5znMZxbqYrZ5P0tR0G7Tr9ypDwXO plXEDkpgj3y19TY5sV/l8igLt0CMKrfj8+CTTGVRszg8aw0Z6kf5Mt5g4zYY194yaizG kwQLM3rJiV3dccros/DpD7TvZzLco9lmIe3gSaiwoqN+cy6z7lQD4LJdr6qVGa3LwWX4 EyOOQBdfrmjG16orPExllXbuAXdfjrkWckPA7S0B/cjqA7UljIYngZaKR1cCwGFOyeu9 vY6RpbSBTX9+lxDqXHrNsKYl8BisAFL5Iah7zARVPoNpfutm3N9Xmv/CBGbjvdCnD7uX iFUA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62-v6si10680pld.136.2018.02.08.05.49.06; Thu, 08 Feb 2018 05:49:20 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181AbeBHNq7 (ORCPT + 99 others); Thu, 8 Feb 2018 08:46:59 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35138 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbeBHNq6 (ORCPT ); Thu, 8 Feb 2018 08:46:58 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2F9C61435; Thu, 8 Feb 2018 05:46:58 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3EF6D3F53D; Thu, 8 Feb 2018 05:46:56 -0800 (PST) Date: Thu, 8 Feb 2018 13:46:50 +0000 From: Mark Rutland To: Derek Basehore Cc: linux-kernel@vger.kernel.org, Soby.Mathew@arm.com, sudeep.holla@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, tglx@linutronix.de, briannorris@chromium.org, marc.zyngier@arm.com Subject: Re: [PATCH v6 2/3] DT/arm,gic-v3-its: add reset-on-suspend property Message-ID: <20180208134650.maf72ikwexdsxz2v@lakrids.cambridge.arm.com> References: <20180208023648.89124-1-dbasehore@chromium.org> <20180208023648.89124-3-dbasehore@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180208023648.89124-3-dbasehore@chromium.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 07, 2018 at 06:36:47PM -0800, Derek Basehore wrote: > 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 > --- > Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 3 +++ > 1 file changed, 3 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..a470147d4f14 100644 > --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt > +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt > @@ -78,6 +78,9 @@ 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 state is > + reset on suspend. The state is then saved on suspend and restored on > + resume. The latter sentence reads like a description of SW policy, rather than a description of what the HW does. I don't think that should be here (though it might be worth noting the FW will not restore state). Which state is lost? Is "ITS state" a well-defined term? By suspend do you mean a PSCI_SYSTEM_SUSPEND, or potentially other cases? Thanks, Mark.