# 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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 50ad3f0d00248ed0dda6c8bb69e603b3e900161b # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4107:warning: override: reassigning to symbol PPC_E500MC .config:4108:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe95790) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) INFO: Uncompressed kernel (size 0xe84f8c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xf00000) Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6781915 Bytes = 6622.96 KiB = 6.47 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817882 Bytes = 6658.09 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817233 Bytes = 6657.45 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816344 Bytes = 6656.59 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817276 Bytes = 6657.50 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817277 Bytes = 6657.50 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816455 Bytes = 6656.69 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816509 Bytes = 6656.75 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816558 Bytes = 6656.79 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817207 Bytes = 6657.43 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817375 Bytes = 6657.59 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816414 Bytes = 6656.65 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:49 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816561 Bytes = 6656.80 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f0031c Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:50 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817706 Bytes = 6657.92 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:50 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817957 Bytes = 6658.16 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Image Name: Linux-5.8.0-rc2-g50ad3f0d0024 Created: Tue Jul 28 06:04:50 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6816507 Bytes = 6656.75 KiB = 6.50 MiB Load Address: 00f00000 Entry Point: 00f002cc Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:46.123547