Received: by 10.223.176.5 with SMTP id f5csp92261wra; Fri, 2 Feb 2018 17:31:47 -0800 (PST) X-Google-Smtp-Source: AH8x226AdiJ509xt3gW+ENQXyOrrODGLp4bBaqaeqoh5b6qVhX3aKBEEYTKFyCwsfE6uTRyby+Na X-Received: by 10.98.194.212 with SMTP id w81mr40956637pfk.232.1517621507356; Fri, 02 Feb 2018 17:31:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517621507; cv=none; d=google.com; s=arc-20160816; b=Vl7kyyNyzWTFdtN+hcRNJyUxSn/zNdHqplOoaPnLh386VRUUtnWaPnutwjcmr9St96 kH2pbrz6Ys/Fysw5FhUyj/+O3T6Y5NgVCL+t+uSzAim6ZbNAacmQDzl546d59ETVxNgn n9cK+QTZbofl99yRDK2xrCUGD345aHJa0VapL3TduX67NtPypYxqMIPQD2CGUPXfYGvm NWxiGtw2vS04EEy75PAdLkSvjkfQOnFOoEHukMQaDoKTwdq4v8cNoHICw3G+RlGqKuBj 7+cejpGtfo7C2RJA3xo67n33jioK5gRzl700n5XXXhfIgAq7zc61ioYj7rgEiEscl89i Za5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=uB+nQTN6CajNSt6eWLYtFIxh1TYk7utKzkZgGyGcRS8=; b=KY6Ule1R8cecg8fPoS9sCmcYz+jUClLLNePKdiVt4iYeX4fPqQ+1BSXEpVzq5Kx5C7 0I6cOqi225wXgGZPDPPVledmPtVc20vQ84ltWzQvWmLFYWZjMtlA2ZZpwE4eYoOnyZs8 GwUFaXP+T6/basLhtGBHWjQy+d/XTSYdoGyuRYYBASxyYF803z94JvnbYuzcdscLmPvz hbDvnMRxE0PX3kyFatnw3VVPShBRkOBexQ+RCRpi/zmckggSXBQOXqnPlxQetCt24MJ+ 85sVFXC+J+InL/kg7AZVeTd8qQtTwCHbND+GTRefxtXcHcBs0nZmpmVfNroqAGW4JUsg Nb5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EyuQ4uWq; 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 p28si2242739pgc.96.2018.02.02.17.31.31; Fri, 02 Feb 2018 17:31:47 -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=EyuQ4uWq; 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 S1752590AbeBCBZE (ORCPT + 99 others); Fri, 2 Feb 2018 20:25:04 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:46158 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbeBCBY4 (ORCPT ); Fri, 2 Feb 2018 20:24:56 -0500 Received: by mail-pg0-f66.google.com with SMTP id s9so14824328pgq.13 for ; Fri, 02 Feb 2018 17:24:55 -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; bh=uB+nQTN6CajNSt6eWLYtFIxh1TYk7utKzkZgGyGcRS8=; b=EyuQ4uWqE8cQ9zkGkk6Sd6CyNeJ3Ou2L+1QZhECJQwhnDjUif7BzSTCn3Ga3r7zP7K cnKohqBllzo82DX8wv1ijPuA9Z4zKC0gSdpk0zB7GJcDjO4MwJO3Qf0keUetMZbs7J69 iuesT3cxjS8g1GeCQzqgytV6CXn5iHqZ4i81w= 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; bh=uB+nQTN6CajNSt6eWLYtFIxh1TYk7utKzkZgGyGcRS8=; b=RsVTi7CmPTimVn5oFKG/SspBICPp1MoajqSddQXKbfI28mf0JkhOdjSHx0f1iLaJmL 3NZWhFjhqShY3MnQvnBOKhUeFzHWaXQSgRpSnoapYcbKO/1atwhVuoeKwMm7w4H4abwK izW/8qpKBdB+3uzOPaAVuDDDkNwLgwuv1Jag5i+VpivYrJR+o9uO2OksiqsM8dbr/Ong 6WO2kiV+GRudFlbjTi2l0/e3/w+5mN6E0qwyM2iLcrrtDAaoDyXFxu5VkIUFsqMRNp31 uipwRpj8jdVg76QMnNsxfqA5RkG8iDkLn+moqnWkwW3BYiMpH16ASCWmu3yJdTW+bdaT G5cQ== X-Gm-Message-State: AKwxytc5G9Ah3b5/LZfFxJdOeZdnDYMP+m2/wmNew6De3RDhE1A3K6pN nShvXUgiuj02Uur/M6DjFzxSzDNwhBQ= X-Received: by 10.99.190.76 with SMTP id g12mr16339855pgo.235.1517621095412; Fri, 02 Feb 2018 17:24:55 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id x124sm5332917pfx.105.2018.02.02.17.24.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Feb 2018 17:24:54 -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 v4 0/5] GICv3 Save and Restore Date: Fri, 2 Feb 2018 17:24:45 -0800 Message-Id: <20180203012450.18378-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.16.0.rc1.238.g530d649a79-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A lot of changes in v2. The distributor and redistributor saving and restoring is left to the PSCI/firmware implementation after discussions with ARM. This reduces the line changes by a lot and removes now unneeded patches. Patches are verified on an RK3399 platform with pending patches in the ARM-Trusted-Firmware project. Just a couple minor changes in v3 to formatting. Fixed a false ITS wedged detection due to the cmd_write and creadr offsets not matching up on reset in v4. Also minor formatting changes. Derek Basehore (5): cpu_pm: add syscore_suspend error handling irqchip/gic-v3-its: add ability to save/restore ITS state DT/arm,gic-v3-its: add reset-on-suspend property irqchip/gic-v3-its: add ability to resend MAPC on resume DT/arm,gic-v3: add collections-reset-on-suspend property .../bindings/interrupt-controller/arm,gic-v3.txt | 7 + arch/arm64/Kconfig | 10 + drivers/irqchip/irq-gic-v3-its.c | 202 +++++++++++++++++---- kernel/cpu_pm.c | 3 + 4 files changed, 184 insertions(+), 38 deletions(-) -- 2.16.0.rc1.238.g530d649a79-goog