Received: by 10.223.176.5 with SMTP id f5csp1395606wra; Wed, 7 Feb 2018 19:01:57 -0800 (PST) X-Google-Smtp-Source: AH8x225gR76Q1DgdOdzJzP0W9S/r9tW2Y7jrk4TPFp/u6matvtW4J90L/oDQ8M6KBnvD+h+BOCuH X-Received: by 2002:a17:902:4181:: with SMTP id f1-v6mr8156290pld.59.1518058916971; Wed, 07 Feb 2018 19:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518058916; cv=none; d=google.com; s=arc-20160816; b=eggz3Rw/KXrEW081HrHTEqtt0tMiUzO+6MseO195K9tG/t/96h09bqX02RF4A4wq41 xayoZlanyYaV4xv4oiqSQGrmDDEXX/zubM+t4n4rZbIvP0bxIxzPWcjl1+Tze0GctcOl Ce5pTdvgt8c9on+/XjWb4CU7M286+1MxZgXilGhtH1x99he0TsXu1zB4ExJEjbVmAyoF MhrlHhuXprk4jmTFJm08lnjBa+O5HbaDGTALbIVV+6Ok8xdWlNZ0yrQCMEE9w/6ysrcn sNmHCtIOCilfOH+lSqEn8gXOw5ZgAKuA1XBlnAjTihn5Upi0EVlsYwxv7pQgpUQTqBm5 ibtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=SIjDI+euAGziVwLylwogaRY9RLTmLvtR2l19OAG1Xc0=; b=G7BtyFakA7l2RIzfH54o0gpOpm35DrM7JpIsTbk8s7PKoRwItSoq3QLG2lEY/DoWPR Bm3UO4c7i5gTU0Y5AuObYCP9VwS/5HalR8U8dxOL4Q/pCJ58De/tJQD+UUmpHZ07Esfl dN5SnNaWIywzJZiaq7g2ZnFB3Nxih5YKChhSRbzMnQYLSJxjQSwrPk8r5eGag288csGQ 2e0/Im5PNVpkH4dXOk10DgddHGh/2AnVPr8TzVbHDIZGRlc1z8CKkt7IrAdo5as4/s30 HJG8Rrz3dHZ1ZaQW/NtybI39VEvb4QYMmZDlxUVdMpaB6TjCvQnZ3VrSx1rr63r506vC 6yBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=aSyYwBk+; dkim=fail header.i=@chromium.org header.s=google header.b=Ona3VZ9B; 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=fail (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 g23-v6si691696pli.195.2018.02.07.19.01.43; Wed, 07 Feb 2018 19:01:56 -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=fail header.i=@google.com header.s=20161025 header.b=aSyYwBk+; dkim=fail header.i=@chromium.org header.s=google header.b=Ona3VZ9B; 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=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016AbeBHC7n (ORCPT + 99 others); Wed, 7 Feb 2018 21:59:43 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53303 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751269AbeBHC7k (ORCPT ); Wed, 7 Feb 2018 21:59:40 -0500 Received: by mail-wm0-f66.google.com with SMTP id t74so6761456wme.3 for ; Wed, 07 Feb 2018 18:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=SIjDI+euAGziVwLylwogaRY9RLTmLvtR2l19OAG1Xc0=; b=aSyYwBk+/z3cCo+eTEX5yDxBqZ+dcYvePgq2FuqnRBS2sb2iptvGEtmVVHGkeJPyW4 mA3P7mIvNLEhqK4e02VTwbUmFGoqAvsyWMBOgbAqpw8o259DZ7VOjpNnNEUT7AGBNf+b XPnvgGhoxLkxQW80OZuRoFUGzTWQYIaEIoFrxR92WxwU33GrQZfyCG6POBH/g8xtCiGd jJDKW75BIj8CnkewjgtDqS1AyAkJ6BIDC7z76F3N+yZ+tM1BA50BToeZVFpc/vyzv45M dNcySh0SW3koZk/QycvrgX4GsL5KridqQwuZ2vIcezoF4Dj+yBuesM7ZtHZzyQ7kwR8k ySNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=SIjDI+euAGziVwLylwogaRY9RLTmLvtR2l19OAG1Xc0=; b=Ona3VZ9BUWU5mCSEHc2JeTh2fbckCnhWp1bJXEyfGbWQI711WSuEj5KGbj2qNIStB1 HW0kXoWdrDgFlMO6VhqzhKAbOTWezW8Rduzu4/E6eGlQnDj2AAZDg5WKnPzt2BbC2A+X wzivOR8Pl97U9rmN9PeUuAWUrn+u5ZurJmOMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=SIjDI+euAGziVwLylwogaRY9RLTmLvtR2l19OAG1Xc0=; b=jQqUP0r61+BU7VpYY+7BpioOBSBW1LPWVN/Qlw95xBOeq0EJ9LoR9Ei2w4BEoBqRgv u4K22AyqemmniBPcmnYBdc+B11HhWjtakGTsCWqdLcWZ13LqN9iao3iBXQPaVkoXBWjo bp6z2PPziWcIrPbj5J9iUiUUa8ykqee7BsAWme6KeLHBV2jNSKiTuThn+aKNIGtrgOZL pJmL43GLysMFiiNzndOj22EgPJw6ArTHSLD9lqcEDabnYezaOs7lxuUdt2fC5R8ik1jv 3ExlD84NTQB5IkyeDdd3EAatb8MSnBKOTg+mqBKWuuhDQmZdWscxEXmLyyK232IwBfID tPog== X-Gm-Message-State: APf1xPA0l5HJxEfFuFOTniPeFciP+MdXBsukmDc9H155JiQD1be3JFih NcNMrODuXbcftqhftbqYUl3z9jc03Pm1AdRQoL8C4g== X-Received: by 10.28.66.199 with SMTP id k68mr6533451wmi.104.1518058779507; Wed, 07 Feb 2018 18:59:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.124.6 with HTTP; Wed, 7 Feb 2018 18:59:38 -0800 (PST) In-Reply-To: References: <20180207014117.62611-1-dbasehore@chromium.org> <20180207014117.62611-4-dbasehore@chromium.org> From: "dbasehore ." Date: Wed, 7 Feb 2018 18:59:38 -0800 X-Google-Sender-Auth: 6Om51yx-v9_sDsmXGdHKM1qQjak Message-ID: Subject: Re: [PATCH v5 3/4] DT/arm,gic-v3-its: add reset-on-suspend property To: Marc Zyngier Cc: linux-kernel , Soby Mathew , Sudeep Holla , devicetree@vger.kernel.org, robh+dt@kernel.org, Mark Rutland , Linux-pm mailing list , "Wysocki, Rafael J" , Thomas Gleixner , Brian Norris Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 7, 2018 at 1:21 AM, Marc Zyngier wrote: > 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. I'll wait for Mark's reply to reword this. > >> >> 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...