# 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/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 452ef502d6d2d5729d3be1ad501e3361678a013f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' :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] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187: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:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:337:21: note: 'pdeo' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.35': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/fs/fs_parser.c:413:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'read' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:498:15: note: 'read' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1845:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1755:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55931c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2729521 Bytes = 2665.55 KiB = 2.60 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762816 Bytes = 2698.06 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762894 Bytes = 2698.14 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762873 Bytes = 2698.12 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:53 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762951 Bytes = 2698.19 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2761584 Bytes = 2696.86 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762883 Bytes = 2698.13 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762726 Bytes = 2697.97 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006001bc Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762785 Bytes = 2698.03 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.1.0-rc2-g452ef502d6d2 Created: Wed Mar 27 01:21:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2762859 Bytes = 2698.10 KiB = 2.63 MiB Load Address: 00600000 Entry Point: 006014ec Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:50.158791