[PATCH v5 0/5] GICv3 Save and Restore

From: Derek Basehore
Date: Tue Feb 06 2018 - 20:42:40 EST


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