# git rev-parse -q --verify 2e60265c1feb6848c77dbea22d38bbe262ec49db^{commit} 2e60265c1feb6848c77dbea22d38bbe262ec49db already have revision, skipping fetch # git checkout -q -f -B kisskb 2e60265c1feb6848c77dbea22d38bbe262ec49db # git clean -qxdf # < git log -1 # commit 2e60265c1feb6848c77dbea22d38bbe262ec49db # Author: Athira Rajeev # Date: Mon Sep 21 03:10:04 2020 -0400 # # powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints # # PMU counter support functions enforces event constraints for group of # events to check if all events in a group can be monitored. Incase of # event codes using PMC5 and PMC6 ( 500fa and 600f4 respectively ), not # all constraints are applicable, say the threshold or sample bits. But # current code includes pmc5 and pmc6 in some group constraints (like # IC_DC Qualifier bits) which is actually not applicable and hence # results in those events not getting counted when scheduled along with # group of other events. Patch fixes this by excluding PMC5/6 from # constraints which are not relevant for it. # # Fixes: 7ffd948 ("powerpc/perf: factor out power8 pmu functions") # Signed-off-by: Athira Rajeev # Reviewed-by: Madhavan Srinivasan # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/1600672204-1610-1-git-send-email-atrajeev@linux.vnet.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 2e60265c1feb6848c77dbea22d38bbe262ec49db # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_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_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/kernel/rcu/update.c:591:0: /kisskb/src/kernel/rcu/tasks.h:593:13: warning: 'show_rcu_tasks_classic_gp_kthread' defined but not used [-Wunused-function] static void show_rcu_tasks_classic_gp_kthread(void) { } ^ /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1667:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xaf3478) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf3478) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb03b60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5328402 Bytes = 5203.52 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5328677 Bytes = 5203.79 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5328387 Bytes = 5203.50 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5296117 Bytes = 5171.99 KiB = 5.05 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5329136 Bytes = 5204.23 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00894 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5328244 Bytes = 5203.36 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5327728 Bytes = 5202.86 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5326977 Bytes = 5202.13 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.9.0-rc2+ Created: Fri Sep 25 04:14:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5329516 Bytes = 5204.61 KiB = 5.08 MiB Load Address: 00c00000 Entry Point: 00c00894 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc4.9 # Build took: 0:03:29.995894