Received: by 10.223.176.5 with SMTP id f5csp3653993wra; Mon, 29 Jan 2018 17:02:31 -0800 (PST) X-Google-Smtp-Source: AH8x224pLoZBK/VA92yDMUxlPMXpXPpgZp1g6FvF8wJ5JwqkRhHpCFiMirE/sKF5kioCKnALaWbA X-Received: by 10.101.98.147 with SMTP id f19mr18625548pgv.100.1517274151566; Mon, 29 Jan 2018 17:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517274151; cv=none; d=google.com; s=arc-20160816; b=K2KuP2kAcmp9nHvSJbNebH2NVdCrDdcbfBWWuKGjBplAnxGBuQo3l9s4XXQJQJtPXW T89Gy48fZFR9DQGsmxwnV9xHRTAO9JV3oHkxZYEUZlJS/d1jxNmh02/hwu3GYLuVWHMC g6K+wpAVhmbT0Ppxcr0OnttfdHZFZDE8NygIGPX7mAAkQJUQ/a3Ohgmcymkoj9MH21nI koBqXuNODVnkavlKiO5i9iixN7+Vu7grII3RRyamjsRSALGaYGJ4vEYFnb6Ei+9vi1Z4 YHnKcwKKe8y0TtWe7SBtinsVTIbtUvsgnacjVR3gQC2Gwlpbck+rCKutpZSlqCrNUrKU 646w== 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=UuDr5ZFamHmvoRtdUQzXe6ETI9+wB3sreIH/ytP0Y1w=; b=gG4mm+og1fzjJQAua8UzTlkFXHioX06hNVAoKy2/6NEc2FOl5HUUrZsO2s/A3kcGwF yPsy83uhCzwd+XtE7xakl4Ogx2oCGx1LsVKADNEkh2wTwlIZnksv660OB80zi1MhVgkw 6/jCI+2piuhbc/MTed+uA19gZvHR+iGiQXXfa4KbXuXSEyzKJ3+XLnuFACI95f0VZG0v xXOxP2rEVykWCds5APNfMeK3Aa7KfO+Qkfz0bZ/6Tq+f4A/p5rEi+2151+u/tEaaABJd zh30I3zyOAWvmAziYW3E6/9usIfuiFOGzxIm1TUuedfpCx3oinoi0QuFvCLntRX1ePQN u4Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JCShZpaA; 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 j1-v6si177929pld.106.2018.01.29.17.02.16; Mon, 29 Jan 2018 17:02:31 -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=JCShZpaA; 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 S1752348AbeA3BAT (ORCPT + 99 others); Mon, 29 Jan 2018 20:00:19 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:39369 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbeA3BAR (ORCPT ); Mon, 29 Jan 2018 20:00:17 -0500 Received: by mail-pg0-f68.google.com with SMTP id w17so5850031pgv.6 for ; Mon, 29 Jan 2018 17:00:17 -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=UuDr5ZFamHmvoRtdUQzXe6ETI9+wB3sreIH/ytP0Y1w=; b=JCShZpaAq8M9j3xHlNzIoG3VxRc543HmGCaIlYRp5R09fO3NFNVChJvxlu/84ufkQo iytW8u6Chn+XKTEAyopUl+hbXb4ADJf5AYKog9s91w6eo7Ssdu6Wc6AIRyV5kr4T+epl h6K6/FnNwWEow1P6Yv2KZjxhtqBq6SEStNsQA= 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=UuDr5ZFamHmvoRtdUQzXe6ETI9+wB3sreIH/ytP0Y1w=; b=LZvaiBkKoOg3g9REyOTqVl7KiBLfGt+CkQZ4xzKePZO993NSkCflsSjYaAWtGcYD7+ tXUFSZDtM7uwbesCninqiumG1N9hbmS3jISEBwkGm9X0oSE52UVLj+CLqchjOIo0NqLo Kd3TmKB8keo3vRLxacn4Bqobjr/hlWS9nrWaeEJJ+G8/OiENvOPn73bmZ2i7RczVtRv2 B+soaDQrQSsL4tyYPm25mRHSvnQgdEmmzg+A0iaAFcF9PDxYmWSCSDoi4gVJViSfdIVr w9BI0ep2w+s5oYxMkpVdzCEFWNA+64Lu9zmG/0WYzSTAjUueg+501IbHX02bGq4+QUxP C26Q== X-Gm-Message-State: AKwxytf7sn/bUI3MW3CxHKVpG8Nza1XN0NDrSPx4eLpGcLz5GK6BWLOX XGedrZ4I/eI3P32+c80JKQXGZUOh+58= X-Received: by 10.98.108.130 with SMTP id h124mr28507777pfc.33.1517274015004; Mon, 29 Jan 2018 17:00:15 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id c29sm36477492pfd.172.2018.01.29.17.00.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 17:00:13 -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 v3 0/5] GICv3 Save and Restore Date: Mon, 29 Jan 2018 17:00:02 -0800 Message-Id: <20180130010007.256564-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. 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 | 187 ++++++++++++++++----- kernel/cpu_pm.c | 3 + 4 files changed, 169 insertions(+), 38 deletions(-) -- 2.16.0.rc1.238.g530d649a79-goog