# git rev-parse -q --verify 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b^{commit} 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b already have revision, skipping fetch # git checkout -q -f -B kisskb 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # git clean -qxdf # < git log -1 # commit 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # Author: Madhavan Srinivasan # Date: Thu Jan 18 00:33:36 2018 +0530 # # powerpc/64s: Default l1d_size to 64K in RFI fallback flush # # If there is no d-cache-size property in the device tree, l1d_size could # be zero. We don't actually expect that to happen, it's only been seen # on mambo (simulator) in some configurations. # # A zero-size l1d_size leads to the loop in the asm wrapping around to # 2^64-1, and then walking off the end of the fallback area and # eventually causing a page fault which is fatal. # # Just default to 64K which is correct on some CPUs, and sane enough to # not cause a crash on others. # # Fixes: aa8a5e0062ac9 ('powerpc/64s: Add support for RFI flush of L1-D cache') # Signed-off-by: Madhavan Srinivasan # [mpe: Rewrite comment and change log] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- amigaone_defconfig WARNING: unmet direct dependencies detected for NOT_COHERENT_CACHE Depends on [n]: 4xx [=n] || PPC_8xx [=n] || E200 [=n] || PPC_MPC512x [=n] || GAMECUBE_COMMON [=n] Selected by [y]: - AMIGAONE [=y] && 6xx [=y] && BROKEN_ON_SMP [=y] WARNING: unmet direct dependencies detected for NOT_COHERENT_CACHE Depends on [n]: 4xx [=n] || PPC_8xx [=n] || E200 [=n] || PPC_MPC512x [=n] || GAMECUBE_COMMON [=n] Selected by [y]: - AMIGAONE [=y] && 6xx [=y] && BROKEN_ON_SMP [=y] # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: unmet direct dependencies detected for NOT_COHERENT_CACHE Depends on [n]: 4xx [=n] || PPC_8xx [=n] || E200 [=n] || PPC_MPC512x [=n] || GAMECUBE_COMMON [=n] Selected by [y]: - AMIGAONE [=y] && 6xx [=y] && BROKEN_ON_SMP [=y] WARNING: unmet direct dependencies detected for NOT_COHERENT_CACHE Depends on [n]: 4xx [=n] || PPC_8xx [=n] || E200 [=n] || PPC_MPC512x [=n] || GAMECUBE_COMMON [=n] Selected by [y]: - AMIGAONE [=y] && 6xx [=y] && BROKEN_ON_SMP [=y] INFO: Uncompressed kernel (size 0x5c31c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-rc1+ Created: Tue Apr 17 21:45:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2924376 Bytes = 2855.84 kB = 2.79 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc1+ Created: Tue Apr 17 21:45:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2946352 Bytes = 2877.30 kB = 2.81 MB Load Address: 00800000 Entry Point: 00800108 Completed OK # rm -rf /kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-5.3 # Build took: 0:00:50.691594