# git rev-parse -q --verify fedb8da96355f5f64353625bf96dc69423ad1826^{commit} fedb8da96355f5f64353625bf96dc69423ad1826 already have revision, skipping fetch # git checkout -q -f -B kisskb fedb8da96355f5f64353625bf96dc69423ad1826 # git clean -qxdf # < git log -1 # commit fedb8da96355f5f64353625bf96dc69423ad1826 # Author: John David Anglin # Date: Sun Aug 5 13:30:31 2018 -0400 # # parisc: Define mb() and add memory barriers to assembler unlock sequences # # For years I thought all parisc machines executed loads and stores in # order. However, Jeff Law recently indicated on gcc-patches that this is # not correct. There are various degrees of out-of-order execution all the # way back to the PA7xxx processor series (hit-under-miss). The PA8xxx # series has full out-of-order execution for both integer operations, and # loads and stores. # # This is described in the following article: # http://web.archive.org/web/20040214092531/http://www.cpus.hp.com/technical_references/advperf.shtml # # For this reason, we need to define mb() and to insert a memory barrier # before the store unlocking spinlocks. This ensures that all memory # accesses are complete prior to unlocking. The ldcw instruction performs # the same function on entry. # # Signed-off-by: John David Anglin # Cc: stable@vger.kernel.org # 4.0+ # Signed-off-by: Helge Deller # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 fedb8da96355f5f64353625bf96dc69423ad1826 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc 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/linus_ppc44x_defconfig_powerpc 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:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:637:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1835:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1745:46: warning: 'linear' 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:339:21: note: 'pdeo' was declared here arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x521a7c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5113d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2577747 Bytes = 2517.33 kB = 2.46 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604228 Bytes = 2543.19 kB = 2.48 MB Load Address: 00600000 Entry Point: 00600178 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604222 Bytes = 2543.19 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601114 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604459 Bytes = 2543.42 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604381 Bytes = 2543.34 kB = 2.48 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604371 Bytes = 2543.33 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601118 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604446 Bytes = 2543.40 kB = 2.48 MB Load Address: 00600000 Entry Point: 006000a4 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604332 Bytes = 2543.29 kB = 2.48 MB Load Address: 00600000 Entry Point: 00601100 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604502 Bytes = 2543.46 kB = 2.48 MB Load Address: 00600000 Entry Point: 006010f4 Image Name: Linux-4.18.0-rc8-gfedb8da Created: Thu Aug 9 07:19:24 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2604415 Bytes = 2543.37 kB = 2.48 MB Load Address: 00600000 Entry Point: 0060110c Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc # Build took: 0:00:41.209540