# git rev-parse -q --verify 5a43800ff4cb810a1a67e301a496335dd7c06935^{commit} 5a43800ff4cb810a1a67e301a496335dd7c06935 already have revision, skipping fetch # git checkout -q -f -B kisskb 5a43800ff4cb810a1a67e301a496335dd7c06935 # git clean -qxdf # < git log -1 # commit 5a43800ff4cb810a1a67e301a496335dd7c06935 # 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 5a43800ff4cb810a1a67e301a496335dd7c06935 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # Added to kconfig CONFIG_SMP=n # yes \n | make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xb2f858) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.4.0-rc2-g5a43800ff4cb Created: Fri Oct 25 00:11:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4688846 Bytes = 4578.95 KiB = 4.47 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64e_defconfig+UP_powerpc-gcc5 # Build took: 0:02:06.572744