1. 13 Jun, 2020 1 commit
  2. 12 Jun, 2020 5 commits
  3. 11 Jun, 2020 5 commits
  4. 10 Jun, 2020 2 commits
  5. 09 Jun, 2020 10 commits
  6. 08 Jun, 2020 1 commit
  7. 04 Jun, 2020 2 commits
  8. 03 Jun, 2020 14 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · cb8e59cc
      Linus Torvalds authored
      Pull networking updates from David Miller:
      
       1) Allow setting bluetooth L2CAP modes via socket option, from Luiz
          Augusto von Dentz.
      
       2) Add GSO partial support to igc, from Sasha Neftin.
      
       3) Several cleanups and improvements to r8169 from Heiner Kallweit.
      
       4) Add IF_OPER_TESTING link state and use it when ethtool triggers a
          device self-test. From Andrew Lunn.
      
       5) Start moving away from custom driver versions, use the globally
          defined kernel version instead, from Leon Romanovsky.
      
       6) Support GRO vis gro_cells in DSA layer, from Alexander Lobakin.
      
       7) Allow hard IRQ deferral during NAPI, from Eric Dumazet.
      
       8) Add sriov and vf support to hinic, from Luo bin.
      
       9) Support Media Redundancy Protocol (MRP) in the bridging code, from
          Horatiu Vultur.
      
      10) Support netmap in the nft_nat code, from Pablo Neira Ayuso.
      
      11) Allow UDPv6 encapsulation of ESP in the ipsec code, from Sabrina
          Dubroca. Also add ipv6 support for espintcp.
      
      12) Lots of ReST conversions of the networking documentation, from Mauro
          Carvalho Chehab.
      
      13) Support configuration of ethtool rxnfc flows in bcmgenet driver,
          from Doug Berger.
      
      14) Allow to dump cgroup id and filter by it in inet_diag code, from
          Dmitry Yakunin.
      
      15) Add infrastructure to export netlink attribute policies to
          userspace, from Johannes Berg.
      
      16) Several optimizations to sch_fq scheduler, from Eric Dumazet.
      
      17) Fallback to the default qdisc if qdisc init fails because otherwise
          a packet scheduler init failure will make a device inoperative. From
          Jesper Dangaard Brouer.
      
      18) Several RISCV bpf jit optimizations, from Luke Nelson.
      
      19) Correct the return type of the ->ndo_start_xmit() method in several
          drivers, it's netdev_tx_t but many drivers were using
          'int'. From Yunjian Wang.
      
      20) Add an ethtool interface for PHY master/slave config, from Oleksij
          Rempel.
      
      21) Add BPF iterators, from Yonghang Song.
      
      22) Add cable test infrastructure, including ethool interfaces, from
          Andrew Lunn. Marvell PHY driver is the first to support this
          facility.
      
      23) Remove zero-length arrays all over, from Gustavo A. R. Silva.
      
      24) Calculate and maintain an explicit frame size in XDP, from Jesper
          Dangaard Brouer.
      
      25) Add CAP_BPF, from Alexei Starovoitov.
      
      26) Support terse dumps in the packet scheduler, from Vlad Buslov.
      
      27) Support XDP_TX bulking in dpaa2 driver, from Ioana Ciornei.
      
      28) Add devm_register_netdev(), from Bartosz Golaszewski.
      
      29) Minimize qdisc resets, from Cong Wang.
      
      30) Get rid of kernel_getsockopt and kernel_setsockopt in order to
          eliminate set_fs/get_fs calls. From Christoph Hellwig.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2517 commits)
        selftests: net: ip_defrag: ignore EPERM
        net_failover: fixed rollback in net_failover_open()
        Revert "tipc: Fix potential tipc_aead refcnt leak in tipc_crypto_rcv"
        Revert "tipc: Fix potential tipc_node refcnt leak in tipc_rcv"
        vmxnet3: allow rx flow hash ops only when rss is enabled
        hinic: add set_channels ethtool_ops support
        selftests/bpf: Add a default $(CXX) value
        tools/bpf: Don't use $(COMPILE.c)
        bpf, selftests: Use bpf_probe_read_kernel
        s390/bpf: Use bcr 0,%0 as tail call nop filler
        s390/bpf: Maintain 8-byte stack alignment
        selftests/bpf: Fix verifier test
        selftests/bpf: Fix sample_cnt shared between two threads
        bpf, selftests: Adapt cls_redirect to call csum_level helper
        bpf: Add csum_level helper for fixing up csum levels
        bpf: Fix up bpf_skb_adjust_room helper's skb csum setting
        sfc: add missing annotation for efx_ef10_try_update_nic_stats_vf()
        crypto/chtls: IPv6 support for inline TLS
        Crypto/chcr: Fixes a coccinile check error
        Crypto/chcr: Fixes compilations warnings
        ...
      cb8e59cc
    • Linus Torvalds's avatar
      Merge branch 'uaccess.comedi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 2e63f6ce
      Linus Torvalds authored
      Pull comedi uaccess cleanups from Al Viro:
       "Comedi compat ioctls done saner - killing the single biggest pile of
        __get_user/__put_user outside of arch/* in the process"
      
      * 'uaccess.comedi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        comedi: get rid of compat_alloc_user_space() mess in COMEDI_CMD{,TEST} compat
        comedi: do_cmd_ioctl(): lift copyin/copyout into the caller
        comedi: do_cmdtest_ioctl(): lift copyin/copyout into the caller
        comedi: lift copy_from_user() into callers of __comedi_get_user_cmd()
        comedi: get rid of compat_alloc_user_space() mess in COMEDI_INSNLIST compat
        comedi: get rid of compat_alloc_user_space() mess in COMEDI_INSN compat
        comedi: get rid of compat_alloc_user_space() mess in COMEDI_RANGEINFO compat
        comedi: get rid of compat_alloc_user_space() mess in COMEDI_CHANINFO compat
        comedi: get rid of indirection via translated_ioctl()
        comedi: move compat ioctl handling to native fops
      2e63f6ce
    • Linus Torvalds's avatar
      Merge branch 'work.splice' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · ae03c53d
      Linus Torvalds authored
      Pull splice updates from Al Viro:
       "Christoph's assorted splice cleanups"
      
      * 'work.splice' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: rename pipe_buf ->steal to ->try_steal
        fs: make the pipe_buf_operations ->confirm operation optional
        fs: make the pipe_buf_operations ->steal operation optional
        trace: remove tracing_pipe_buf_ops
        pipe: merge anon_pipe_buf*_ops
        fs: simplify do_splice_from
        fs: simplify do_splice_to
      ae03c53d
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 039aeb9d
      Linus Torvalds authored
      Pull kvm updates from Paolo Bonzini:
       "ARM:
         - Move the arch-specific code into arch/arm64/kvm
      
         - Start the post-32bit cleanup
      
         - Cherry-pick a few non-invasive pre-NV patches
      
        x86:
         - Rework of TLB flushing
      
         - Rework of event injection, especially with respect to nested
           virtualization
      
         - Nested AMD event injection facelift, building on the rework of
           generic code and fixing a lot of corner cases
      
         - Nested AMD live migration support
      
         - Optimization for TSC deadline MSR writes and IPIs
      
         - Various cleanups
      
         - Asynchronous page fault cleanups (from tglx, common topic branch
           with tip tree)
      
         - Interrupt-based delivery of asynchronous "page ready" events (host
           side)
      
         - Hyper-V MSRs and hypercalls for guest debugging
      
         - VMX preemption timer fixes
      
        s390:
         - Cleanups
      
        Generic:
         - switch vCPU thread wakeup from swait to rcuwait
      
        The other architectures, and the guest side of the asynchronous page
        fault work, will come next week"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (256 commits)
        KVM: selftests: fix rdtsc() for vmx_tsc_adjust_test
        KVM: check userspace_addr for all memslots
        KVM: selftests: update hyperv_cpuid with SynDBG tests
        x86/kvm/hyper-v: Add support for synthetic debugger via hypercalls
        x86/kvm/hyper-v: enable hypercalls regardless of hypercall page
        x86/kvm/hyper-v: Add support for synthetic debugger interface
        x86/hyper-v: Add synthetic debugger definitions
        KVM: selftests: VMX preemption timer migration test
        KVM: nVMX: Fix VMX preemption timer migration
        x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
        KVM: x86/pmu: Support full width counting
        KVM: x86/pmu: Tweak kvm_pmu_get_msr to pass 'struct msr_data' in
        KVM: x86: announce KVM_FEATURE_ASYNC_PF_INT
        KVM: x86: acknowledgment mechanism for async pf page ready notifications
        KVM: x86: interrupt based APF 'page ready' event delivery
        KVM: introduce kvm_read_guest_offset_cached()
        KVM: rename kvm_arch_can_inject_async_page_present() to kvm_arch_can_dequeue_async_page_present()
        KVM: x86: extend struct kvm_vcpu_pv_apf_data with token info
        Revert "KVM: async_pf: Fix #DF due to inject "Page not Present" and "Page Ready" exceptions simultaneously"
        KVM: VMX: Replace zero-length array with flexible-array
        ...
      039aeb9d
    • Linus Torvalds's avatar
      Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux · 6b2591c2
      Linus Torvalds authored
      Pull hyper-v updates from Wei Liu:
      
       - a series from Andrea to support channel reassignment
      
       - a series from Vitaly to clean up Vmbus message handling
      
       - a series from Michael to clean up and augment hyperv-tlfs.h
      
       - patches from Andy to clean up GUID usage in Hyper-V code
      
       - a few other misc patches
      
      * tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux: (29 commits)
        Drivers: hv: vmbus: Resolve more races involving init_vp_index()
        Drivers: hv: vmbus: Resolve race between init_vp_index() and CPU hotplug
        vmbus: Replace zero-length array with flexible-array
        Driver: hv: vmbus: drop a no long applicable comment
        hyper-v: Switch to use UUID types directly
        hyper-v: Replace open-coded variant of %*phN specifier
        hyper-v: Supply GUID pointer to printf() like functions
        hyper-v: Use UUID API for exporting the GUID (part 2)
        asm-generic/hyperv: Add definitions for Get/SetVpRegister hypercalls
        x86/hyperv: Split hyperv-tlfs.h into arch dependent and independent files
        x86/hyperv: Remove HV_PROCESSOR_POWER_STATE #defines
        KVM: x86: hyperv: Remove duplicate definitions of Reference TSC Page
        drivers: hv: remove redundant assignment to pointer primary_channel
        scsi: storvsc: Re-init stor_chns when a channel interrupt is re-assigned
        Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message type
        Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplug
        Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity logic
        PCI: hv: Prepare hv_compose_msi_msg() for the VMBus-channel-interrupt-to-vCPU reassignment functionality
        Drivers: hv: vmbus: Use a spin lock for synchronizing channel scheduling vs. channel removal
        hv_utils: Always execute the fcopy and vss callbacks in a tasklet
        ...
      6b2591c2
    • Linus Torvalds's avatar
      Merge tag 'kgdb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux · f1e45535
      Linus Torvalds authored
      Pull kgdb updates from Daniel Thompson:
       "By far the biggest change in this cycle are the changes that allow
        much earlier debug of systems that are hooked up via UART by taking
        advantage of the earlycon framework to implement the kgdb I/O hooks
        before handing over to the regular polling I/O drivers once they are
        available. When discussing Doug's work we also found and fixed an
        broken raw_smp_processor_id() sequence in in_dbg_master().
      
        Also included are a collection of much smaller fixes and tweaks: a
        couple of tweaks to ged rid of doc gen or coccicheck warnings, future
        proof some internal calculations that made implicit power-of-2
        assumptions and eliminate some rather weird handling of magic
        environment variables in kdb"
      
      * tag 'kgdb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
        kdb: Remove the misfeature 'KDBFLAGS'
        kdb: Cleanup math with KDB_CMD_HISTORY_COUNT
        serial: amba-pl011: Support kgdboc_earlycon
        serial: 8250_early: Support kgdboc_earlycon
        serial: qcom_geni_serial: Support kgdboc_earlycon
        serial: kgdboc: Allow earlycon initialization to be deferred
        Documentation: kgdboc: Document new kgdboc_earlycon parameter
        kgdb: Don't call the deinit under spinlock
        kgdboc: Disable all the early code when kgdboc is a module
        kgdboc: Add kgdboc_earlycon to support early kgdb using boot consoles
        kgdboc: Remove useless #ifdef CONFIG_KGDB_SERIAL_CONSOLE in kgdboc
        kgdb: Prevent infinite recursive entries to the debugger
        kgdb: Delay "kgdbwait" to dbg_late_init() by default
        kgdboc: Use a platform device to handle tty drivers showing up late
        Revert "kgdboc: disable the console lock when in kgdb"
        kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb
        kgdb: Return true in kgdb_nmi_poll_knock()
        kgdb: Drop malformed kernel doc comment
        kgdb: Fix spurious true from in_dbg_master()
      f1e45535
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20200603' of git://github.com/jcmvbkbc/linux-xtensa · 38696e33
      Linus Torvalds authored
      Pull Xtensa updates from Max Filippov:
      
       - fix __user annotations in asm/uaccess.h
      
       - fix comments in entry.S
      
      * tag 'xtensa-20200603' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: Fix spelling/grammar in comment
        xtensa: add missing __user annotations to asm/uaccess.h
        xtensa: fix error paths in __get_user_{check,size}
        xtensa: fix type conversion in __get_user_size
        xtensa: add missing __user annotations to __{get,put}_user_check
      38696e33
    • Linus Torvalds's avatar
      Merge branch 'parisc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 44e40e96
      Linus Torvalds authored
      Pull parsic updates from Helge Deller:
       "Enable the sysctl file interface for panic_on_stackoverflow for
        parisc, a warning fix and a bunch of documentation updates since the
        parisc website is now at https://parisc.wiki.kernel.org"
      
      * 'parisc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: MAINTAINERS: Update references to parisc website
        parisc: module: Update references to parisc website
        parisc: hardware: Update references to parisc website
        parisc: firmware: Update references to parisc website
        parisc: Kconfig: Update references to parisc website
        parisc: add sysctl file interface panic_on_stackoverflow
        parisc: use -fno-strict-aliasing for decompressor
        parisc: suppress error messages for 'make clean'
      44e40e96
    • Linus Torvalds's avatar
      Merge tag 'mips_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 8226f113
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
      
       - added support for MIPSr5 and P5600 cores
      
       - converted Loongson PCI driver into a PCI host driver using the
         generic PCI framework
      
       - added emulation of CPUCFG command for Loogonson64 cpus
      
       - removed of LASAT, PMC MSP71xx and NEC MARKEINS/EMMA
      
       - ioremap cleanup
      
       - fix for a race between two threads faulting the same page
      
       - various cleanups and fixes
      
      * tag 'mips_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (143 commits)
        MIPS: ralink: drop ralink_clk_init for mt7621
        MIPS: ralink: bootrom: mark a function as __init to save some memory
        MIPS: Loongson64: Reorder CPUCFG model match arms
        MIPS: Expose Loongson CPUCFG availability via HWCAP
        MIPS: Loongson64: Guard against future cores without CPUCFG
        MIPS: Fix build warning about "PTR_STR" redefinition
        MIPS: Loongson64: Remove not used pci.c
        MIPS: Loongson64: Define PCI_IOBASE
        MIPS: CPU_LOONGSON2EF need software to maintain cache consistency
        MIPS: DTS: Fix build errors used with various configs
        MIPS: Loongson64: select NO_EXCEPT_FILL
        MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
        MIPS: mm: add page valid judgement in function pte_modify
        mm/memory.c: Add memory read privilege on page fault handling
        mm/memory.c: Update local TLB if PTE entry exists
        MIPS: Do not flush tlb page when updating PTE entry
        MIPS: ingenic: Default to a generic board
        MIPS: ingenic: Add support for GCW Zero prototype
        MIPS: ingenic: DTS: Add memory info of GCW Zero
        MIPS: Loongson64: Switch to generic PCI driver
        ...
      8226f113
    • Linus Torvalds's avatar
      Merge branch 'uaccess.csum' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · e8f4abf8
      Linus Torvalds authored
      Pull ia64 build regression fix from Al Viro:
       "Fix a braino in ia64 uaccess csum changes"
      
      * 'uaccess.csum' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fix a braino in ia64 uaccess csum changes
      e8f4abf8
    • Al Viro's avatar
      fix a braino in ia64 uaccess csum changes · 174e1ea8
      Al Viro authored
      Fixes: cc03f19c (ia64: csum_partial_copy_nocheck(): don't abuse csum_partial_copy_from_user())
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      174e1ea8
    • Linus Torvalds's avatar
      Merge tag 'threads-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · e7c93cbf
      Linus Torvalds authored
      Pull thread updates from Christian Brauner:
       "We have been discussing using pidfds to attach to namespaces for quite
        a while and the patches have in one form or another already existed
        for about a year. But I wanted to wait to see how the general api
        would be received and adopted.
      
        This contains the changes to make it possible to use pidfds to attach
        to the namespaces of a process, i.e. they can be passed as the first
        argument to the setns() syscall.
      
        When only a single namespace type is specified the semantics are
        equivalent to passing an nsfd. That means setns(nsfd, CLONE_NEWNET)
        equals setns(pidfd, CLONE_NEWNET).
      
        However, when a pidfd is passed, multiple namespace flags can be
        specified in the second setns() argument and setns() will attach the
        caller to all the specified namespaces all at once or to none of them.
      
        Specifying 0 is not valid together with a pidfd. Here are just two
        obvious examples:
      
          setns(pidfd, CLONE_NEWPID | CLONE_NEWNS | CLONE_NEWNET);
          setns(pidfd, CLONE_NEWUSER);
      
        Allowing to also attach subsets of namespaces supports various
        use-cases where callers setns to a subset of namespaces to retain
        privilege, perform an action and then re-attach another subset of
        namespaces.
      
        Apart from significantly reducing the number of syscalls needed to
        attach to all currently supported namespaces (eight "open+setns"
        sequences vs just a single "setns()"), this also allows atomic setns
        to a set of namespaces, i.e. either attaching to all namespaces
        succeeds or we fail without having changed anything.
      
        This is centered around a new internal struct nsset which holds all
        information necessary for a task to switch to a new set of namespaces
        atomically. Fwiw, with this change a pidfd becomes the only token
        needed to interact with a container. I'm expecting this to be
        picked-up by util-linux for nsenter rather soon.
      
        Associated with this change is a shiny new test-suite dedicated to
        setns() (for pidfds and nsfds alike)"
      
      * tag 'threads-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        selftests/pidfd: add pidfd setns tests
        nsproxy: attach to namespaces via pidfds
        nsproxy: add struct nsset
      e7c93cbf
    • Linus Torvalds's avatar
      Merge tag 'sched-core-2020-06-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · d479c5a1
      Linus Torvalds authored
      Pull scheduler updates from Ingo Molnar:
       "The changes in this cycle are:
      
         - Optimize the task wakeup CPU selection logic, to improve
           scalability and reduce wakeup latency spikes
      
         - PELT enhancements
      
         - CFS bandwidth handling fixes
      
         - Optimize the wakeup path by remove rq->wake_list and replacing it
           with ->ttwu_pending
      
         - Optimize IPI cross-calls by making flush_smp_call_function_queue()
           process sync callbacks first.
      
         - Misc fixes and enhancements"
      
      * tag 'sched-core-2020-06-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (36 commits)
        irq_work: Define irq_work_single() on !CONFIG_IRQ_WORK too
        sched/headers: Split out open-coded prototypes into kernel/sched/smp.h
        sched: Replace rq::wake_list
        sched: Add rq::ttwu_pending
        irq_work, smp: Allow irq_work on call_single_queue
        smp: Optimize send_call_function_single_ipi()
        smp: Move irq_work_run() out of flush_smp_call_function_queue()
        smp: Optimize flush_smp_call_function_queue()
        sched: Fix smp_call_function_single_async() usage for ILB
        sched/core: Offload wakee task activation if it the wakee is descheduling
        sched/core: Optimize ttwu() spinning on p->on_cpu
        sched: Defend cfs and rt bandwidth quota against overflow
        sched/cpuacct: Fix charge cpuacct.usage_sys
        sched/fair: Replace zero-length array with flexible-array
        sched/pelt: Sync util/runnable_sum with PELT window when propagating
        sched/cpuacct: Use __this_cpu_add() instead of this_cpu_ptr()
        sched/fair: Optimize enqueue_task_fair()
        sched: Make scheduler_ipi inline
        sched: Clean up scheduler_ipi()
        sched/core: Simplify sched_init()
        ...
      d479c5a1
    • Linus Torvalds's avatar
      Merge tag 'x86-timers-2020-06-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f6aee505
      Linus Torvalds authored
      Pull x86 timer updates from Thomas Gleixner:
       "X86 timer specific updates:
      
         - Add TPAUSE based delay which allows the CPU to enter an optimized
           power state while waiting for the delay to pass. The delay is based
           on TSC cycles.
      
         - Add tsc_early_khz command line parameter to workaround the problem
           that overclocked CPUs can report the wrong frequency via CPUID.16h
           which causes the refined calibration to fail because the delta to
           the initial frequency value is too big. With the parameter users
           can provide an halfways accurate initial value"
      
      * tag 'x86-timers-2020-06-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/tsc: Add tsc_early_khz command line parameter
        x86/delay: Introduce TPAUSE delay
        x86/delay: Refactor delay_mwaitx() for TPAUSE support
        x86/delay: Preparatory code cleanup
      f6aee505