1. 08 Nov, 2018 1 commit
  2. 05 Nov, 2018 1 commit
  3. 02 Nov, 2018 7 commits
    • Justin M. Forbes's avatar
      s390/mm: Fix ERROR: "__node_distance" undefined! · a541f0eb
      Justin M. Forbes authored
      Fixes:
      ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
      make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1
      make: *** [Makefile:1275: modules] Error 2
      + exit 1
      Signed-off-by: default avatarJustin M. Forbes <jforbes@fedoraproject.org>
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      a541f0eb
    • Vasily Gorbik's avatar
      s390/kasan: increase instrumented stack size to 64k · 9fed920e
      Vasily Gorbik authored
      Increase kasan instrumented kernel stack size from 32k to 64k. Other
      architectures seems to get away with just doubling kernel stack size under
      kasan, but on s390 this appears to be not enough due to bigger frame size.
      The particular pain point is kasan inlined checks (CONFIG_KASAN_INLINE
      vs CONFIG_KASAN_OUTLINE). With inlined checks one particular case hitting
      stack overflow is fs sync on xfs filesystem:
      
       #0 [9a0681e8]  704 bytes  check_usage at 34b1fc
       #1 [9a0684a8]  432 bytes  check_usage at 34c710
       #2 [9a068658]  1048 bytes  validate_chain at 35044a
       #3 [9a068a70]  312 bytes  __lock_acquire at 3559fe
       #4 [9a068ba8]  440 bytes  lock_acquire at 3576ee
       #5 [9a068d60]  104 bytes  _raw_spin_lock at 21b44e0
       #6 [9a068dc8]  1992 bytes  enqueue_entity at 2dbf72
       #7 [9a069590]  1496 bytes  enqueue_task_fair at 2df5f0
       #8 [9a069b68]  64 bytes  ttwu_do_activate at 28f438
       #9 [9a069ba8]  552 bytes  try_to_wake_up at 298c4c
       #10 [9a069dd0]  168 bytes  wake_up_worker at 23f97c
       #11 [9a069e78]  200 bytes  insert_work at 23fc2e
       #12 [9a069f40]  648 bytes  __queue_work at 2487c0
       #13 [9a06a1c8]  200 bytes  __queue_delayed_work at 24db28
       #14 [9a06a290]  248 bytes  mod_delayed_work_on at 24de84
       #15 [9a06a388]  24 bytes  kblockd_mod_delayed_work_on at 153e2a0
       #16 [9a06a3a0]  288 bytes  __blk_mq_delay_run_hw_queue at 158168c
       #17 [9a06a4c0]  192 bytes  blk_mq_run_hw_queue at 1581a3c
       #18 [9a06a580]  184 bytes  blk_mq_sched_insert_requests at 15a2192
       #19 [9a06a638]  1024 bytes  blk_mq_flush_plug_list at 1590f3a
       #20 [9a06aa38]  704 bytes  blk_flush_plug_list at 1555028
       #21 [9a06acf8]  320 bytes  schedule at 219e476
       #22 [9a06ae38]  760 bytes  schedule_timeout at 21b0aac
       #23 [9a06b130]  408 bytes  wait_for_common at 21a1706
       #24 [9a06b2c8]  360 bytes  xfs_buf_iowait at fa1540
       #25 [9a06b430]  256 bytes  __xfs_buf_submit at fadae6
       #26 [9a06b530]  264 bytes  xfs_buf_read_map at fae3f6
       #27 [9a06b638]  656 bytes  xfs_trans_read_buf_map at 10ac9a8
       #28 [9a06b8c8]  304 bytes  xfs_btree_kill_root at e72426
       #29 [9a06b9f8]  288 bytes  xfs_btree_lookup_get_block at e7bc5e
       #30 [9a06bb18]  624 bytes  xfs_btree_lookup at e7e1a6
       #31 [9a06bd88]  2664 bytes  xfs_alloc_ag_vextent_near at dfa070
       #32 [9a06c7f0]  144 bytes  xfs_alloc_ag_vextent at dff3ca
       #33 [9a06c880]  1128 bytes  xfs_alloc_vextent at e05fce
       #34 [9a06cce8]  584 bytes  xfs_bmap_btalloc at e58342
       #35 [9a06cf30]  1336 bytes  xfs_bmapi_write at e618de
       #36 [9a06d468]  776 bytes  xfs_iomap_write_allocate at ff678e
       #37 [9a06d770]  720 bytes  xfs_map_blocks at f82af8
       #38 [9a06da40]  928 bytes  xfs_writepage_map at f83cd6
       #39 [9a06dde0]  320 bytes  xfs_do_writepage at f85872
       #40 [9a06df20]  1320 bytes  write_cache_pages at 73dfe8
       #41 [9a06e448]  208 bytes  xfs_vm_writepages at f7f892
       #42 [9a06e518]  88 bytes  do_writepages at 73fe6a
       #43 [9a06e570]  872 bytes  __writeback_single_inode at a20cb6
       #44 [9a06e8d8]  664 bytes  writeback_sb_inodes at a23be2
       #45 [9a06eb70]  296 bytes  __writeback_inodes_wb at a242e0
       #46 [9a06ec98]  928 bytes  wb_writeback at a2500e
       #47 [9a06f038]  848 bytes  wb_do_writeback at a260ae
       #48 [9a06f388]  536 bytes  wb_workfn at a28228
       #49 [9a06f5a0]  1088 bytes  process_one_work at 24a234
       #50 [9a06f9e0]  1120 bytes  worker_thread at 24ba26
       #51 [9a06fe40]  104 bytes  kthread at 26545a
       #52 [9a06fea8]             kernel_thread_starter at 21b6b62
      
      To be able to increase the stack size to 64k reuse LLILL instruction
      in __switch_to function to load 64k - STACK_FRAME_OVERHEAD - __PT_SIZE
      (65192) value as unsigned.
      Reported-by: default avatarBenjamin Block <bblock@linux.ibm.com>
      Reviewed-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      9fed920e
    • Thomas Richter's avatar
      s390/cpum_sf: Rework attribute definition for diagnostic sampling · c43e1c5a
      Thomas Richter authored
      Previously, the attribute entry for diagnostic sampling was added
      if authorized.  Otherwise, the array of struct attribute contains
      two NULL values.
      
      Change this logic and reserve space for the attribute for diagnostic
      sampling. If diagnostic sampling is authorized, add an entry in the
      respective position in the array of struct attribute.
      Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
      Reviewed-by: default avatarHendrik Brueckner <brueckner@linux.ibm.com>
      Suggested-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      c43e1c5a
    • Martin Schwidefsky's avatar
      s390/mm: fix mis-accounting of pgtable_bytes · e12e4044
      Martin Schwidefsky authored
      In case a fork or a clone system fails in copy_process and the error
      handling does the mmput() at the bad_fork_cleanup_mm label, the
      following warning messages will appear on the console:
      
        BUG: non-zero pgtables_bytes on freeing mm: 16384
      
      The reason for that is the tricks we play with mm_inc_nr_puds() and
      mm_inc_nr_pmds() in init_new_context().
      
      A normal 64-bit process has 3 levels of page table, the p4d level and
      the pud level are folded. On process termination the free_pud_range()
      function in mm/memory.c will subtract 16KB from pgtable_bytes with a
      mm_dec_nr_puds() call, but there actually is not really a pud table.
      
      One issue with this is the fact that pgtable_bytes is usually off
      by a few kilobytes, but the more severe problem is that for a failed
      fork or clone the free_pgtables() function is not called. In this case
      there is no mm_dec_nr_puds() or mm_dec_nr_pmds() that go together with
      the mm_inc_nr_puds() and mm_inc_nr_pmds in init_new_context().
      The pgtable_bytes will be off by 16384 or 32768 bytes and we get the
      BUG message. The message itself is purely cosmetic, but annoying.
      
      To fix this override the mm_pmd_folded, mm_pud_folded and mm_p4d_folded
      function to check for the true size of the address space.
      Reported-by: default avatarLi Wang <liwang@redhat.com>
      Tested-by: default avatarLi Wang <liwang@redhat.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      e12e4044
    • Martin Schwidefsky's avatar
      mm: add mm_pxd_folded checks to pgtable_bytes accounting functions · 6d212db1
      Martin Schwidefsky authored
      The common mm code calls mm_dec_nr_pmds() and mm_dec_nr_puds()
      in free_pgtables() if the address range spans a full pud or pmd.
      If mm_dec_nr_puds/mm_dec_nr_pmds are non-empty due to configuration
      settings they blindly subtract the size of the pmd or pud table from
      pgtable_bytes even if the pud or pmd page table layer is folded.
      
      Add explicit mm_[pmd|pud]_folded checks to the four pgtable_bytes
      accounting functions mm_inc_nr_puds, mm_inc_nr_pmds, mm_dec_nr_puds
      and mm_dec_nr_pmds. As the check for folded page tables can be
      overwritten by the architecture, this allows to keep a correct
      pgtable_bytes value for platforms that use a dynamic number of
      page table levels.
      Acked-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      6d212db1
    • Martin Schwidefsky's avatar
      mm: introduce mm_[p4d|pud|pmd]_folded · 1071fc57
      Martin Schwidefsky authored
      Add three architecture overrideable functions to test if the
      p4d, pud, or pmd layer of a page table is folded or not.
      Acked-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      1071fc57
    • Martin Schwidefsky's avatar
      mm: make the __PAGETABLE_PxD_FOLDED defines non-empty · a8874e7e
      Martin Schwidefsky authored
      Change the currently empty defines for __PAGETABLE_PMD_FOLDED,
      __PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1.
      This makes it possible to use __is_defined() to test if the
      preprocessor define exists.
      Acked-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      a8874e7e
  4. 26 Oct, 2018 8 commits
    • Vasily Gorbik's avatar
      s390: avoid vmlinux segments overlap · 5a2e1853
      Vasily Gorbik authored
      Currently .vmlinux.info section of uncompressed vmlinux elf image is
      included into the data segment and load address specified as 0. That
      extends data segment to address 0 and makes "text" and "data" segments
      overlap.
      Program Headers:
        Type           Offset             VirtAddr           PhysAddr
                       FileSiz            MemSiz              Flags  Align
        LOAD           0x0000000000001000 0x0000000000100000 0x0000000000100000
                       0x0000000000ead03c 0x0000000000ead03c  R E    0x1000
        LOAD           0x0000000000eaf000 0x0000000000000000 0x0000000000000000
                       0x0000000001a13400 0x000000000233b520  RWE    0x1000
        NOTE           0x0000000000eae000 0x0000000000fad000 0x0000000000fad000
                       0x000000000000003c 0x000000000000003c         0x4
      
       Section to Segment mapping:
        Segment Sections...
         00     .text .notes
         01     .rodata __ksymtab __ksymtab_gpl __ksymtab_strings __param
         __modver .data..ro_after_init __ex_table .data __bug_table .init.text
         .exit.text .exit.data .altinstructions .altinstr_replacement
         .nospec_call_table .nospec_return_table .boot.data .init.data
         .data..percpu .bss .vmlinux.info
         02     .notes
      
      Later when vmlinux.bin is produced from vmlinux, .vmlinux.info section
      is removed. But elf vmlinux file, even though it is not bootable anymore,
      used for debugging and loadable segments overlap should be avoided.
      
      Utilize special ":NONE" phdr specification to avoid adding .vmlinux.info
      into loadable data segment. Also set .vmlinux.info section type to INFO,
      which allows to get a not-loadable info CONTENTS section.
      
      Since minimal supported version of binutils 2.20 does not have
      --dump-section objcopy option, make .vmlinux.info section loadable during
      info.bin creation to get actual section contents.
      Reported-by: default avatarPhilipp Rudo <prudo@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      5a2e1853
    • Vasily Gorbik's avatar
      s390/vdso: add missing FORCE to build targets · b44b136a
      Vasily Gorbik authored
      According to Documentation/kbuild/makefiles.txt all build targets using
      if_changed should use FORCE as well. Add missing FORCE to make sure
      vdso targets are rebuild properly when not just immediate prerequisites
      have changed but also when build command differs.
      Reviewed-by: default avatarPhilipp Rudo <prudo@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      b44b136a
    • Vasily Gorbik's avatar
      s390/decompressor: add missing FORCE to build targets · ef5febae
      Vasily Gorbik authored
      According to Documentation/kbuild/makefiles.txt all build targets
      using if_changed should use FORCE as well. Add missing FORCE to make
      sure vmlinux decompressor targets are rebuild properly when not just
      immediate prerequisites have changed but also when build command differs.
      Reviewed-by: default avatarPhilipp Rudo <prudo@linux.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      ef5febae
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · e5f6d9af
      Linus Torvalds authored
      Pull sparc fix from David Miller:
       "Build regression fix"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc: Fix VDSO build with older binutils.
      e5f6d9af
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-4.20-mw0' of... · c300af28
      Linus Torvalds authored
      Merge tag 'riscv-for-linus-4.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux
      
      Pull RISC-V updates from Palmer Dabbelt:
       "This patch set contains a lot (at least, for me) of improvements to
        the RISC-V kernel port:
      
         - The removal of some cacheinfo values that were bogus.
      
         - On systems with F but without D the kernel will not show the F
           extension to userspace, as it isn't actually supported.
      
         - Support for futexes.
      
         - Removal of some unused code.
      
         - Cleanup of some menuconfig entries.
      
         - Support for systems without a floating-point unit, and for building
           kernels that will never use the floating-point unit.
      
         - More fixes to the RV32I port, which regressed again. It's really
           time to get this into a regression test somewhere so I stop
           breaking it. Thanks to Zong for resurrecting it again!
      
         - Various fixes that resulted from a year old review of our original
           patch set that I finally got around to.
      
         - Various improvements to SMP support, largely based around having
           switched to logical hart numbering, as well as some interrupt
           improvements. This one is in the same patch set as above, thanks to
           Atish for sheparding everything though as my patch set was a bit of
           a mess.
      
        I'm pretty sure this is our largest patch set since the original
        kernel contribution, and it's certainly the one with the most
        contributors. While I don't have anything else I know I'm going to
        submit for the merge window, I would be somewhat surprised if I didn't
        screw anything up.
      
        Thanks for the help, everyone!"
      
      * tag 'riscv-for-linus-4.20-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux: (31 commits)
        RISC-V: Cosmetic menuconfig changes
        riscv: move GCC version check for ARCH_SUPPORTS_INT128 to Kconfig
        RISC-V: remove the unused return_to_handler export
        RISC-V: Add futex support.
        RISC-V: Add FP register ptrace support for gdb.
        RISC-V: Mask out the F extension on systems without D
        RISC-V: Don't set cacheinfo.{physical_line_partition,attributes}
        RISC-V: Show IPI stats
        RISC-V: Show CPU ID and Hart ID separately in /proc/cpuinfo
        RISC-V: Use Linux logical CPU number instead of hartid
        RISC-V: Add logical CPU indexing for RISC-V
        RISC-V: Use WRITE_ONCE instead of direct access
        RISC-V: Use mmgrab()
        RISC-V: Rename im_okay_therefore_i_am to found_boot_cpu
        RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid
        RISC-V: Provide a cleaner raw_smp_processor_id()
        RISC-V: Disable preemption before enabling interrupts
        RISC-V: Comment on the TLB flush in smp_callin()
        RISC-V: Filter ISA and MMU values in cpuinfo
        RISC-V: Don't set cacheinfo.{physical_line_partition,attributes}
        ...
      c300af28
    • Linus Torvalds's avatar
      Merge tag 'kvm-4.20-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 0d1e8b8d
      Linus Torvalds authored
      Pull KVM updates from Radim Krčmář:
       "ARM:
         - Improved guest IPA space support (32 to 52 bits)
      
         - RAS event delivery for 32bit
      
         - PMU fixes
      
         - Guest entry hardening
      
         - Various cleanups
      
         - Port of dirty_log_test selftest
      
        PPC:
         - Nested HV KVM support for radix guests on POWER9. The performance
           is much better than with PR KVM. Migration and arbitrary level of
           nesting is supported.
      
         - Disable nested HV-KVM on early POWER9 chips that need a particular
           hardware bug workaround
      
         - One VM per core mode to prevent potential data leaks
      
         - PCI pass-through optimization
      
         - merge ppc-kvm topic branch and kvm-ppc-fixes to get a better base
      
        s390:
         - Initial version of AP crypto virtualization via vfio-mdev
      
         - Improvement for vfio-ap
      
         - Set the host program identifier
      
         - Optimize page table locking
      
        x86:
         - Enable nested virtualization by default
      
         - Implement Hyper-V IPI hypercalls
      
         - Improve #PF and #DB handling
      
         - Allow guests to use Enlightened VMCS
      
         - Add migration selftests for VMCS and Enlightened VMCS
      
         - Allow coalesced PIO accesses
      
         - Add an option to perform nested VMCS host state consistency check
           through hardware
      
         - Automatic tuning of lapic_timer_advance_ns
      
         - Many fixes, minor improvements, and cleanups"
      
      * tag 'kvm-4.20-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (204 commits)
        KVM/nVMX: Do not validate that posted_intr_desc_addr is page aligned
        Revert "kvm: x86: optimize dr6 restore"
        KVM: PPC: Optimize clearing TCEs for sparse tables
        x86/kvm/nVMX: tweak shadow fields
        selftests/kvm: add missing executables to .gitignore
        KVM: arm64: Safety check PSTATE when entering guest and handle IL
        KVM: PPC: Book3S HV: Don't use streamlined entry path on early POWER9 chips
        arm/arm64: KVM: Enable 32 bits kvm vcpu events support
        arm/arm64: KVM: Rename function kvm_arch_dev_ioctl_check_extension()
        KVM: arm64: Fix caching of host MDCR_EL2 value
        KVM: VMX: enable nested virtualization by default
        KVM/x86: Use 32bit xor to clear registers in svm.c
        kvm: x86: Introduce KVM_CAP_EXCEPTION_PAYLOAD
        kvm: vmx: Defer setting of DR6 until #DB delivery
        kvm: x86: Defer setting of CR2 until #PF delivery
        kvm: x86: Add payload operands to kvm_multiple_exception
        kvm: x86: Add exception payload fields to kvm_vcpu_events
        kvm: x86: Add has_payload and payload to kvm_queued_exception
        KVM: Documentation: Fix omission in struct kvm_vcpu_events
        KVM: selftests: add Enlightened VMCS test
        ...
      0d1e8b8d
    • Linus Torvalds's avatar
      Merge branch 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 83c4087c
      Linus Torvalds authored
      Pull cgroup updates from Tejun Heo:
       "All trivial changes - simplification, typo fix and adding
        cond_resched() in a netclassid update loop"
      
      * 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup, netclassid: add a preemption point to write_classid
        rdmacg: fix a typo in rdmacg documentation
        cgroup: Simplify cgroup_ancestor
      83c4087c
    • Linus Torvalds's avatar
      Merge tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk · a67eefad
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - Fix two more locations where printf formatting leaked pointers
      
       - Better log_buf_len parameter handling
      
       - Add prefix to messages from printk code
      
       - Do not miss messages on other consoles when the log is replayed on a
         new one
      
       - Reduce race between console registration and panic() when the log
         might get replayed on all consoles
      
       - Some cont buffer code clean up
      
       - Call console only when there is something to do (log vs cont buffer)
      
      * tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
        lib/vsprintf: Hash printed address for netdev bits fallback
        lib/vsprintf: Hash legacy clock addresses
        lib/vsprintf: Prepare for more general use of ptr_to_id()
        lib/vsprintf: Make ptr argument conts in ptr_to_id()
        printk: fix integer overflow in setup_log_buf()
        printk: do not preliminary split up cont buffer
        printk: lock/unlock console only for new logbuf entries
        printk: keep kernel cont support always enabled
        printk: Give error on attempt to set log buffer length to over 2G
        printk: Add KBUILD_MODNAME and remove a redundant print prefix
        printk: Correct wrong casting
        printk: Fix panic caused by passing log_buf_len to command line
        printk: CON_PRINTBUFFER console registration is a bit racy
        printk: Do not miss new messages when replaying the log
      a67eefad
  5. 25 Oct, 2018 21 commits
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 62606c22
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
       "API:
         - Remove VLA usage
         - Add cryptostat user-space interface
         - Add notifier for new crypto algorithms
      
        Algorithms:
         - Add OFB mode
         - Remove speck
      
        Drivers:
         - Remove x86/sha*-mb as they are buggy
         - Remove pcbc(aes) from x86/aesni
         - Improve performance of arm/ghash-ce by up to 85%
         - Implement CTS-CBC in arm64/aes-blk, faster by up to 50%
         - Remove PMULL based arm64/crc32 driver
         - Use PMULL in arm64/crct10dif
         - Add aes-ctr support in s5p-sss
         - Add caam/qi2 driver
      
        Others:
         - Pick better transform if one becomes available in crc-t10dif"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (124 commits)
        crypto: chelsio - Update ntx queue received from cxgb4
        crypto: ccree - avoid implicit enum conversion
        crypto: caam - add SPDX license identifier to all files
        crypto: caam/qi - simplify CGR allocation, freeing
        crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static
        crypto: arm64/aes-blk - ensure XTS mask is always loaded
        crypto: testmgr - fix sizeof() on COMP_BUF_SIZE
        crypto: chtls - remove set but not used variable 'csk'
        crypto: axis - fix platform_no_drv_owner.cocci warnings
        crypto: x86/aes-ni - fix build error following fpu template removal
        crypto: arm64/aes - fix handling sub-block CTS-CBC inputs
        crypto: caam/qi2 - avoid double export
        crypto: mxs-dcp - Fix AES issues
        crypto: mxs-dcp - Fix SHA null hashes and output length
        crypto: mxs-dcp - Implement sha import/export
        crypto: aegis/generic - fix for big endian systems
        crypto: morus/generic - fix for big endian systems
        crypto: lrw - fix rebase error after out of bounds fix
        crypto: cavium/nitrox - use pci_alloc_irq_vectors() while enabling MSI-X.
        crypto: cavium/nitrox - NITROX command queue changes.
        ...
      62606c22
    • Linus Torvalds's avatar
      Merge branch 'next-loadpin' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 24ed334f
      Linus Torvalds authored
      Pull LoadPin updates from James Morris:
       "From Kees: This is a small reporting improvement and the param change
        needed for the ordering series (but since the loadpin change is
        desired and separable, I'm putting it here)"
      
      * 'next-loadpin' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        LoadPin: Rename boot param "enabled" to "enforce"
        LoadPin: Report friendly block device name
      24ed334f
    • Linus Torvalds's avatar
      Merge branch 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · e80bc229
      Linus Torvalds authored
      Pull smack updates from James Morris:
       "From Casey: three patches for Smack for 4.20. Two clean up warnings
        and one is a rarely encountered ptrace capability check"
      
      * 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        Smack: Mark expected switch fall-through
        Smack: ptrace capability use fixes
        Smack: remove set but not used variable 'root_inode'
      e80bc229
    • Linus Torvalds's avatar
      Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 52ff0779
      Linus Torvalds authored
      Pull TPM updates from James Morris:
       "From Jarkko: The only new feature is non-blocking operation for
        /dev/tpm0"
      
      * 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        tpm: Restore functionality to xen vtpm driver.
        tpm: add support for nonblocking operation
        tpm: add ptr to the tpm_space struct to file_priv
        tpm: Make SECURITYFS a weak dependency
        tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated
        tpm: fix response size validation in tpm_get_random()
      52ff0779
    • Linus Torvalds's avatar
      Merge branch 'next-integrity' of... · 57ce66d3
      Linus Torvalds authored
      Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull integrity updates from James Morris:
       "From Mimi: This contains a couple of bug fixes, including one for a
        recent problem with calculating file hashes on overlayfs, and some
        code cleanup"
      
      * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        MAINTAINERS: add Jarkko as maintainer for trusted keys
        ima: open a new file instance if no read permissions
        ima: fix showing large 'violations' or 'runtime_measurements_count'
        security/integrity: remove unnecessary 'init_keyring' variable
        security/integrity: constify some read-only data
        vfs: require i_size <= SIZE_MAX in kernel_read_file()
      57ce66d3
    • Linus Torvalds's avatar
      Merge branch 'work.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 4ba9628f
      Linus Torvalds authored
      Pull more ->lookup() cleanups from Al Viro:
       "Some ->lookup() instances are still overcomplicating the life
        for themselves, open-coding the stuff that would be handled by
        d_splice_alias() just fine.
      
        Simplify a couple of such cases caught this cycle and document
        d_splice_alias() intended use"
      
      * 'work.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        Document d_splice_alias() calling conventions for ->lookup() users.
        simplify btrfs_lookup()
        clean erofs_lookup()
      4ba9628f
    • Linus Torvalds's avatar
      Merge branch 'work.alpha' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 06999fd5
      Linus Torvalds authored
      Pull alpha syscall glue updates from Al Viro:
       "Two old patches making alpha syscall glue a bit less mysterious"
      
      * 'work.alpha' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        alpha: unify the glue for sigreturn-like syscalls
        alpha: use alpha_ni_syscall only for syscall zero
      06999fd5
    • Linus Torvalds's avatar
      Merge branch 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · ba7d4f36
      Linus Torvalds authored
      Pull compat_ioctl fixes from Al Viro:
       "A bunch of compat_ioctl fixes, mostly in bluetooth.
      
        Hopefully, most of fs/compat_ioctl.c will get killed off over the next
        few cycles; between this, tty series already merged and Arnd's work
        this cycle ought to take a good chunk out of the damn thing..."
      
      * 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        hidp: fix compat_ioctl
        hidp: constify hidp_connection_add()
        cmtp: fix compat_ioctl
        bnep: fix compat_ioctl
        compat_ioctl: trim the pointless includes
      ba7d4f36
    • Linus Torvalds's avatar
      Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5947a64a
      Linus Torvalds authored
      Pull irq updates from Thomas Gleixner:
       "The interrupt brigade came up with the following updates:
      
         - Driver for the Marvell System Error Interrupt machinery
      
         - Overhaul of the GIC-V3 ITS driver
      
         - Small updates and fixes all over the place"
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits)
        genirq: Fix race on spurious interrupt detection
        softirq: Fix typo in __do_softirq() comments
        genirq: Fix grammar s/an /a /
        irqchip/gic: Unify GIC priority definitions
        irqchip/gic-v3: Remove acknowledge loop
        dt-bindings/interrupt-controller: Add documentation for Marvell SEI controller
        dt-bindings/interrupt-controller: Update Marvell ICU bindings
        irqchip/irq-mvebu-icu: Add support for System Error Interrupts (SEI)
        arm64: marvell: Enable SEI driver
        irqchip/irq-mvebu-sei: Add new driver for Marvell SEI
        irqchip/irq-mvebu-icu: Support ICU subnodes
        irqchip/irq-mvebu-icu: Disociate ICU and NSR
        irqchip/irq-mvebu-icu: Clarify the reset operation of configured interrupts
        irqchip/irq-mvebu-icu: Fix wrong private data retrieval
        dt-bindings/interrupt-controller: Fix Marvell ICU length in the example
        genirq/msi: Allow creation of a tree-based irqdomain for platform-msi
        dt-bindings: irqchip: renesas-irqc: Document r8a7744 support
        dt-bindings: irqchip: renesas-irqc: Document R-Car E3 support
        irqchip/pdc: Setup all edge interrupts as rising edge at GIC
        irqchip/gic-v3-its: Allow use of LPI tables in reserved memory
        ...
      5947a64a
    • Linus Torvalds's avatar
      Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4dcb9239
      Linus Torvalds authored
      Pull timekeeping updates from Thomas Gleixner:
       "The timers and timekeeping departement provides:
      
         - Another large y2038 update with further preparations for providing
           the y2038 safe timespecs closer to the syscalls.
      
         - An overhaul of the SHCMT clocksource driver
      
         - SPDX license identifier updates
      
         - Small cleanups and fixes all over the place"
      
      * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (31 commits)
        tick/sched : Remove redundant cpu_online() check
        clocksource/drivers/dw_apb: Add reset control
        clocksource: Remove obsolete CLOCKSOURCE_OF_DECLARE
        clocksource/drivers: Unify the names to timer-* format
        clocksource/drivers/sh_cmt: Add R-Car gen3 support
        dt-bindings: timer: renesas: cmt: document R-Car gen3 support
        clocksource/drivers/sh_cmt: Properly line-wrap sh_cmt_of_table[] initializer
        clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
        clocksource/drivers/sh_cmt: Fixup for 64-bit machines
        clocksource/drivers/sh_tmu: Convert to SPDX identifiers
        clocksource/drivers/sh_mtu2: Convert to SPDX identifiers
        clocksource/drivers/sh_cmt: Convert to SPDX identifiers
        clocksource/drivers/renesas-ostm: Convert to SPDX identifiers
        clocksource: Convert to using %pOFn instead of device_node.name
        tick/broadcast: Remove redundant check
        RISC-V: Request newstat syscalls
        y2038: signal: Change rt_sigtimedwait to use __kernel_timespec
        y2038: socket: Change recvmmsg to use __kernel_timespec
        y2038: sched: Change sched_rr_get_interval to use __kernel_timespec
        y2038: utimes: Rework #ifdef guards for compat syscalls
        ...
      4dcb9239
    • David S. Miller's avatar
      sparc: Fix VDSO build with older binutils. · caf539cd
      David S. Miller authored
      Older versions of bintutils do not allow symbol math across different
      segments on sparc:
      
      ====================
      Assembler messages:
      99: Error: operation combines symbols in different segments
      ====================
      
      This is controlled by whether or not DIFF_EXPR_OK is defined in
      gas/config/tc-*.h and for sparc this was not the case until mid-2017.
      
      So we have to patch between %stick and %tick another way.
      
      Do what powerpc does and emit two versions of the relevant functions,
      one using %tick and one using %stick, and patch the symbols in the
      dynamic symbol table.
      
      Fixes: 2f6c9bf3 ("sparc: Improve VDSO instruction patching.")
      Reported-by: default avatarMeelis Roos <mroos@linux.ee>
      Tested-by: default avatarMeelis Roos <mroos@linux.ee>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      caf539cd
    • Linus Torvalds's avatar
      Merge tag 'sound-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 3acbd2de
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "There have been little changes in ALSA core stuff, but ASoC core still
        kept rolling for the continued restructuring. The rest are lots of
        small driver-specific changes and some minor API updates. Here are
        highlights:
      
        General:
        - Appropriate fall-through annotations everywhere
        - Some code cleanup in memalloc code, handling non-cacahed pages more
          commonly in the helper
        - Deployment of SNDRV_PCM_INFO_SYNC_APPLPTR flag consistently
      
        Drivers:
        - More HD-audio CA0132 codec improvement for supporting other Creative
          boards
        - Plumbing legacy HD-audio codecs as ASoC BE on Intel SST; this will
          give move support of existing HD-audio devices with DSP
        - A few device-specific HD-audio quirks as usual
        - New quirk for RME CC devices and correction for B&W PX for USB-audio
        - FireWire: code refactoring including devres usages
      
        ASoC Core:
        - Continued componentization works; it's almost done!
        - A bunch of new for_each_foo macros
        - Cleanups and fixes in DAPM code
      
        ASoC Drivers:
        - MCLK support for several different devices, including CS42L51, STM32
          SAI, and MAX98373
        - Support for Allwinner A64 CODEC analog, Intel boards with DA7219 and
          MAX98927, Meson AXG PDM inputs, Nuvoton NAU8822, Renesas R8A7744 and
          TI PCM3060"
      
      * tag 'sound-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (299 commits)
        ASoC: stm32: sai: fix master clock naming
        ASoC: stm32: add clock dependency for sai
        ALSA: hda/ca0132 - Actually fix microphone issue
        ASoC: sun4i-i2s: move code from startup/shutdown hooks into pm_runtime hooks
        ASoC: wm2000: Remove wm2000_read helper function
        ASoC: cs42l51: fix mclk support
        ASoC: wm_adsp: Log addresses as 8 digits in wm_adsp_buffer_populate
        ASoC: wm_adsp: Rename memory fields in wm_adsp_buffer
        ASoC: cs42l51: add mclk support
        ASoC: stm32: sai: set sai as mclk clock provider
        ASoC: dt-bindings: add mclk support to cs42l51
        ASoC: dt-bindings: add mclk provider support to stm32 sai
        ASoC: soc-core: fix trivial checkpatch issues
        ASoC: dapm: Add support for hw_free on CODEC to CODEC links
        ASoC: Intel: kbl_da7219_max98927: minor white space clean up
        ALSA: i2c/cs8427: Fix int to char conversion
        ALSA: doc: Brush up the old writing-an-alsa-driver
        ASoC: rsnd: tidyup SSICR::SWSP for TDM
        ASoC: rsnd: enable TDM settings for SSI parent
        ASoC: pcm3168a: add hw constraint for capture channel
        ...
      3acbd2de
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · d49f8a52
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This is mostly updates of the usual drivers: UFS, esp_scsi, NCR5380,
        qla2xxx, lpfc, libsas, hisi_sas.
      
        In addition there's a set of mostly small updates to the target
        subsystem a set of conversions to the generic DMA API, which do have
        some potential for issues in the older drivers but we'll handle those
        as case by case fixes.
      
        A new myrs driver for the DAC960/mylex raid controllers to replace the
        block based DAC960 which is also being removed by Jens in this merge
        window.
      
        Plus the usual slew of trivial changes"
      
      [ "myrs" stands for "MYlex Raid Scsi". Obviously. Silly of me to even
        wonder. There's also a "myrb" driver, where the 'b' stands for
        'block'. Truly, somebody has got mad naming skillz. - Linus ]
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (237 commits)
        scsi: myrs: Fix the processor absent message in processor_show()
        scsi: myrs: Fix a logical vs bitwise bug
        scsi: hisi_sas: Fix NULL pointer dereference
        scsi: myrs: fix build failure on 32 bit
        scsi: fnic: replace gross legacy tag hack with blk-mq hack
        scsi: mesh: switch to generic DMA API
        scsi: ips: switch to generic DMA API
        scsi: smartpqi: fully convert to the generic DMA API
        scsi: vmw_pscsi: switch to generic DMA API
        scsi: snic: switch to generic DMA API
        scsi: qla4xxx: fully convert to the generic DMA API
        scsi: qla2xxx: fully convert to the generic DMA API
        scsi: qla1280: switch to generic DMA API
        scsi: qedi: fully convert to the generic DMA API
        scsi: qedf: fully convert to the generic DMA API
        scsi: pm8001: switch to generic DMA API
        scsi: nsp32: switch to generic DMA API
        scsi: mvsas: fully convert to the generic DMA API
        scsi: mvumi: switch to generic DMA API
        scsi: mpt3sas: switch to generic DMA API
        ...
      d49f8a52
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · bd6bf7c1
      Linus Torvalds authored
      Pull PCI updates from Bjorn Helgaas:
      
       - Fix ASPM link_state teardown on removal (Lukas Wunner)
      
       - Fix misleading _OSC ASPM message (Sinan Kaya)
      
       - Make _OSC optional for PCI (Sinan Kaya)
      
       - Don't initialize ASPM link state when ACPI_FADT_NO_ASPM is set
         (Patrick Talbert)
      
       - Remove x86 and arm64 node-local allocation for host bridge structures
         (Punit Agrawal)
      
       - Pay attention to device-specific _PXM node values (Jonathan Cameron)
      
       - Support new Immediate Readiness bit (Felipe Balbi)
      
       - Differentiate between pciehp surprise and safe removal (Lukas Wunner)
      
       - Remove unnecessary pciehp includes (Lukas Wunner)
      
       - Drop pciehp hotplug_slot_ops wrappers (Lukas Wunner)
      
       - Tolerate PCIe Slot Presence Detect being hardwired to zero to
         workaround broken hardware, e.g., the Wilocity switch/wireless device
         (Lukas Wunner)
      
       - Unify pciehp controller & slot structs (Lukas Wunner)
      
       - Constify hotplug_slot_ops (Lukas Wunner)
      
       - Drop hotplug_slot_info (Lukas Wunner)
      
       - Embed hotplug_slot struct into users instead of allocating it
         separately (Lukas Wunner)
      
       - Initialize PCIe port service drivers directly instead of relying on
         initcall ordering (Keith Busch)
      
       - Restore PCI config state after a slot reset (Keith Busch)
      
       - Save/restore DPC config state along with other PCI config state
         (Keith Busch)
      
       - Reference count devices during AER handling to avoid race issue with
         concurrent hot removal (Keith Busch)
      
       - If an Upstream Port reports ERR_FATAL, don't try to read the Port's
         config space because it is probably unreachable (Keith Busch)
      
       - During error handling, use slot-specific reset instead of secondary
         bus reset to avoid link up/down issues on hotplug ports (Keith Busch)
      
       - Restore previous AER/DPC handling that does not remove and
         re-enumerate devices on ERR_FATAL (Keith Busch)
      
       - Notify all drivers that may be affected by error recovery resets
         (Keith Busch)
      
       - Always generate error recovery uevents, even if a driver doesn't have
         error callbacks (Keith Busch)
      
       - Make PCIe link active reporting detection generic (Keith Busch)
      
       - Support D3cold in PCIe hierarchies during system sleep and runtime,
         including hotplug and Thunderbolt ports (Mika Westerberg)
      
       - Handle hpmemsize/hpiosize kernel parameters uniformly, whether slots
         are empty or occupied (Jon Derrick)
      
       - Remove duplicated include from pci/pcie/err.c and unused variable
         from cpqphp (YueHaibing)
      
       - Remove driver pci_cleanup_aer_uncorrect_error_status() calls (Oza
         Pawandeep)
      
       - Uninline PCI bus accessors for better ftracing (Keith Busch)
      
       - Remove unused AER Root Port .error_resume method (Keith Busch)
      
       - Use kfifo in AER instead of a local version (Keith Busch)
      
       - Use threaded IRQ in AER bottom half (Keith Busch)
      
       - Use managed resources in AER core (Keith Busch)
      
       - Reuse pcie_port_find_device() for AER injection (Keith Busch)
      
       - Abstract AER interrupt handling to disconnect error injection (Keith
         Busch)
      
       - Refactor AER injection callbacks to simplify future improvments
         (Keith Busch)
      
       - Remove unused Netronome NFP32xx Device IDs (Jakub Kicinski)
      
       - Use bitmap_zalloc() for dma_alias_mask (Andy Shevchenko)
      
       - Add switch fall-through annotations (Gustavo A. R. Silva)
      
       - Remove unused Switchtec quirk variable (Joshua Abraham)
      
       - Fix pci.c kernel-doc warning (Randy Dunlap)
      
       - Remove trivial PCI wrappers for DMA APIs (Christoph Hellwig)
      
       - Add Intel GPU device IDs to spurious interrupt quirk (Bin Meng)
      
       - Run Switchtec DMA aliasing quirk only on NTB endpoints to avoid
         useless dmesg errors (Logan Gunthorpe)
      
       - Update Switchtec NTB documentation (Wesley Yung)
      
       - Remove redundant "default n" from Kconfig (Bartlomiej Zolnierkiewicz)
      
       - Avoid panic when drivers enable MSI/MSI-X twice (Tonghao Zhang)
      
       - Add PCI support for peer-to-peer DMA (Logan Gunthorpe)
      
       - Add sysfs group for PCI peer-to-peer memory statistics (Logan
         Gunthorpe)
      
       - Add PCI peer-to-peer DMA scatterlist mapping interface (Logan
         Gunthorpe)
      
       - Add PCI configfs/sysfs helpers for use by peer-to-peer users (Logan
         Gunthorpe)
      
       - Add PCI peer-to-peer DMA driver writer's documentation (Logan
         Gunthorpe)
      
       - Add block layer flag to indicate driver support for PCI peer-to-peer
         DMA (Logan Gunthorpe)
      
       - Map Infiniband scatterlists for peer-to-peer DMA if they contain P2P
         memory (Logan Gunthorpe)
      
       - Register nvme-pci CMB buffer as PCI peer-to-peer memory (Logan
         Gunthorpe)
      
       - Add nvme-pci support for PCI peer-to-peer memory in requests (Logan
         Gunthorpe)
      
       - Use PCI peer-to-peer memory in nvme (Stephen Bates, Steve Wise,
         Christoph Hellwig, Logan Gunthorpe)
      
       - Cache VF config space size to optimize enumeration of many VFs
         (KarimAllah Ahmed)
      
       - Remove unnecessary <linux/pci-ats.h> include (Bjorn Helgaas)
      
       - Fix VMD AERSID quirk Device ID matching (Jon Derrick)
      
       - Fix Cadence PHY handling during probe (Alan Douglas)
      
       - Signal Cadence Endpoint interrupts via AXI region 0 instead of last
         region (Alan Douglas)
      
       - Write Cadence Endpoint MSI interrupts with 32 bits of data (Alan
         Douglas)
      
       - Remove redundant controller tests for "device_type == pci" (Rob
         Herring)
      
       - Document R-Car E3 (R8A77990) bindings (Tho Vu)
      
       - Add device tree support for R-Car r8a7744 (Biju Das)
      
       - Drop unused mvebu PCIe capability code (Thomas Petazzoni)
      
       - Add shared PCI bridge emulation code (Thomas Petazzoni)
      
       - Convert mvebu to use shared PCI bridge emulation (Thomas Petazzoni)
      
       - Add aardvark Root Port emulation (Thomas Petazzoni)
      
       - Support 100MHz/200MHz refclocks for i.MX6 (Lucas Stach)
      
       - Add initial power management for i.MX7 (Leonard Crestez)
      
       - Add PME_Turn_Off support for i.MX7 (Leonard Crestez)
      
       - Fix qcom runtime power management error handling (Bjorn Andersson)
      
       - Update TI dra7xx unaligned access errata workaround for host mode as
         well as endpoint mode (Vignesh R)
      
       - Fix kirin section mismatch warning (Nathan Chancellor)
      
       - Remove iproc PAXC slot check to allow VF support (Jitendra Bhivare)
      
       - Quirk Keystone K2G to limit MRRS to 256 (Kishon Vijay Abraham I)
      
       - Update Keystone to use MRRS quirk for host bridge instead of open
         coding (Kishon Vijay Abraham I)
      
       - Refactor Keystone link establishment (Kishon Vijay Abraham I)
      
       - Simplify and speed up Keystone link training (Kishon Vijay Abraham I)
      
       - Remove unused Keystone host_init argument (Kishon Vijay Abraham I)
      
       - Merge Keystone driver files into one (Kishon Vijay Abraham I)
      
       - Remove redundant Keystone platform_set_drvdata() (Kishon Vijay
         Abraham I)
      
       - Rename Keystone functions for uniformity (Kishon Vijay Abraham I)
      
       - Add Keystone device control module DT binding (Kishon Vijay Abraham
         I)
      
       - Use SYSCON API to get Keystone control module device IDs (Kishon
         Vijay Abraham I)
      
       - Clean up Keystone PHY handling (Kishon Vijay Abraham I)
      
       - Use runtime PM APIs to enable Keystone clock (Kishon Vijay Abraham I)
      
       - Clean up Keystone config space access checks (Kishon Vijay Abraham I)
      
       - Get Keystone outbound window count from DT (Kishon Vijay Abraham I)
      
       - Clean up Keystone outbound window configuration (Kishon Vijay Abraham
         I)
      
       - Clean up Keystone DBI setup (Kishon Vijay Abraham I)
      
       - Clean up Keystone ks_pcie_link_up() (Kishon Vijay Abraham I)
      
       - Fix Keystone IRQ status checking (Kishon Vijay Abraham I)
      
       - Add debug messages for all Keystone errors (Kishon Vijay Abraham I)
      
       - Clean up Keystone includes and macros (Kishon Vijay Abraham I)
      
       - Fix Mediatek unchecked return value from devm_pci_remap_iospace()
         (Gustavo A. R. Silva)
      
       - Fix Mediatek endpoint/port matching logic (Honghui Zhang)
      
       - Change Mediatek Root Port Class Code to PCI_CLASS_BRIDGE_PCI (Honghui
         Zhang)
      
       - Remove redundant Mediatek PM domain check (Honghui Zhang)
      
       - Convert Mediatek to pci_host_probe() (Honghui Zhang)
      
       - Fix Mediatek MSI enablement (Honghui Zhang)
      
       - Add Mediatek system PM support for MT2712 and MT7622 (Honghui Zhang)
      
       - Add Mediatek loadable module support (Honghui Zhang)
      
       - Detach VMD resources after stopping root bus to prevent orphan
         resources (Jon Derrick)
      
       - Convert pcitest build process to that used by other tools (iio, perf,
         etc) (Gustavo Pimentel)
      
      * tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits)
        PCI/AER: Refactor error injection fallbacks
        PCI/AER: Abstract AER interrupt handling
        PCI/AER: Reuse existing pcie_port_find_device() interface
        PCI/AER: Use managed resource allocations
        PCI: pcie: Remove redundant 'default n' from Kconfig
        PCI: aardvark: Implement emulated root PCI bridge config space
        PCI: mvebu: Convert to PCI emulated bridge config space
        PCI: mvebu: Drop unused PCI express capability code
        PCI: Introduce PCI bridge emulated config space common logic
        PCI: vmd: Detach resources after stopping root bus
        nvmet: Optionally use PCI P2P memory
        nvmet: Introduce helper functions to allocate and free request SGLs
        nvme-pci: Add support for P2P memory in requests
        nvme-pci: Use PCI p2pmem subsystem to manage the CMB
        IB/core: Ensure we map P2P memory correctly in rdma_rw_ctx_[init|destroy]()
        block: Add PCI P2P flag for request queue
        PCI/P2PDMA: Add P2P DMA driver writer's documentation
        docs-rst: Add a new directory for PCI documentation
        PCI/P2PDMA: Introduce configfs/sysfs enable attribute helpers
        PCI/P2PDMA: Add PCI p2pmem DMA mappings to adjust the bus offset
        ...
      bd6bf7c1
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-4.20-rc1' of git://git.infradead.org/users/vkoul/slave-dma · a41efc2a
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
      
       - Support for ColdFire mcf5441x edma controller
      
       - Support for link list mode in sprd dma
      
       - More users of managed dmaenginem_async_device_register API
      
       - Cyclic mode support in owl dma driver
      
       - DT updates for renesas drivers, dma-jz4780 updates and support for
         JZ4770, JZ4740 and JZ4725B controllers
      
       - Removal of deprecated dma_slave_config direction in dmaengine
         drivers, few more users will be removed in next cycle and eventually
         removed.
      
       - Minor updates to idma64, ioat, pxa, ppc drivers
      
      * tag 'dmaengine-4.20-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (66 commits)
        dmaengine: ppc4xx: fix off-by-one build failure
        dmaengine: owl: Fix warnings generated during build
        dmaengine: fsl-edma: remove dma_slave_config direction usage
        dmaengine: rcar-dmac: set scatter/gather max segment size
        dmaengine: mmp_tdma: remove dma_slave_config direction usage
        dmaengine: ep93xx_dma: remove dma_slave_config direction usage
        dmaengine: k3dma: remove dma_slave_config direction usage
        dmaengine: k3dma: dont use direction for memcpy
        dmaengine: imx-dma: remove dma_slave_config direction usage
        dmaengine: idma: remove dma_slave_config direction usage
        dmaengine: hsu: remove dma_slave_config direction usage
        dmaengine: dw: remove dma_slave_config direction usage
        dmaengine: jz4740: remove dma_slave_config direction usage
        dmaengine: coh901318: remove dma_slave_config direction usage
        dmaengine: bcm2835: remove dma_slave_config direction usage
        dmaengine: at_hdmac: remove dma_slave_config direction usage
        dmaengine: owl: Add Slave and Cyclic mode support for Actions Semi Owl S900 SoC
        dmaengine: ioat: fix prototype of ioat_enumerate_channels
        dmaengine: stm32-dma: check whether length is aligned on FIFO threshold
        dt-bindings: dmaengine: usb-dmac: Add binding for r8a7744
        ...
      a41efc2a
    • Linus Torvalds's avatar
      Merge tag 'edac_for_4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · 36168d71
      Linus Torvalds authored
      Pull EDAC updates from Borislav Petkov:
       "The EDAC tree was busier than usual this cycle as the shortlog below
        shows.
      
        Also, this pull request is carrying an ACPI DSM driver which is used
        to ask the platform to supply the DIMM location of a reported hardware
        error and thus simplify all the EDAC logic when trying to map the
        error address to the respective DIMM.
      
        Core EDAC updates:
      
         - amd64_edac: AMD family 0x17, models 0x10-0x2f support (Michael Jin)
           Hygon Dhyana support (Pu Wen)
      
         - sb_edac: New maintainer + fixes (Tony Luck) Error reporting
           improvements and fixes (Qiuxu Zhuo)
      
         - ghes_edac: SMBIOS handle type 17 for DIMM locating and per-DIMM
           error accounting (Fan Wu)
      
         - altera_edac: Stratix10 support and refactoring (Thor Thayer)
      
        Out of tree addition:
      
         - acpi_adxl: Address Translation interface using an ACPI DSM (Tony
           Luck)
      
         - the usual amount of other misc fixes and cleanups all over"
      
      * tag 'edac_for_4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: (22 commits)
        ACPI/ADXL: Add address translation interface using an ACPI DSM
        EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
        EDAC, skx_edac: Fix logical channel intermediate decoding
        EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
        EDAC, altera: Work around int-to-pointer-cast warnings
        EDAC, amd64: Add Hygon Dhyana support
        EDAC: Raise the maximum number of memory controllers
        arm64: dts: stratix10: Add peripheral EDAC nodes
        EDAC, altera: Add Stratix10 peripheral support
        EDAC, altera: Merge Stratix10 into the Arria10 SDRAM probe routine
        arm64: dts: stratix10: Add SDRAM node
        EDAC, altera: Combine Stratix10 and Arria10 probe functions
        arm64: dts: stratix10: Additions to EDAC System Manager
        EDAC, i7core: Remove set but not used variable pvt
        EDAC, ghes: Use CPER module handles to locate DIMMs
        EDAC: Correct DIMM capacity unit symbol
        EDAC, sb_edac: Fix signedness bugs in *_get_ha() functions
        EDAC, sb_edac: Fix reporting for patrol scrubber errors
        EDAC, sb_edac: Return early on ADDRV bit and address type test
        MAINTAINERS: Update maintainer for drivers/edac/sb_edac.c
        ...
      36168d71
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 6078e07d
      Linus Torvalds authored
      Pull libnvdimm updates from Dan Williams:
      
       - Improve the efficiency and performance of reading nvdimm-namespace
         labels. Reduce the amount of label data read at driver load time by a
         few orders of magnitude. Reduce heavyweight call-outs to
         platform-firmware routines.
      
       - Handle media errors located in the 'struct page' array stored on a
         persistent memory namespace. Let the kernel clear these errors rather
         than an awkward userspace workaround.
      
       - Fix Address Range Scrub (ARS) completion tracking. Correct occasions
         where the kernel indicates completion of ARS before submission.
      
       - Fix asynchronous device registration reference counting.
      
       - Add support for reporting an nvdimm dirty-shutdown-count via sysfs.
      
       - Fix various small libnvdimm core and uapi issues.
      
      * tag 'libnvdimm-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: (21 commits)
        acpi, nfit: Further restrict userspace ARS start requests
        acpi, nfit: Fix Address Range Scrub completion tracking
        UAPI: ndctl: Remove use of PAGE_SIZE
        UAPI: ndctl: Fix g++-unsupported initialisation in headers
        tools/testing/nvdimm: Populate dirty shutdown data
        acpi, nfit: Collect shutdown status
        acpi, nfit: Introduce nfit_mem flags
        libnvdimm, label: Fix sparse warning
        nvdimm: Use namespace index data to reduce number of label reads needed
        nvdimm: Split label init out from the logic for getting config data
        nvdimm: Remove empty if statement
        nvdimm: Clarify comment in sizeof_namespace_index
        nvdimm: Sanity check labeloff
        libnvdimm, dimm: Maximize label transfer size
        libnvdimm, pmem: Fix badblocks population for 'raw' namespaces
        libnvdimm, namespace: Drop the repeat assignment for variable dev->parent
        libnvdimm, region: Fail badblocks listing for inactive regions
        libnvdimm, pfn: during init, clear errors in the metadata area
        libnvdimm: Set device node in nd_device_register
        libnvdimm: Hold reference on parent while scheduling async init
        ...
      6078e07d
    • Linus Torvalds's avatar
      Merge tag 'for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · df132e40
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
      
       - Add Spreadtrum SC2731 charger driver
      
       - bq25890-charger: Add BQ25896 support
      
       - bq27xxx-battery: Add support for BQ27411
      
       - qcom-pon: Add pms405 pon support
      
       - cros-charger: add support for dedicated port
      
       - misc fixes
      
      * tag 'for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (28 commits)
        power: max8925: mark expected switch fall-through
        power: supply: fix spelling mistake "Gauage" -> "Gauge"
        power: reset: qcom-pon: Add pms405 pon support
        power: supply: bq27xxx: Add support for BQ27411
        power: supply: Add Spreadtrum SC2731 charger support
        dt-bindings: power: Add Spreadtrum SC2731 charger documentation
        power: supply: twl4030_charger: disable eoc interrupt on linear charge
        power: supply: twl4030_charger: fix charging current out-of-bounds
        power: supply: bq25890_charger: fix semicolon.cocci warnings
        power: supply: max8998-charger: Fix platform data retrieval
        power: supply: cros: add support for dedicated port
        mfd: cros: add charger port count command definition
        power: reset: at91-poweroff: do not procede if at91_shdwc is allocated
        power: reset: at91-poweroff: rename at91_shdwc_base member of struct shdwc
        power: reset: at91-poweroff: make sclk part of struct shdwc
        power: reset: at91-poweroff: make mpddrc_base part of struct shdwc
        power: reset: at91-poweroff: use only one poweroff function
        power: reset: at91-poweroff: switch to slow clock before shutdown
        power: reset: convert to SPDX identifiers
        power: supply: ab8500_fg: silence uninitialized variable warnings
        ...
      df132e40
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 96f2f66a
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - rumble support for Xbox One S, from Andrey Smirnov
      
       - high-resolution support for Logitech mice, from Harry Cutts
      
       - support for recent devices requiring the HID parse to be able to cope
         with tag report sizes > 256
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (35 commits)
        HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2
        HID: wacom: Work around HID descriptor bug in DTK-2451 and DTH-2452
        HID: google: add dependency on Cros EC for Hammer
        HID: elan: fix spelling mistake "registred" -> "registered"
        HID: google: drop superfluous const before SIMPLE_DEV_PM_OPS()
        HID: google: add support tablet mode switch for Whiskers
        mfd: cros: add "base attached" MKBP switch definition
        Input: reserve 2 events code because of HID
        HID: magicmouse: add support for Apple Magic Trackpad 2
        HID: i2c-hid: override HID descriptors for certain devices
        HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad
        HID: logitech: fix a used uninitialized GCC warning
        HID: intel-ish-hid: using list_head for ipc write queue
        HID: intel-ish-hid: use resource-managed api
        HID: intel_ish-hid: Enhance API to get ring buffer sizes
        HID: intel-ish-hid: use helper function to search client id
        HID: intel-ish-hid: ishtp: add helper function for client search
        HID: intel-ish-hid: use helper function to access client buffer
        HID: intel-ish-hid: ishtp: add helper functions for client buffer operation
        HID: intel-ish-hid: use helper function for private driver data set/get
        ...
      96f2f66a
    • Linus Torvalds's avatar
      Merge tag 'backlight-next-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight · 3f2dcb64
      Linus Torvalds authored
      Pull backlight updates from Lee Jones:
       "Old Drivers
         - Remove driver for S6E63M0
         - Remove driver for LD9040
      
        Fix-ups
         - Trivial (email address update); adp*_bl
         - Use 'atomic' PWM API; pwm_bl
      
        Bug Fixes
         - Remove pointless boolen '&ptr' check; lm3639_bl"
      
      * tag 'backlight-next-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
        backlight: Remove ld9040 driver
        backlight: Remove s6e63m0 driver
        backlight: lm3639: Unconditionally call led_classdev_unregister
        backlight: pwm_bl: Switch to using "atomic" PWM API
        backlight: Update MODULE AUTHOR email address
      3f2dcb64
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 3ea172c8
      Linus Torvalds authored
      Pull MFD updates from Lee Jones:
       "New Drivers
         - Add support for USART SPI to AT91*
      
        New Functionality
         - Add support for Audio CODECs to motorola-cpcap
      
        Fix-ups
         - DT documentation fix-ups; atmel-usart
         - Staticise functions/structs; spi-at91-usart, arizona-core
         - Constify; ti-lmu
         - Fix memory leaks; menelaus
         - Change device 'wake-up' status; ti_am335x_tscadc, max8997
         - Power Management (suspend/resume) semantic changes; ti_am335x_adc, cros_ec, max8997
         - SPDX churn; sec-core (+ headers), max* (+ headers), intel* (+ headers),
         - Trivial (whitespace, email addresses, alphabetisise); Kconfig, adp5520, intel_soc_pmic_*
         - Build as module; sec-irq
         - Use new %pOFn printk format for device_node.name; max77620
         - Remove unused code; madera
         - Use generic MACROs; intel_msic, intel_soc_pmic_crc
         - Move to GPIOD; ti-lmu
         - Use managed resources; ti-lmu
      
        Bug Fixes
         - Add missing headers; at91-usart
         - Prevent device from entering low-power mode; arizona-core
         - Poll for BOOT_DONE to avoid still-booting NACK; madera-core
         - Prevent ADC read from shutting down device; mc13xxx-core"
      
      * tag 'mfd-next-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (45 commits)
        mfd: cros_ec: Avoid unneeded internal declaration warning
        mfd: ti-lmu: Use of_device_get_match_data() helper
        mfd: ti-lmu: Use managed resource for everything
        mfd: ti-lmu: Switch to GPIOD
        mfd: ti-lmu: constify mfd_cell tables
        mfd: max8997: Disable interrupt handling for suspend/resume cycle
        mfd: max8997: Enale irq-wakeup unconditionally
        mfd: arizona: Make array mclk_name static, shrinks object size
        MAINTAINERS: Add myself as designated reviewer of Intel MFD PMIC
        mfd: Convert Intel PMIC drivers to use SPDX identifier 1;5201;0c Reduce size of duplicated comments by switching to use SPDX identifier.
        mfd: Sort headers alphabetically for Intel PMIC drivers
        mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
        mfd: intel_soc_pmic_crc: Use REGMAP_IRQ_REG() macro
        mfd: intel_soc_pmic_crc: Use DEFINE_RES_IRQ_NAMED() macro
        mfd: intel_msic: Use DEFINE_RES_IRQ() macro
        mfd: motorola-cpcap: Add audio-codec support
        mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
        mfd: madera: Remove unused forward reference
        mfd: max77620: Convert to using %pOFn instead of device_node.name
        mfd: madera: Don't use regmap_read_poll_timeout to poll for BOOT_DONE
        ...
      3ea172c8
  6. 24 Oct, 2018 2 commits
    • Linus Torvalds's avatar
      Merge tag 'docs-4.20' of git://git.lwn.net/linux · 01aa9d51
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "This is a fairly typical cycle for documentation. There's some welcome
        readability improvements for the formatted output, some LICENSES
        updates including the addition of the ISC license, the removal of the
        unloved and unmaintained 00-INDEX files, the deprecated APIs document
        from Kees, more MM docs from Mike Rapoport, and the usual pile of typo
        fixes and corrections"
      
      * tag 'docs-4.20' of git://git.lwn.net/linux: (41 commits)
        docs: Fix typos in histogram.rst
        docs: Introduce deprecated APIs list
        kernel-doc: fix declaration type determination
        doc: fix a typo in adding-syscalls.rst
        docs/admin-guide: memory-hotplug: remove table of contents
        doc: printk-formats: Remove bogus kobject references for device nodes
        Documentation: preempt-locking: Use better example
        dm flakey: Document "error_writes" feature
        docs/completion.txt: Fix a couple of punctuation nits
        LICENSES: Add ISC license text
        LICENSES: Add note to CDDL-1.0 license that it should not be used
        docs/core-api: memory-hotplug: add some details about locking internals
        docs/core-api: rename memory-hotplug-notifier to memory-hotplug
        docs: improve readability for people with poorer eyesight
        yama: clarify ptrace_scope=2 in Yama documentation
        docs/vm: split memory hotplug notifier description to Documentation/core-api
        docs: move memory hotplug description into admin-guide/mm
        doc: Fix acronym "FEKEK" in ecryptfs
        docs: fix some broken documentation references
        iommu: Fix passthrough option documentation
        ...
      01aa9d51
    • Linus Torvalds's avatar
      Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 5993692f
      Linus Torvalds authored
      Pull ext4 updates from Ted Ts'o:
      
       - further restructure ext4 documentation
      
       - fix up ext4's delayed allocation for bigalloc file systems
      
       - fix up some syzbot-detected races in EXT4_IOC_MOVE_EXT,
         EXT4_IOC_SWAP_BOOT, and ext4_remount
      
       - ... and a few other miscellaneous bugs and optimizations.
      
      * tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (21 commits)
        ext4: fix use-after-free race in ext4_remount()'s error path
        ext4: cache NULL when both default_acl and acl are NULL
        docs: promote the ext4 data structures book to top level
        docs: move ext4 administrative docs to admin-guide/
        jbd2: fix use after free in jbd2_log_do_checkpoint()
        ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR
        ext4: fix setattr project check in fssetxattr ioctl
        docs: make ext4 readme tables readable
        docs: fix ext4 documentation table formatting problems
        docs: generate a separate ext4 pdf file from the documentation
        ext4: convert fault handler to use vm_fault_t type
        ext4: initialize retries variable in ext4_da_write_inline_data_begin()
        ext4: fix EXT4_IOC_SWAP_BOOT
        ext4: fix build error when DX_DEBUG is defined
        ext4: fix argument checking in EXT4_IOC_MOVE_EXT
        ext4: fix reserved cluster accounting at page invalidation time
        ext4: adjust reserved cluster count when removing extents
        ext4: reduce reserved cluster count by number of allocated clusters
        ext4: fix reserved cluster accounting at delayed write time
        ext4: add new pending reservation mechanism
        ...
      5993692f