# git rev-parse -q --verify 0460534b532e5518c657c7d6492b9337d975eaa3^{commit} 0460534b532e5518c657c7d6492b9337d975eaa3 already have revision, skipping fetch # git checkout -q -f -B kisskb 0460534b532e5518c657c7d6492b9337d975eaa3 # git clean -qxdf # < git log -1 # commit 0460534b532e5518c657c7d6492b9337d975eaa3 # Author: Vaibhav Jain # Date: Mon Sep 7 16:35:40 2020 +0530 # # powerpc/papr_scm: Limit the readability of 'perf_stats' sysfs attribute # # The newly introduced 'perf_stats' attribute uses the default access # mode of 0444, allowing non-root users to access performance stats of # an nvdimm and potentially force the kernel into issuing a large number # of expensive hypercalls. Since the information exposed by this # attribute cannot be cached it is better to ward off access to this # attribute from users who don't need to access to these performance # statistics. # # Hence update the access mode of 'perf_stats' attribute to be only # readable by root users. # # Fixes: 2d02bf835e57 ("powerpc/papr_scm: Fetch nvdimm performance stats from PHYP") # Reported-by: Aneesh Kumar K.V # Signed-off-by: Vaibhav Jain # Reviewed-by: Ira Weiny # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200907110540.21349-1-vaibhav@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 0460534b532e5518c657c7d6492b9337d975eaa3 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-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) { } ^ In file included from /kisskb/src/include/linux/skbuff.h:31:0, from /kisskb/src/include/linux/if_ether.h:19, from /kisskb/src/include/uapi/linux/ethtool.h:19, from /kisskb/src/include/linux/ethtool.h:18, from /kisskb/src/include/linux/netdevice.h:37, from /kisskb/src/drivers/net/ethernet/sfc/net_driver.h:13, from /kisskb/src/drivers/net/ethernet/sfc/ef100.c:12: /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_continue_entry': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:145:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:163:6: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_parse_xilinx_cap': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:337:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c: In function 'ef100_pci_probe': /kisskb/src/include/linux/dma-mapping.h:139:25: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) ^ /kisskb/src/drivers/net/ethernet/sfc/ef100.c:498:5: note: in expansion of macro 'DMA_BIT_MASK' DMA_BIT_MASK(ESF_GZ_TX_SEND_ADDR_WIDTH), ^ INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xae73c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xae73c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf7aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:08 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5234538 Bytes = 5111.85 KiB = 4.99 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5265056 Bytes = 5141.66 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5264013 Bytes = 5140.64 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5264996 Bytes = 5141.60 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5263910 Bytes = 5140.54 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5263818 Bytes = 5140.45 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5263894 Bytes = 5140.52 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5263963 Bytes = 5140.59 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.9.0-rc1+ Created: Thu Sep 10 23:25:09 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5264872 Bytes = 5141.48 KiB = 5.02 MiB Load Address: 00b00000 Entry Point: 00b00894 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:03:31.703811