linux_dsm_epyc7002/drivers/soc
Geert Uytterhoeven 7fc4650cc2 soc: renesas: rcar-sysc: Fix power domain control after system resume
To control power to a power domain, the System Controller (SYSC) needs
the corresponding interrupt source to be enabled, but masked, to prevent
the CPU from receiving it.

Currently this is handled in the driver's probe() routine, and set up
for every domain present, even if it will not be controlled directly by
SYSC (CPU domains are powered through the APMU on R-Car Gen2 and later).

On R-Car Gen3, PSCI powers down the SoC during system suspend, thus
losing any configured interrupt state.  Hence after system resume, power
domains not controlled through the APMU (e.g. A3IR, A3VC, A3VP) fail to
power up.

Fix this by replacing the global interrupt setup in the probe() routine
by a domain-specific interrupt setup in rcar_sysc_power(), where the
domain's power is actually controlled.  This brings the code more in
line with the flowchart in the Hardware User's Manual.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-12-06 12:10:10 -08:00
..
actions soc: actions: sps: Add S900 power domains 2018-09-30 16:48:10 +02:00
amlogic soc: amlogic: add meson-canvas driver 2018-09-12 21:38:45 -07:00
atmel
bcm soc: bcm: brcmstb: Add missing DDR MEMC compatible strings 2018-06-26 15:44:25 -07:00
dove soc: Convert to using %pOFn instead of device_node.name 2018-10-04 14:16:01 -05:00
fsl ARM: SoC driver updates for 4.17 2018-10-29 15:16:01 -07:00
gemini
imx soc: imx: gpcv2: Switch to SPDX identifier 2018-10-01 13:24:15 +08:00
lantiq MIPS: lantiq: gphy: Drop reboot/remove reset asserts 2018-05-24 13:22:56 +01:00
mediatek soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs 2018-09-25 17:36:38 +02:00
qcom ARM: SoC driver updates for 4.17 2018-10-29 15:16:01 -07:00
renesas soc: renesas: rcar-sysc: Fix power domain control after system resume 2018-12-06 12:10:10 -08:00
rockchip soc: Convert to using %pOFn instead of device_node.name 2018-10-04 14:16:01 -05:00
samsung soc: samsung: pm_domains: Deprecate support for clocks 2018-04-17 17:25:42 +02:00
sunxi soc: sunxi: Add the A13, A23 and H3 system control compatibles 2018-07-19 16:39:12 +02:00
tegra ARM: SoC driver updates for 4.17 2018-10-29 15:16:01 -07:00
ti soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-02 11:22:09 -07:00
ux500
versatile
xilinx
zte
Kconfig
Makefile drivers: soc: Allow building the sunxi driver without ARCH_SUNXI 2018-09-12 22:40:00 +08:00