# git rev-parse -q --verify 86582e6189dd8f9f52c25d46c70fe5d111da6345^{commit} 86582e6189dd8f9f52c25d46c70fe5d111da6345 already have revision, skipping fetch # git checkout -q -f -B kisskb 86582e6189dd8f9f52c25d46c70fe5d111da6345 # git clean -qxdf # < git log -1 # commit 86582e6189dd8f9f52c25d46c70fe5d111da6345 # Author: Benjamin Gray # Date: Thu Jul 6 11:08:16 2023 +1000 # # 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 721255b9826b # ("genirq: Use a maple tree for interrupt descriptor management"). # # Signed-off-by: Benjamin Gray # Reviewed-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20230706010816.72682-1-bgray@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 86582e6189dd8f9f52c25d46c70fe5d111da6345 # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mgcoge_defconfig # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_mgcoge_defconfig_powerpc-gcc5 # Build took: 0:00:34.721266