Received: by 10.223.176.5 with SMTP id f5csp1380005wra; Wed, 7 Feb 2018 18:38:43 -0800 (PST) X-Google-Smtp-Source: AH8x224C+R5i9rXLI7Ow6+8CMYfLNZgt5767SW7KHJllNBqsvdFXlKwWC/PJYA2Z7GqtkvnWwed6 X-Received: by 10.99.113.15 with SMTP id m15mr6853126pgc.236.1518057523261; Wed, 07 Feb 2018 18:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518057523; cv=none; d=google.com; s=arc-20160816; b=MkECEmeQICP4jThdTsehPvJ6ZVnb5HG++hfHJ4eDrXF20OsVm0gHncsaJRrlau0IlD rufpGQgQCTAnLwQ1NGAY8m3Hfx7O2orBVCtiLLoOgkIWhVoowIhqtj4eCtM9xsjpeCRK LVKNvp65GgORUfJHLhWYRU72dC/ITVEVrhU3ZoxL5qYkNZdCAYTQX9PUVfsjBP9giP0P sPQmkkKPoW800XARTZEDzVRn2YL6n/CcMb0klzYSYI4vlLCEt6dDkedlbQrALK144h1f Pog43UI1GvF13rGMnOGMwP8eJSgxGzxefNeoDz7NZEHJLS/N3UtPawBewof3BVdJnqPc Dj9w== 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=nyXWoacuevmEObmqTK9Rx2ODEk4LVcBYYGSwzaGsWpM=; b=PYTeDy2mR+v5kRzW3llPZUlOcTTfEwcQuKLh7uSyUoSNdXK0TQ3Yv/LZ58oD3Upbn2 peNW09MQxkqpmiH73DDGIwhlJA6Xo4Nr8QOWZr+etNUNvYvowSKAb2FhwUGv19wh30a1 wMI0Q9cHEhd6LdfuMkGMjO2ZcZU/ukHOyPxtDiOg+Qv0+W7JNhdAZJLWOvc5/zBH4gZN U33d3c4wS5nzc5f+aATsBQHbSF196nFBpRTvIK5g+VMm4arHHPZ6ppFgCvcLAEooSdO2 UJOMY2P2RrxZ1pz+RNLGc6dTq3ATDvYd0DGNRgpXMvximRP1fy3yL39qKqnB14Oz/F49 shUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Wl0n0a8L; 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 t80si549489pgb.662.2018.02.07.18.38.29; Wed, 07 Feb 2018 18:38:43 -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=Wl0n0a8L; 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 S1751946AbeBHCg4 (ORCPT + 99 others); Wed, 7 Feb 2018 21:36:56 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:45416 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751396AbeBHCgx (ORCPT ); Wed, 7 Feb 2018 21:36:53 -0500 Received: by mail-pl0-f68.google.com with SMTP id p5-v6so1315228plo.12 for ; Wed, 07 Feb 2018 18:36:53 -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=nyXWoacuevmEObmqTK9Rx2ODEk4LVcBYYGSwzaGsWpM=; b=Wl0n0a8LMFM1fg/SyMurP+IoVk9WDNciHEEnxhcUnR4Mw43HlcUTeYCgdPY1pml+Nt jU8JNnXaWbJM5E1Yffe4LloyU9T2VFytHJmhKCy7ASk9oIeM2ZesZmVSSsePzpq3Eg8k CVQcnMXQRaCjEc9WwvS6Bl6QofN+WxiF6WnFI= 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=nyXWoacuevmEObmqTK9Rx2ODEk4LVcBYYGSwzaGsWpM=; b=mmwzZGtugkr/hTu2vAEQrcyb5P4oGLldyf+IQZFlCOFflipulsE0Uo5nn6jqFAiPHp Bbjtse8OeJoo3r5hfi7t9KfpmQzpTQPMfSPcBK9A/kwsxGYXAB0hEEGmGKigaHRDqnFf xeIFRLSs9bzbiN17iMKKzuELsJlwk3uQDaMcbM2ebr9KqaNJpNKnbzFTK1u7PwDgWw4y iTVHDWloYnJxRNBCSR9/giipknaBkPby6lNg0U6aR+A/j5LrqIX53sYfArZjD4WjfDyC 69/7A/1CY6IF3EChMnS6mVdNmZpet/tV+6ra3iyq0nWoYe1ztyWTGGmlq8qVfbdwOdvO e3Mg== X-Gm-Message-State: APf1xPD5yk3amPlk2TTSOfrvIznsZTofRzIGNP6B+KG1q3Pw+e2R27c1 xjczojI/kACTpVOy84FmUR/q7aS3Oww= X-Received: by 2002:a17:902:8691:: with SMTP id g17-v6mr8170878plo.446.1518057413027; Wed, 07 Feb 2018 18:36:53 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:0:1000:1600:211e:5908:95bc:4888]) by smtp.gmail.com with ESMTPSA id 203sm6901941pfa.110.2018.02.07.18.36.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 18:36:52 -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 v6 0/3] GICv3 Save and Restore Date: Wed, 7 Feb 2018 18:36:45 -0800 Message-Id: <20180208023648.89124-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. v6: Fixed reinitialized collections to only happen when the collection is stored in the ITS. Changed error handling to avoid undefined behavior of the ITS. Derek Basehore (3): 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 | 189 ++++++++++++++++----- include/linux/irqchip/arm-gic-v3.h | 1 + 3 files changed, 155 insertions(+), 38 deletions(-) -- 2.16.0.rc1.238.g530d649a79-goog