Received: by 10.223.176.46 with SMTP id f43csp364803wra; Thu, 25 Jan 2018 23:41:36 -0800 (PST) X-Google-Smtp-Source: AH8x224m3j0wtNxL5GPHDI836+ba1wBIznmSfGCF3I9I5alTPGnb0x0OOMfkLdtbCukkD5syuMrt X-Received: by 2002:a17:902:8d97:: with SMTP id v23-v6mr9302430plo.248.1516952496710; Thu, 25 Jan 2018 23:41:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516952496; cv=none; d=google.com; s=arc-20160816; b=dLBoQhTvNtX5plA5INc4J0iHYTL2SUfjPM1XXY370wKIUrRViOD29+hXO01/k0bhnH RC9vNf617BwRvtGI4pXmxnOGB2NDLa0InyaDUhwYlEbX/LJjdESIVByh9581sUgmf2PO uBBsxaeZuvnlSPMgUiB3dMZtGJa8i3orE3X4dENnbo1LP35NBuF5Ii/szOtEdpcnLQRZ q4Ev9Q9D8MJDqOu9f/odgm+/I2lAAhvSlwJamCxKyfUuEM8Nelrg6UqLk3wHr9sGGKH2 9egCmSBYFWqvDhoIOgVhrW8TlgQdIM0JUjnvRfpgjxkdqh/umVTBqkKwmOgXBsQY183n spbQ== 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=lQjjZ9vw0k1KjEw3S5Axy8xaOuB6O9s6L2rszHp0q+E=; b=wwu5oE9qkKx9TPHq0csjxueXjggIHRIZ0Ebczp7JUDKSGTXBX7X9uXwO0aBIWxTLgr r9zHE7RyMgTW6k7K2/3Ojtzpz+P0FftkspLhrt1F+L4mlFddK7h9q3XWYVz12dQrrwJt 9XBETDd7heq1mrGEbd33pT/1/9+5i2XN5is3fNq5x80x4Z7pJuZ8aGeLo9Lf4dwSyIy/ k2Ctr0S7CwZAMBKnUd8yrcAkV4p59DLRPu2ePPPbGceU4SuKlqGg9xlY2GTjpWeuSZDL HFqRT8iizJ0Uf+984Vcpq2y8yWtZOYdwJBgVWiaQFHDrmUCC1eK4crjYLykD2DUolYp1 ydOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=bKrjczsc; 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 g13si2662853pgp.597.2018.01.25.23.41.22; Thu, 25 Jan 2018 23:41:36 -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=bKrjczsc; 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 S1752018AbeAZHin (ORCPT + 99 others); Fri, 26 Jan 2018 02:38:43 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:46504 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbeAZHik (ORCPT ); Fri, 26 Jan 2018 02:38:40 -0500 Received: by mail-pf0-f196.google.com with SMTP id y5so7741012pff.13 for ; Thu, 25 Jan 2018 23:38:40 -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=lQjjZ9vw0k1KjEw3S5Axy8xaOuB6O9s6L2rszHp0q+E=; b=bKrjczscyWG8+VjHn7hrAZwoQBqfpIsUp/2c+1+EzxLJwc7KRmtDVb5+ms4riMp9sv Jg0Cmk+Yzio4oK3MVJl6RTYNoAOddkHBzEPM8txWC439Bg3WfLYIFGtiqOtlV53d4yeg WmxJzaRxFqL3ZeaFcTP4u1PH0boRu0Ml1Khhw= 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=lQjjZ9vw0k1KjEw3S5Axy8xaOuB6O9s6L2rszHp0q+E=; b=K7UjG+eaDOnR017e//Vbt/dzrprHt6PTfXByCJetm5Sl3GSVx1ogYj4pFNQDcE7reM Dx9IJ5CeG/Wm/xj2iqfMJKBsyMKaaB+KyJeMrJgCPLuHOuKWpJEGMQrfy3e3NsE51jKo avNhGndIW4BpMSL9vl2OQU91KRWUMzmMc4jwsY2DkpZHCge9Uey6jXOCtdQY0ZiLAFES fl3uWOrV/QsLfD6a74SAhXrV6bK+TVfC0BQ4ETHLLQ3RJhF1q8UwWlAEbPCd7xTgHofW gSJ8rcj33yfy9CHz6T2BU1rJA/yFJKHc62r4Fd5q7xmtdqYooL3DZ05MkeDgDvKR7MRF c6Cw== X-Gm-Message-State: AKwxyteu9uXxvU2DRbrvXAMfy+ilyWcQwf1A8AaORVDL197PAjsNgDqS 6KCRUg1GMGLWkR4PCZGuhrRmDajHAX4= X-Received: by 10.98.189.8 with SMTP id a8mr18392169pff.125.1516952319932; Thu, 25 Jan 2018 23:38:39 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id t22sm17856168pfi.118.2018.01.25.23.38.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 23:38:38 -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 v2 0/5] GICv3 Save and Restore Date: Thu, 25 Jan 2018 23:38:30 -0800 Message-Id: <20180126073835.16575-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. 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