Received: by 10.223.185.116 with SMTP id b49csp7044852wrg; Wed, 28 Feb 2018 21:50:03 -0800 (PST) X-Google-Smtp-Source: AG47ELvYAgL2iUwDvZWlaTU5lpgLzDT4a9J0AF3JwOtXbOV5VpTXb2vd+LSmCBhlHTev/iLDTOm5 X-Received: by 2002:a17:902:5327:: with SMTP id b36-v6mr787689pli.332.1519883403307; Wed, 28 Feb 2018 21:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519883403; cv=none; d=google.com; s=arc-20160816; b=mfYWHVIFMgwFUi51LaRVJ5YDZOirjo3sA1iMVHB0ox6BWREHnW4uX9KCf9Pu/RywhG 6wgR26oUfie0ci6Oml+1Rc/XSH012m5CPdvZpkAXug4tcn1SmT0mN9drZUpiKK/9Jcfn e4IlnCDCYfeJMa+QnMNXRpresWw00U5AmttfFanQckDbUQAeCIonJPimfDyarVvOJeug VDfB3BtA9Y3K3r3DRAx0nAa1DOwivNu58z6iQ9eXx/lSDDLcF4VnN7rMqvfvagYITJDw cJxC+qMQKcSiY5k8w9JSqqRNYjEMwATwB1zkLFXFT3yA2CXtUYVNDAarvaIzG7SGSxKG SzJw== 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=XtDdvC05Ye1SapDNRpGEWq+STnexP8hOZujuSzkUspk=; b=GRMTbG0ivK5nXpGwub9FHA/sNIja4XYY5Rdtf5aRsDCALXr6ZkTSM4gKCU3be5PxCm EK0exsm63aRkuLjAmMJM4SFwOVUagGGYCyPyvDMVl5qmFda7TlYbYu5loVO1hlCXRP7z zckeD7oyvlyUrTuvgNjONhogGeyEdo7FsysYfdwmz1hAhk1RzR6+Kf312TWboh+d8v4v zC2qeZb1WbiWkAyiN1lLla+Dyor68Go/mIsx893uhSdAYKeJJOfmVRHjLp6dMUkiPZYC c8PNRg9E3wCrAuFwtOKfUB2bg5PXQW/xZTAZpmD8hahprwU8motqaez3u3wnboHsrGAS 2dbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Tkf47j5g; 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 k3si2393155pff.157.2018.02.28.21.49.48; Wed, 28 Feb 2018 21:50:03 -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=Tkf47j5g; 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 S966173AbeCAFsg (ORCPT + 99 others); Thu, 1 Mar 2018 00:48:36 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:35801 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966141AbeCAFs3 (ORCPT ); Thu, 1 Mar 2018 00:48:29 -0500 Received: by mail-pl0-f67.google.com with SMTP id bb3-v6so3070316plb.2 for ; Wed, 28 Feb 2018 21:48:29 -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=XtDdvC05Ye1SapDNRpGEWq+STnexP8hOZujuSzkUspk=; b=Tkf47j5gPOPsfi7/LY0G0ESHV+0gOhUsHqQUa0+K4Pklqa8iRVnyMkP9tqqGClZ5on 9HkNgFcqnmiZdrm+d5Tj6OIX8UI4lYLwhX1kBs9zSJ4GHMbmTO2fXmxImjezZeXXqgjv Og/kGsK8A26ES1FKHrOicwL7YFeCMskD4fIro= 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=XtDdvC05Ye1SapDNRpGEWq+STnexP8hOZujuSzkUspk=; b=VPcpow4W/dreSTwT+L824FxM0Mysw/Bq5M3FKfaIK053naC8XWHiflrv2V6COCnRRQ 1E2GlQAyeJfKsLk/Xv3U0g9grie17bHtCTMTnO3si8QZmx5SZUVT8xxtd5wb6hOg5I2F hecK3kI8Rg147wYI+5Yxqe2mp3Kys7xKVSwkxQJiC48nmbl23h61q0HaJjBxqAUylvU7 zh0qTcv8S52FitNpOFh0G87l5wxlmqR3BYbe7TfL8Zj6A7DDH9E05K6CTbp10DpY0bfj tDLNlLqIjmmGbideA8eg09DQlXPvRX/c3L7+alVfdXOhYoBmYsZPTUPjTmZoX2UjhLE3 pMrw== X-Gm-Message-State: APf1xPBy6sKQdzSh3NKwcbhbIKjJBrCKdwikDgMXBICsM9poqb+A0HfM 13pSYRCR1WRBvqRgly6QNjMJKneWp8M= X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr765858pla.403.1519883308765; Wed, 28 Feb 2018 21:48:28 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1501:f407:8d12:c205:7153]) by smtp.gmail.com with ESMTPSA id 184sm6194674pfg.125.2018.02.28.21.48.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 21:48:28 -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 v7 2/3] DT/arm,gic-v3-its: add reset-on-suspend property Date: Wed, 28 Feb 2018 21:48:19 -0800 Message-Id: <20180301054820.42847-3-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.2.395.g2e18187dfd-goog In-Reply-To: <20180301054820.42847-1-dbasehore@chromium.org> References: <20180301054820.42847-1-dbasehore@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../devicetree/bindings/interrupt-controller/arm,gic-v3.txt | 5 +++++ 1 file changed, 5 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..dfd1b9b838cd 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.txt @@ -78,6 +78,11 @@ 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 loses power + on suspend to memory (via PSCI_SYSTEM_SUSPEND). Registers and data within + the ITS will be the same as before probe (PSCI FW does not restore state). + Any state stored in external memory is maintained (such as collection + tables stored in external memory). The main GIC node must contain the appropriate #address-cells, #size-cells and ranges properties for the reg property of all ITS -- 2.16.2.395.g2e18187dfd-goog