# git rev-parse -q --verify 50ad3f0d00248ed0dda6c8bb69e603b3e900161b^{commit} 50ad3f0d00248ed0dda6c8bb69e603b3e900161b already have revision, skipping fetch # git checkout -q -f -B kisskb 50ad3f0d00248ed0dda6c8bb69e603b3e900161b # git clean -qxdf # < git log -1 # commit 50ad3f0d00248ed0dda6c8bb69e603b3e900161b # Author: Aneesh Kumar K.V # Date: Mon Jul 27 14:29:08 2020 +0530 # # powerpc/book3s64/radix: Add kernel command line option to disable radix GTSE # # This adds a kernel command line option that can be used to disable GTSE support. # Disabling GTSE implies kernel will make hcalls to invalidate TLB entries. # # This was done so that we can do VM migration between configs that enable/disable # GTSE support via hypervisor. To migrate a VM from a system that supports # GTSE to a system that doesn't, we can boot the guest with # radix_hcall_invalidate=on, thereby forcing the guest to use hcalls for TLB # invalidates. # # The check for hcall availability is done in pSeries_setup_arch so that # the panic message appears on the console. This should only happen on # a hypervisor that doesn't force the guest to hash translation even # though it can't handle the radix GTSE=0 request via CAS. With # radix_hcall_invalidate=on if the hypervisor doesn't support hcall_rpt_invalidate # hcall it should force the LPAR to hash translation. # # Signed-off-by: Aneesh Kumar K.V # Tested-by: Bharata B Rao # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200727085908.420806-1-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 50ad3f0d00248ed0dda6c8bb69e603b3e900161b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 52xx/lite5200b_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression INFO: Uncompressed kernel (size 0x52dc40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x52dc40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x51d588) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.8.0-rc2-32159-g50ad3f0d0 Created: Tue Jul 28 05:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2619327 Bytes = 2557.94 KiB = 2.50 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc2-32159-g50ad3f0d0 Created: Tue Jul 28 05:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2647550 Bytes = 2585.50 KiB = 2.52 MiB Load Address: 00600000 Entry Point: 00600284 Image Name: Linux-5.8.0-rc2-32159-g50ad3f0d0 Created: Tue Jul 28 05:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2648043 Bytes = 2585.98 KiB = 2.53 MiB Load Address: 00600000 Entry Point: 00600284 Completed OK # rm -rf /kisskb/build/powerpc-next_52xx_lite5200b_defconfig_powerpc-gcc5 # Build took: 0:00:53.667020