# 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/ia64-linux/bin/ia64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-ld --version # < git log --format=%s --max-count=1 2e60265c1feb6848c77dbea22d38bbe262ec49db # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- defconfig # < make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- help # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- olddefconfig # make -s -j 48 ARCH=ia64 O=/kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/ia64/include/uapi/asm/intrinsics.h:22:0, from /kisskb/src/arch/ia64/include/asm/intrinsics.h:11, from /kisskb/src/arch/ia64/include/asm/timex.h:14, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:355:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^ No errors detected in 22424 functions. Completed OK # rm -rf /kisskb/build/powerpc-next_ia64-defconfig_ia64-gcc4.9 # Build took: 0:02:16.567741