Received: by 10.223.176.5 with SMTP id f5csp421755wra; Wed, 7 Feb 2018 01:23:39 -0800 (PST) X-Google-Smtp-Source: AH8x226gi//hH2pTGOLwU9fWkDMTJUQzPftvoi2/pFv09RiKvWvF85v18+ch9PaIHTAurBnDKheI X-Received: by 10.99.113.16 with SMTP id m16mr4331563pgc.29.1517995419131; Wed, 07 Feb 2018 01:23:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517995419; cv=none; d=google.com; s=arc-20160816; b=RgT3g+4+hvIa3+FHRYcF/WA0IliJUDLvuOUjwL8AThJVdAlGfNvLGICQjirGp94Tx9 y1TVr89rpE/D2xmdPDhUQFfaLIoIDmOm12Cy2khbLAyCU1WiyIuNpSeKpTJVvCjpPuw8 FjL38ico8yO3VkRFOCx6RLDozGjRgzN5C86IFaLRB/4gYh2tIb4AwEa3IAGiAr1wdHJ1 lNObWwqt46srwW+Al9WiGizpojItxapQ0sMBOg6xRbL0f5p2rHjMxZHXZZ9SPaNic5mM vY2TBCpJrEy1xPjsWALNb4cttev7XJvscRqTPUJ8yJo2wwDNyOqHkQB2wFHoSsA59Yu8 kNbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=GqW9ZwldEBmxGlHdPP98nFhNYFsmLUMlhh0vBnVh1L4=; b=OBZs+G/aa2sTUvXOYi/4hspjwpqRMR9iA+wqr674JQhOU1ROjH1q0Pcik/5Sj0ZikI AKWxyr//SValjD2i7J+v1eyaw6DKr0FeyRbrpq9Prn6/EV35gD5EHiRMQQa5ZM9x5yHQ AHmmDb3VRrMmwZRrFjIrF/xzN/udZ8n7dq9jw2CsjsvSo3TamDKCyob8oA2lPxGFLw6h 76pnYnvrn0IHc2A2oaAjtiGTUjRpIKKcUtbIQvs1tWtV1qnxk3/IfH6Lz+lTlIkq19le 2/qlgEBSIseC4YwqJTCKsPn8OrMF/pSE3y4YMOfaXGViW3Lq3iRmLbasREzb+Y+I/6eJ vu7A== 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 w23-v6si789250plk.537.2018.02.07.01.23.25; Wed, 07 Feb 2018 01:23:39 -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 S1753736AbeBGJWF (ORCPT + 99 others); Wed, 7 Feb 2018 04:22:05 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47408 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753700AbeBGJWC (ORCPT ); Wed, 7 Feb 2018 04:22:02 -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 968121435; Wed, 7 Feb 2018 01:22:02 -0800 (PST) Received: from [10.1.207.62] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id ADA633F24D; Wed, 7 Feb 2018 01:22:00 -0800 (PST) Subject: Re: [PATCH v5 3/4] DT/arm,gic-v3-its: add reset-on-suspend property To: Derek Basehore , 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 References: <20180207014117.62611-1-dbasehore@chromium.org> <20180207014117.62611-4-dbasehore@chromium.org> From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Wed, 7 Feb 2018 09:21:59 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180207014117.62611-4-dbasehore@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/18 01:41, 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. By whom? It is important to be clear about the respective responsibilities, as this forms a binding contract between firmware and OS. Mark: Can you have a look at how to formulate this? I'm not sure we have other instances of a non-architected behaviour involving FW participation, aside from PSCI. > > The main GIC node must contain the appropriate #address-cells, > #size-cells and ranges properties for the reg property of all ITS > Thanks, M. -- Jazz is not dead. It just smells funny...