[PATCH v7 0/3] GICv3 Save and Restore

From: Derek Basehore
Date: Thu Mar 01 2018 - 00:48:37 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.

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.

v7: Fixed pr_errs to print out the physical rather than virtual base
address of the ITS and the error code. Updated the documentation.

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

.../interrupt-controller/arm,gic-v3.txt | 5 +
drivers/irqchip/irq-gic-v3-its.c | 193 ++++++++++++++----
include/linux/irqchip/arm-gic-v3.h | 1 +
3 files changed, 161 insertions(+), 38 deletions(-)

--
2.16.2.395.g2e18187dfd-goog