Received: by 10.223.176.5 with SMTP id f5csp84725wra; Tue, 6 Feb 2018 17:44:45 -0800 (PST) X-Google-Smtp-Source: AH8x227ySNrqS+0drhZTfxZviTIv4xHsorqT6WBiHIvptGr170jlwRMnL+14AukkmspF86TNFt8+ X-Received: by 10.98.228.11 with SMTP id r11mr2780610pfh.127.1517967885642; Tue, 06 Feb 2018 17:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517967885; cv=none; d=google.com; s=arc-20160816; b=HLEk8sE/Ola2ZqIWaTe/BpSUcji0IjqJo8Lnzm4My+JfsmxCTW5Ny3cmM1hZzc4eB4 gVomH3oZffnxCK/DjF57MsTgHXzCOdnAePMbY49xmq7u2YKBSNYoGRkkKhHaTjw7QYTe 6bAr+OqEgX1gnjhVQW0hyKN71QobKUTnxneQtZ2sBd3H6S9so5YT1IDinzAY14AoJ8el Za+/WI23Wqh++PK9jfnBSLTf0Zyk0H/QiuMfCcxYLtSyf7pdS0OqxFadRrN0laEMT9Ff ncUph2k4g/m5HyjMDGKgloVSZEskFbd/W8kRR3tBWFkD+t56zn4RNZxoRV1ZSIEZFFZV Np7g== 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=GpLECQF8ejBfYsSqdtI5XsH0cBo+SKf4VbkWsQQ+f54=; b=Cqg+heU1K0QM/oecdqsaiDk0E5+e10Fk6hxjsIxRGxj8Z0d5yV1aESQw9p9rfbSV1O kn3nHJ5/UZsyJB9lwZL2j3OCTja2Ck/Fe3fNeVCgrgHpzD7EmHrN4pTKnkKVNzT7HX7N 8h/Vdeb1mYMTFD6C1Vh5PyEKikCUW3lmD6MJywxmK3LepDHjhZG9MP2sRFLWYBu/OtxC DEAdpTW78Rc20h9mKrpfWKt5PmOv+QBpa/EjKKda1b9H7QDTlD3PaknxE7Lr5Amst3Dw fo9pTduHAFzrnbdEJkpCqX09KRdC8/41l1C4HKN4AQpBqTbehmwf5zQKeW6DzoVgsJ2n KiaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=c+VwI7us; 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 w3-v6si255371plp.625.2018.02.06.17.44.31; Tue, 06 Feb 2018 17:44:45 -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=c+VwI7us; 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 S932265AbeBGBl2 (ORCPT + 99 others); Tue, 6 Feb 2018 20:41:28 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:38463 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932200AbeBGBlZ (ORCPT ); Tue, 6 Feb 2018 20:41:25 -0500 Received: by mail-pg0-f67.google.com with SMTP id l18so1876363pgc.5 for ; Tue, 06 Feb 2018 17:41:25 -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=GpLECQF8ejBfYsSqdtI5XsH0cBo+SKf4VbkWsQQ+f54=; b=c+VwI7usQmWWDl+/sJygE9fpfjvIwDHJjLUQQAZPb6FXHmeuIOvEJ2AtYsCGykkQdA vTp+Ia9/rEcGOghQpIJUOf3k+cbqcqDaj3+8nB+tKvn/tT+H9P2toNBDsuMNuvr8M6yH 9V/mVlKfdHDbbLX4ELYrJZCA3mvexiCouc5Yg= 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=GpLECQF8ejBfYsSqdtI5XsH0cBo+SKf4VbkWsQQ+f54=; b=o+yuCdxGIRtoZyFG/qQ/XAlKHml3oxNjWbAahaukg7lgS0VdlNIiNPCT/K4tNjpFw8 ym0JR0Mfgr/4q2xYaazKCJgMLSCm6HocyclYaabX8yVqX1vSIVBlt2DhEZUfJuih51ub 56BVGpWwES1vAdWFMV+4THTuqi/QcbEonilFwHnqarHXJLawxXC4ctzHWVE2RDbRO1g+ CtQw2hxcUMN2KcN9sBkmyxWda9NrjBaYBHEaD/2OO+qU2SYzwb5fx63i6IHVuIpmQE8R uR+QkopfaBSRP6XbkhjYKBSfH6XkNHWjEuYPgOlQ+xkzkUxOQZuy8Ym3j0RuIabZ6G9K Z5TQ== X-Gm-Message-State: APf1xPAJUZGfA0Muz4K4Oflrv7OrROnO69TTrEzvgwKB+PEBde+l+bEQ Nd9hrJI3siMqqvDjfwSvXpAzkw0SWsE= X-Received: by 10.99.175.76 with SMTP id s12mr3501699pgo.240.1517967684991; Tue, 06 Feb 2018 17:41:24 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id k71sm573529pfg.52.2018.02.06.17.41.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 17:41:24 -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 v5 0/5] GICv3 Save and Restore Date: Tue, 6 Feb 2018 17:41:13 -0800 Message-Id: <20180207014117.62611-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. Got rid of additional device tree property with detecting if there are collections stored in the ITS in v5. Made other minor changes. Derek Basehore (4): 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 .../bindings/interrupt-controller/arm,gic-v3.txt | 3 + drivers/irqchip/irq-gic-v3-its.c | 179 ++++++++++++++++----- include/linux/irqchip/arm-gic-v3.h | 1 + kernel/cpu_pm.c | 3 + 4 files changed, 148 insertions(+), 38 deletions(-) -- 2.16.0.rc1.238.g530d649a79-goog