# git rev-parse -q --verify 452ef502d6d2d5729d3be1ad501e3361678a013f^{commit} 452ef502d6d2d5729d3be1ad501e3361678a013f already have revision, skipping fetch # git checkout -q -f -B kisskb 452ef502d6d2d5729d3be1ad501e3361678a013f # git clean -qxdf # < git log -1 # commit 452ef502d6d2d5729d3be1ad501e3361678a013f # Author: Gautham R. Shenoy # Date: Fri Mar 8 21:03:24 2019 +0530 # # powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes # # In cpu_to_drc_index() in the case when FW_FEATURE_DRC_INFO is absent, # we currently use of_read_property() to obtain the pointer to the array # corresponding to the property "ibm,drc-indexes". The elements of this # array are of type __be32, but are accessed without any conversion to # the OS-endianness, which is buggy on a Little Endian OS. # # Fix this by using of_property_read_u32_index() accessor function to # safely read the elements of the array. # # Fixes: e83636ac3334 ("pseries/drc-info: Search DRC properties for CPU indexes") # Cc: stable@vger.kernel.org # v4.16+ # Reported-by: Pavithra R. Prakash # Signed-off-by: Gautham R. Shenoy # Reviewed-by: Vaidyanathan Srinivasan # Signed-off-by: Michael Ellerman # < /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 452ef502d6d2d5729d3be1ad501e3361678a013f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/fs_context.h:15, from /kisskb/src/fs/fs_parser.c:13: /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^ /kisskb/src/include/linux/printk.h:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/fs/fs_parser.c:413:6: note: in expansion of macro 'pr_err' pr_err("VALIDATE %s: e[%lu] enum val for %s\n", ^ /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:498:15: warning: 'read' may be used uninitialized in this function [-Wmaybe-uninitialized] size_t want, read; ^ /kisskb/src/net/sunrpc/xprtsock.c:529:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret < 0 ? ret : read; ^ /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here ssize_t ret; ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xbc3830) 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 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xbc3830) 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 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc3830) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb2ffc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792287 Bytes = 5656.53 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792535 Bytes = 5656.77 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5794718 Bytes = 5658.90 KiB = 5.53 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5794481 Bytes = 5658.67 KiB = 5.53 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5793267 Bytes = 5657.49 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792361 Bytes = 5656.60 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c00314 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792379 Bytes = 5656.62 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c00314 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5762850 Bytes = 5627.78 KiB = 5.50 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792674 Bytes = 5656.91 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c00314 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792644 Bytes = 5656.88 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5794676 Bytes = 5658.86 KiB = 5.53 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5794424 Bytes = 5658.62 KiB = 5.53 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792598 Bytes = 5656.83 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792363 Bytes = 5656.60 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c00314 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792662 Bytes = 5656.90 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c00314 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 02:03:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5792598 Bytes = 5656.83 KiB = 5.52 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc5 # Build took: 0:01:12.084938