# 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/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 b970afcfcabd63cd3832e95db096439c177c3592 # < make -s -j 48 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # yes \n | make -s -j 48 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/kernel/skas/uaccess.c: In function 'do_op_one_page': /kisskb/src/arch/um/kernel/skas/uaccess.c:62:10: warning: unused variable 'buf' [-Wunused-variable] jmp_buf buf; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'is_umdir_used': /kisskb/src/arch/um/os-Linux/umid.c:138:2: warning: ISO C90 forbids variable length array 'file' [-Wvla] char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'create_pid_file': /kisskb/src/arch/um/os-Linux/umid.c:213:2: warning: ISO C90 forbids variable length array 'file' [-Wvla] char file[strlen(uml_dir) + UMID_LEN + sizeof("/pid\0")]; ^ /kisskb/src/arch/um/os-Linux/umid.c: In function 'remove_umid_dir': /kisskb/src/arch/um/os-Linux/umid.c:388:2: warning: ISO C90 forbids variable length array 'dir' [-Wvla] char dir[strlen(uml_dir) + UMID_LEN + 1], err; ^ /kisskb/src/security/apparmor/policy_unpack.c: In function 'unpack_trans_table': /kisskb/src/security/apparmor/policy_unpack.c:496:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] str[pos] = ':'; ^ /kisskb/src/mm/mprotect.c: In function 'change_pte_range': /kisskb/src/mm/mprotect.c:42:20: warning: unused variable 'mm' [-Wunused-variable] struct mm_struct *mm = vma->vm_mm; ^ /kisskb/src/lib/lz4/lz4hc_compress.c: In function 'LZ4HC_compress_generic': /kisskb/src/lib/lz4/lz4hc_compress.c:579:1: warning: the frame size of 2144 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ drivers/counter/ftm-quaddec.o: In function `ftm_quaddec_probe': /kisskb/src/drivers/counter/ftm-quaddec.c:301: undefined reference to `devm_ioremap' collect2: error: ld returned 1 exit status make[1]: *** [/kisskb/src/Makefile:1054: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 48 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64 # Build took: 0:04:50.778209