# git rev-parse -q --verify c33177fdd341d19fdb52334a65708fa9b58169ee^{commit} c33177fdd341d19fdb52334a65708fa9b58169ee already have revision, skipping fetch # git checkout -q -f -B kisskb c33177fdd341d19fdb52334a65708fa9b58169ee # git clean -qxdf # < git log -1 # commit c33177fdd341d19fdb52334a65708fa9b58169ee # Author: Kajol Jain # Date: Wed Aug 28 15:51:41 2024 +0530 # # docs: ABI: sysfs-bus-event_source-devices-vpa-dtl: Document sysfs event format entries for vpa_dtl pmu # # Details are added for the vpa_dtl pmu event and format # attributes in the ABI documentation. # # Signed-off-by: Kajol Jain # Signed-off-by: Michael Ellerman # Link: https://msgid.link/20240828102141.1052332-2-kjain@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c33177fdd341d19fdb52334a65708fa9b58169ee # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig Using /kisskb/src/arch/powerpc/configs/ppc64_defconfig as base Merging /kisskb/src/arch/powerpc/configs/le.config # # merged configuration written to .config (needs make) # # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/perf/vpa-pmu.c: In function 'vpa_dtl_reset_global_refc': /kisskb/src/arch/powerpc/perf/vpa-pmu.c:212:26: error: passing argument 1 of 'up_write' from incompatible pointer type [-Werror=incompatible-pointer-types] 212 | up_write(&dtl_access_lock); | ^~~~~~~~~~~~~~~~ | | | rwlock_t * In file included from /kisskb/src/include/linux/mm_types.h:13, from /kisskb/src/include/linux/mmzone.h:22, from /kisskb/src/include/linux/gfp.h:7, from /kisskb/src/include/linux/xarray.h:16, from /kisskb/src/include/linux/radix-tree.h:21, from /kisskb/src/include/linux/idr.h:15, from /kisskb/src/include/linux/kernfs.h:12, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/energy_model.h:7, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/arch/powerpc/include/asm/perf_event_server.h:10, from /kisskb/src/arch/powerpc/include/asm/perf_event.h:14, from /kisskb/src/include/linux/perf_event.h:25, from /kisskb/src/arch/powerpc/perf/vpa-pmu.c:11: /kisskb/src/include/linux/rwsem.h:239:43: note: expected 'struct rw_semaphore *' but argument is of type 'rwlock_t *' 239 | extern void up_write(struct rw_semaphore *sem); | ~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/arch/powerpc/perf/vpa-pmu.c: In function 'vpa_dtl_event_init': /kisskb/src/arch/powerpc/perf/vpa-pmu.c:261:57: error: passing argument 1 of 'down_write_trylock' from incompatible pointer type [-Werror=incompatible-pointer-types] 261 | if (dtl_global_refc == 0 && !down_write_trylock(&dtl_access_lock)) { | ^~~~~~~~~~~~~~~~ | | | rwlock_t * /kisskb/src/include/linux/rwsem.h:229:52: note: expected 'struct rw_semaphore *' but argument is of type 'rwlock_t *' 229 | extern int down_write_trylock(struct rw_semaphore *sem); | ~~~~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/arch/powerpc/perf/vpa-pmu.c: In function 'vpa_dtl_cpu_offline': /kisskb/src/arch/powerpc/perf/vpa-pmu.c:402:26: error: passing argument 1 of 'up_write' from incompatible pointer type [-Werror=incompatible-pointer-types] 402 | up_write(&dtl_access_lock); | ^~~~~~~~~~~~~~~~ | | | rwlock_t * /kisskb/src/include/linux/rwsem.h:239:43: note: expected 'struct rw_semaphore *' but argument is of type 'rwlock_t *' 239 | extern void up_write(struct rw_semaphore *sem); | ~~~~~~~~~~~~~~~~~~~~~^~~ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:244: arch/powerpc/perf/vpa-pmu.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:485: arch/powerpc/perf] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: arch/powerpc] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1925: .] Error 2 make[1]: *** [/kisskb/src/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc13 # Build took: 0:07:28.312600