# git rev-parse -q --verify aaf01a9f507c108cc8e86f420b0a81e21354be1b^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git next-test # git rev-parse -q --verify aaf01a9f507c108cc8e86f420b0a81e21354be1b^{commit} aaf01a9f507c108cc8e86f420b0a81e21354be1b # git checkout -q -f -B kisskb aaf01a9f507c108cc8e86f420b0a81e21354be1b # git clean -qxdf # < git log -1 # commit aaf01a9f507c108cc8e86f420b0a81e21354be1b # Author: Pratik R. Sampat # Date: Wed Jul 28 17:35:00 2021 +0530 # # cpufreq: powernv: Fix init_chip_info initialization in numa=off # # In the numa=off kernel command-line configuration init_chip_info() loops # around the number of chips and attempts to copy the cpumask of that node # which is NULL for all iterations after the first chip. # # Hence, store the cpu mask for each chip instead of derving cpumask from # node while populating the "chips" struct array and copy that to the # chips[i].mask # # Fixes: 053819e0bf84 ("cpufreq: powernv: Handle throttling due to Pmax capping at chip level") # Cc: stable@vger.kernel.org # v4.3+ # Reported-by: Shirisha Ganta # Signed-off-by: Pratik R. Sampat # Reviewed-by: Gautham R. Shenoy # [mpe: Rename goto label to out_free_chip_cpu_mask] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210728120500.87549-2-psampat@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 aaf01a9f507c108cc8e86f420b0a81e21354be1b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4866:warning: override: reassigning to symbol STANDALONE .config:4870:warning: override: reassigning to symbol PPC64 .config:4872:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4873:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4877:warning: override: reassigning to symbol TRIM_UNUSED_KSYMS # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/trace/trace_osnoise.c: In function 'start_kthread': /kisskb/src/kernel/trace/trace_osnoise.c:1461:8: warning: 'main' is usually a function [-Wmain] void *main = osnoise_main; ^ /kisskb/src/drivers/cxl/core.c: In function 'cxl_probe_component_regs': /kisskb/src/drivers/cxl/core.c:567:17: warning: missing braces around initializer [-Wmissing-braces] *map = (struct cxl_component_reg_map) { 0 }; ^ /kisskb/src/drivers/cxl/core.c:567:17: warning: (near initialization for '(anonymous).hdm_decoder') [-Wmissing-braces] /kisskb/src/drivers/cxl/core.c: In function 'cxl_probe_device_regs': /kisskb/src/drivers/cxl/core.c:831:17: warning: missing braces around initializer [-Wmissing-braces] *map = (struct cxl_device_reg_map){ 0 }; ^ /kisskb/src/drivers/cxl/core.c:831:17: warning: (near initialization for '(anonymous).status') [-Wmissing-braces] WARNING: modpost: vmlinux.o(__ex_table+0x1ae8): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x1ae8 references section ".softirqentry.text" which is not in the list of authorized sections. If you're adding a new section and/or if this reference is valid, add ".softirqentry.text" to the list of authorized sections to jump to on fault. This can be achieved by adding ".softirqentry.text" to OTHER_TEXT_SECTIONS in scripts/mod/modpost.c. WARNING: modpost: vmlinux.o(__ex_table+0x1aec): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .softirqentry.text:(unknown) The relocation at __ex_table+0x1aec references section ".softirqentry.text" which is not in the list of authorized sections. If you're adding a new section and/or if this reference is valid, add ".softirqentry.text" to the list of authorized sections to jump to on fault. This can be achieved by adding ".softirqentry.text" to OTHER_TEXT_SECTIONS in scripts/mod/modpost.c. Completed OK # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc4.9 # Build took: 0:18:57.148045