linux-stable/arch/powerpc/platforms
Benjamin Gray 86582e6189 powerpc/powermac: Use early_* IO variants in via_calibrate_decr()
On a powermac platform, via the call path:

  start_kernel()
    time_init()
      ppc_md.calibrate_decr() (pmac_calibrate_decr)
        via_calibrate_decr()

ioremap() and iounmap() are called. The unmap can enable interrupts
unexpectedly (cond_resched() in vunmap_pmd_range()), which causes a
warning later in the boot sequence in start_kernel().

Use the early_* variants of these IO functions to prevent this.

The issue is pre-existing, but is surfaced by commit 721255b982
("genirq: Use a maple tree for interrupt descriptor management").

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230706010816.72682-1-bgray@linux.ibm.com
2023-08-02 22:57:22 +10:00
..
4xx powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
8xx powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
40x powerpc updates for 6.4 2023-04-28 16:24:32 -07:00
44x powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
52xx powerpc: 52xx: Make immr_id DT match tables static 2023-06-21 15:13:56 +10:00
82xx powerpc: drop MPC8272-ADS and PowerQUICC II FADS shared code. 2023-04-20 13:21:48 +10:00
83xx powerpc: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
85xx powerpc/64e: Fix secondary thread bringup for ELFv2 kernels 2023-08-01 21:01:27 +10:00
86xx powerpc: delete empty config entry for PPC_86xx 2023-05-15 23:25:56 +10:00
512x powerpc/512x: lpbfifo: Convert to platform remove callback returning void 2023-07-17 15:13:48 +10:00
amigaone powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
book3s driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
cell powerpc/spufs: remove unneeded if-checks 2023-05-15 23:25:56 +10:00
chrp powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
embedded6xx powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set 2023-06-09 23:29:50 +10:00
maple powerpc: Use of_property_read_bool() for boolean properties 2023-03-30 23:36:35 +11:00
microwatt powerpc: Make generic_calibrate_decr() the default 2023-03-16 08:56:48 +11:00
pasemi powerpc: Use of_property_read_bool() for boolean properties 2023-03-30 23:36:35 +11:00
powermac powerpc/powermac: Use early_* IO variants in via_calibrate_decr() 2023-08-02 22:57:22 +10:00
powernv powerpc: powernv: Annotate data races in opal events 2023-06-21 15:13:57 +10:00
ps3 powerpc/platforms: Use 'compatible' property for simple cases 2023-03-15 00:52:10 +11:00
pseries powerpc/pseries/vas: Hold mmap_mutex after mmap lock during window close 2023-07-17 10:35:06 +10:00
fsl_uli1575.c powerpc/fsl_uli1575: Mark uli_exclude_device() as static 2023-04-20 10:20:50 +10:00
Kconfig powerpc/fsl_uli1575: fix kconfig warnings and build errors 2023-05-08 23:00:00 +10:00
Kconfig.cputype powerpc/64: vmlinux support building with PCREL addresing 2023-04-20 12:59:21 +10:00
Makefile powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00