# git rev-parse -q --verify b970afcfcabd63cd3832e95db096439c177c3592^{commit} b970afcfcabd63cd3832e95db096439c177c3592 already have revision, skipping fetch # git checkout -q -f -B kisskb b970afcfcabd63cd3832e95db096439c177c3592 # git clean -qxdf # < git log -1 # commit b970afcfcabd63cd3832e95db096439c177c3592 # Merge: 8ea5b2abd07e 8150a153c013 # Author: Linus Torvalds # Date: Fri May 10 05:29:27 2019 -0700 # # Merge tag 'powerpc-5.2-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/powerpc/linux # # Pull powerpc updates from Michael Ellerman: # "Slightly delayed due to the issue with printk() calling # probe_kernel_read() interacting with our new user access prevention # stuff, but all fixed now. # # The only out-of-area changes are the addition of a cpuhp_state, small # additions to Documentation and MAINTAINERS updates. # # Highlights: # # - Support for Kernel Userspace Access/Execution Prevention (like # SMAP/SMEP/PAN/PXN) on some 64-bit and 32-bit CPUs. This prevents # the kernel from accidentally accessing userspace outside # copy_to/from_user(), or ever executing userspace. # # - KASAN support on 32-bit. # # - Rework of where we map the kernel, vmalloc, etc. on 64-bit hash to # use the same address ranges we use with the Radix MMU. # # - A rewrite into C of large parts of our idle handling code for # 64-bit Book3S (ie. power8 & power9). # # - A fast path entry for syscalls on 32-bit CPUs, for a 12-17% speedup # in the null_syscall benchmark. # # - On 64-bit bare metal we have support for recovering from errors # with the time base (our clocksource), however if that fails # currently we hang in __delay() and never crash. We now have support # for detecting that case and short circuiting __delay() so we at # least panic() and reboot. # # - Add support for optionally enabling the DAWR on Power9, which had # to be disabled by default due to a hardware erratum. This has the # effect of enabling hardware breakpoints for GDB, the downside is a # badly behaved program could crash the machine by pointing the DAWR # at cache inhibited memory. This is opt-in obviously. # # - xmon, our crash handler, gets support for a read only mode where # operations that could change memory or otherwise disturb the system # are disabled. # # Plus many clean-ups, reworks and minor fixes etc. # # Thanks to: Christophe Leroy, Akshay Adiga, Alastair D'Silva, Alexey # Kardashevskiy, Andrew Donnellan, Aneesh Kumar K.V, Anju T Sudhakar, # Anton Blanchard, Ben Hutchings, Bo YU, Breno Leitao, Cédric Le Goater, # Christopher M. Riedl, Christoph Hellwig, Colin Ian King, David Gibson, # Ganesh Goudar, Gautham R. Shenoy, George Spelvin, Greg Kroah-Hartman, # Greg Kurz, Horia Geantă, Jagadeesh Pagadala, Joel Stanley, Joe # Perches, Julia Lawall, Laurentiu Tudor, Laurent Vivier, Lukas Bulwahn, # Madhavan Srinivasan, Mahesh Salgaonkar, Mathieu Malaterre, Michael # Neuling, Mukesh Ojha, Nathan Fontenot, Nathan Lynch, Nicholas Piggin, # Nick Desaulniers, Oliver O'Halloran, Peng Hao, Qian Cai, Ravi # Bangoria, Rick Lindsley, Russell Currey, Sachin Sant, Stewart Smith, # Sukadev Bhattiprolu, Thomas Huth, Tobin C. Harding, Tyrel Datwyler, # Valentin Schneider, Wei Yongjun, Wen Yang, YueHaibing" # # * tag 'powerpc-5.2-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (205 commits) # powerpc/64s: Use early_mmu_has_feature() in set_kuap() # powerpc/book3s/64: check for NULL pointer in pgd_alloc() # powerpc/mm: Fix hugetlb page initialization # ocxl: Fix return value check in afu_ioctl() # powerpc/mm: fix section mismatch for setup_kup() # powerpc/mm: fix redundant inclusion of pgtable-frag.o in Makefile # powerpc/mm: Fix makefile for KASAN # powerpc/kasan: add missing/lost Makefile # selftests/powerpc: Add a signal fuzzer selftest # powerpc/booke64: set RI in default MSR # ocxl: Provide global MMIO accessors for external drivers # ocxl: move event_fd handling to frontend # ocxl: afu_irq only deals with IRQ IDs, not offsets # ocxl: Allow external drivers to use OpenCAPI contexts # ocxl: Create a clear delineation between ocxl backend & frontend # ocxl: Don't pass pci_dev around # ocxl: Split pci.c # ocxl: Remove some unused exported symbols # ocxl: Remove superfluous 'extern' from headers # ocxl: read_pasid never returns an error, so make it void # ... # < /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 b970afcfcabd63cd3832e95db096439c177c3592 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick 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/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2589:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1850:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /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/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:331:21: note: 'pdeo' was declared here /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /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 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbd717c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbc69b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737286 Bytes = 5602.82 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5738569 Bytes = 5604.07 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737313 Bytes = 5602.84 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737223 Bytes = 5602.76 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5738099 Bytes = 5603.61 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737376 Bytes = 5602.91 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5740130 Bytes = 5605.60 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737502 Bytes = 5603.03 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737458 Bytes = 5602.99 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737362 Bytes = 5602.89 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737214 Bytes = 5602.75 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5705855 Bytes = 5572.12 KiB = 5.44 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737358 Bytes = 5602.89 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5737212 Bytes = 5602.75 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5739179 Bytes = 5604.67 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.1.0-gb970afcfcabd Created: Sat May 11 00:47:46 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5740285 Bytes = 5605.75 KiB = 5.47 MiB Load Address: 00c00000 Entry Point: 00c002a8 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:00:46.229858