# git rev-parse -q --verify d78d5dace5398b542fd5a21b50db6e88ce7d392e^{commit} d78d5dace5398b542fd5a21b50db6e88ce7d392e already have revision, skipping fetch # git checkout -q -f -B kisskb d78d5dace5398b542fd5a21b50db6e88ce7d392e # git clean -qxdf # < git log -1 # commit d78d5dace5398b542fd5a21b50db6e88ce7d392e # Author: Aneesh Kumar K.V # Date: Thu Oct 24 15:05:42 2019 +0530 # # powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full # # With bolted hash page table entry, kernel currently only use primary hash group # when inserting the hash page table entry. In the rare case where kernel find all the # 8 primary hash slot occupied by bolted entries, this can result in hash page # table insert failure for bolted entries. Avoid this by using the secondary hash # group. # # This is different from what kernel does for the non-bolted mapping. With # non-bolted entries kernel will try secondary before removing an existing entry # from hash page table group. With bolted prefer primary hash group and hence # try to insert the page table entry by removing a slot from primary before trying # the secondary hash group. # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191024093542.29777-3-aneesh.kumar@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 d78d5dace5398b542fd5a21b50db6e88ce7d392e # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc8540_ads_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4b4590) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.4.0-rc2-gd78d5dace539 Created: Mon Oct 28 23:07:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2473013 Bytes = 2415.05 KiB = 2.36 MiB Load Address: 00500000 Entry Point: 005002a4 INFO: Uncompressed kernel (size 0x4a3ed0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.4.0-rc2-gd78d5dace539 Created: Mon Oct 28 23:07:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2444044 Bytes = 2386.76 KiB = 2.33 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_mpc8540_ads_defconfig_powerpc-gcc5 # Build took: 0:00:22.886636