# git rev-parse -q --verify 7f08c318df48fbcfc16a1cfbfad6818542510d57^{commit} 7f08c318df48fbcfc16a1cfbfad6818542510d57 already have revision, skipping fetch # git checkout -q -f -B kisskb 7f08c318df48fbcfc16a1cfbfad6818542510d57 # git clean -qxdf # < git log -1 # commit 7f08c318df48fbcfc16a1cfbfad6818542510d57 # Author: Kajol Jain # Date: Fri Feb 14 13:36:06 2020 +0530 # # powerpc/kernel/sysfs: Add new config option PMU_SYSFS to enable PMU SPRs sysfs file creation # # Many of the performance monitoring unit (PMU) SPRs are # exposed in the sysfs. This may not be a desirable since # "perf" API is the primary interface to program PMU and # collect counter data in the system. But that said, we # cant remove these sysfs files since we dont whether # anyone/anything is using them. # # So the patch adds a new CONFIG option 'CONFIG_PMU_SYSFS' # (user selectable) to be used in sysfs file creation for # PMU SPRs. New option by default is disabled, but can be # enabled if user needs it. # # Tested this patch behaviour in powernv and pseries machines. # Patch is also tested for pmac32_defconfig. # # Signed-off-by: Kajol Jain # Tested-by: Nageswara R Sastry # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200214080606.26872-2-kjain@linux.ibm.com # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 7f08c318df48fbcfc16a1cfbfad6818542510d57 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_currituck_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/currituck_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_currituck_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:72:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/kernel/trace/trace_events.c: In function 'event_create_dir': /kisskb/src/kernel/trace/trace_events.c:2040:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5009:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/io_uring.c: In function '__io_sqe_files_update.isra.64': /kisskb/src/fs/io_uring.c:5824:13: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' Completed OK # rm -rf /kisskb/build/powerpc-next_44x_currituck_defconfig_powerpc-gcc4.6 # Build took: 0:00:56.045925