1. 28 1月, 2020 2 次提交
    • L
      Merge tag 'm68k-for-v5.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · f11ba7de
      Linus Torvalds 提交于
      Pull m68k updates from Geert Uytterhoeven:
      
       - wire up clone3() syscall
      
       - defconfig updates
      
      * tag 'm68k-for-v5.6-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        m68k: Implement copy_thread_tls()
        m68k: defconfig: Update defconfigs for v5.5-rc3
        m68k: Wire up clone3() syscall
      f11ba7de
    • L
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 0238d3c7
      Linus Torvalds 提交于
      Pull arm64 updates from Will Deacon:
       "The changes are a real mixed bag this time around.
      
        The only scary looking one from the diffstat is the uapi change to
        asm-generic/mman-common.h, but this has been acked by Arnd and is
        actually just adding a pair of comments in an attempt to prevent
        allocation of some PROT values which tend to get used for
        arch-specific purposes. We'll be using them for Branch Target
        Identification (a CFI-like hardening feature), which is currently
        under review on the mailing list.
      
        New architecture features:
      
         - Support for Armv8.5 E0PD, which benefits KASLR in the same way as
           KPTI but without the overhead. This allows KPTI to be disabled on
           CPUs that are not affected by Meltdown, even is KASLR is enabled.
      
         - Initial support for the Armv8.5 RNG instructions, which claim to
           provide access to a high bandwidth, cryptographically secure
           hardware random number generator. As well as exposing these to
           userspace, we also use them as part of the KASLR seed and to seed
           the crng once all CPUs have come online.
      
         - Advertise a bunch of new instructions to userspace, including
           support for Data Gathering Hint, Matrix Multiply and 16-bit
           floating point.
      
        Kexec:
      
         - Cleanups in preparation for relocating with the MMU enabled
      
         - Support for loading crash dump kernels with kexec_file_load()
      
        Perf and PMU drivers:
      
         - Cleanups and non-critical fixes for a couple of system PMU drivers
      
        FPU-less (aka broken) CPU support:
      
         - Considerable fixes to support CPUs without the FP/SIMD extensions,
           including their presence in heterogeneous systems. Good luck
           finding a 64-bit userspace that handles this.
      
        Modern assembly function annotations:
      
         - Start migrating our use of ENTRY() and ENDPROC() over to the
           new-fangled SYM_{CODE,FUNC}_{START,END} macros, which are intended
           to aid debuggers
      
        Kbuild:
      
         - Cleanup detection of LSE support in the assembler by introducing
           'as-instr'
      
         - Remove compressed Image files when building clean targets
      
        IP checksumming:
      
         - Implement optimised IPv4 checksumming routine when hardware offload
           is not in use. An IPv6 version is in the works, pending testing.
      
        Hardware errata:
      
         - Work around Cortex-A55 erratum #1530923
      
        Shadow call stack:
      
         - Work around some issues with Clang's integrated assembler not
           liking our perfectly reasonable assembly code
      
         - Avoid allocating the X18 register, so that it can be used to hold
           the shadow call stack pointer in future
      
        ACPI:
      
         - Fix ID count checking in IORT code. This may regress broken
           firmware that happened to work with the old implementation, in
           which case we'll have to revert it and try something else
      
         - Fix DAIF corruption on return from GHES handler with pseudo-NMIs
      
        Miscellaneous:
      
         - Whitelist some CPUs that are unaffected by Spectre-v2
      
         - Reduce frequency of ASID rollover when KPTI is compiled in but
           inactive
      
         - Reserve a couple of arch-specific PROT flags that are already used
           by Sparc and PowerPC and are planned for later use with BTI on
           arm64
      
         - Preparatory cleanup of our entry assembly code in preparation for
           moving more of it into C later on
      
         - Refactoring and cleanup"
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (73 commits)
        arm64: acpi: fix DAIF manipulation with pNMI
        arm64: kconfig: Fix alignment of E0PD help text
        arm64: Use v8.5-RNG entropy for KASLR seed
        arm64: Implement archrandom.h for ARMv8.5-RNG
        arm64: kbuild: remove compressed images on 'make ARCH=arm64 (dist)clean'
        arm64: entry: Avoid empty alternatives entries
        arm64: Kconfig: select HAVE_FUTEX_CMPXCHG
        arm64: csum: Fix pathological zero-length calls
        arm64: entry: cleanup sp_el0 manipulation
        arm64: entry: cleanup el0 svc handler naming
        arm64: entry: mark all entry code as notrace
        arm64: assembler: remove smp_dmb macro
        arm64: assembler: remove inherit_daif macro
        ACPI/IORT: Fix 'Number of IDs' handling in iort_id_map()
        mm: Reserve asm-generic prot flags 0x10 and 0x20 for arch use
        arm64: Use macros instead of hard-coded constants for MAIR_EL1
        arm64: Add KRYO{3,4}XX CPU cores to spectre-v2 safe list
        arm64: kernel: avoid x18 in __cpu_soft_restart
        arm64: kvm: stop treating register x18 as caller save
        arm64/lib: copy_page: avoid x18 register in assembler code
        ...
      0238d3c7
  2. 27 1月, 2020 9 次提交
  3. 26 1月, 2020 8 次提交
    • A
      do_last(): fetch directory ->i_mode and ->i_uid before it's too late · d0cb5018
      Al Viro 提交于
      may_create_in_sticky() call is done when we already have dropped the
      reference to dir.
      
      Fixes: 30aba665 (namei: allow restricted O_CREAT of FIFOs and regular files)
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      d0cb5018
    • L
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 2821e26f
      Linus Torvalds 提交于
      Pull ARM fixes from Russell King:
      
       - fix ftrace relocation type filtering
      
       - relax arch timer version check
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 8955/1: virt: Relax arch timer version check during early boot
        ARM: 8950/1: ftrace/recordmcount: filter relocation types
      2821e26f
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 84809aaf
      Linus Torvalds 提交于
      Pull networking fixes from David Miller:
      
       1) Off by one in mt76 airtime calculation, from Dan Carpenter.
      
       2) Fix TLV fragment allocation loop condition in iwlwifi, from Luca
          Coelho.
      
       3) Don't confirm neigh entries when doing ipsec pmtu updates, from Xu
          Wang.
      
       4) More checks to make sure we only send TSO packets to lan78xx chips
          that they can actually handle. From James Hughes.
      
       5) Fix ip_tunnel namespace move, from William Dauchy.
      
       6) Fix unintended packet reordering due to cooperation between
          listification done by GRO and non-GRO paths. From Maxim
          Mikityanskiy.
      
       7) Add Jakub Kicincki formally as networking co-maintainer.
      
       8) Info leak in airo ioctls, from Michael Ellerman.
      
       9) IFLA_MTU attribute needs validation during rtnl_create_link(), from
          Eric Dumazet.
      
      10) Use after free during reload in mlxsw, from Ido Schimmel.
      
      11) Dangling pointers are possible in tp->highest_sack, fix from Eric
          Dumazet.
      
      12) Missing *pos++ in various networking seq_next handlers, from Vasily
          Averin.
      
      13) CHELSIO_GET_MEM operation neds CAP_NET_ADMIN check, from Michael
          Ellerman.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (109 commits)
        firestream: fix memory leaks
        net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM
        net: bcmgenet: Use netif_tx_napi_add() for TX NAPI
        tipc: change maintainer email address
        net: stmmac: platform: fix probe for ACPI devices
        net/mlx5e: kTLS, Do not send decrypted-marked SKBs via non-accel path
        net/mlx5e: kTLS, Remove redundant posts in TX resync flow
        net/mlx5e: kTLS, Fix corner-case checks in TX resync flow
        net/mlx5e: Clear VF config when switching modes
        net/mlx5: DR, use non preemptible call to get the current cpu number
        net/mlx5: E-Switch, Prevent ingress rate configuration of uplink rep
        net/mlx5: DR, Enable counter on non-fwd-dest objects
        net/mlx5: Update the list of the PCI supported devices
        net/mlx5: Fix lowest FDB pool size
        net: Fix skb->csum update in inet_proto_csum_replace16().
        netfilter: nf_tables: autoload modules from the abort path
        netfilter: nf_tables: add __nft_chain_type_get()
        netfilter: nf_tables_offload: fix check the chain offload flag
        netfilter: conntrack: sctp: use distinct states for new SCTP connections
        ipv6_route_seq_next should increase position index
        ...
      84809aaf
    • L
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · f041eada
      Linus Torvalds 提交于
      Pull ARM SoC fixes from Olof Johansson:
       "A couple of fixes have come in that would be good to include in this
        release:
      
         - A fix for amount of memory on Beaglebone Black. Surfaced now since
           GRUB2 doesn't update memory size in the booted kernel.
      
         - A fix to make SPI interfaces work on am43x-epos-evm.
      
         - Small Kconfig fix for OPTEE (adds a depend on MMU) to avoid build
           failures"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: dts: am43x-epos-evm: set data pin directions for spi0 and spi1
        tee: optee: Fix compilation issue with nommu
        ARM: dts: am335x-boneblack-common: fix memory size
      f041eada
    • W
      firestream: fix memory leaks · fa865ba1
      Wenwen Wang 提交于
      In fs_open(), 'vcc' is allocated through kmalloc() and assigned to
      'atm_vcc->dev_data.' In the following execution, if an error occurs, e.g.,
      there is no more free channel, an error code EBUSY or ENOMEM will be
      returned. However, 'vcc' is not deallocated, leading to memory leaks. Note
      that, in normal cases where fs_open() returns 0, 'vcc' will be deallocated
      in fs_close(). But, if fs_open() fails, there is no guarantee that
      fs_close() will be invoked.
      
      To fix this issue, deallocate 'vcc' before the error code is returned.
      Signed-off-by: NWenwen Wang <wenwen@cs.uga.edu>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fa865ba1
    • D
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf · 6badad1c
      David S. Miller 提交于
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter fixes for net
      
      The following patchset contains Netfilter fixes for net:
      
      1) Missing netlink attribute sanity check for NFTA_OSF_DREG,
         from Florian Westphal.
      
      2) Use bitmap infrastructure in ipset to fix KASAN slab-out-of-bounds
         reads, from Jozsef Kadlecsik.
      
      3) Missing initial CLOSED state in new sctp connection through
         ctnetlink events, from Jiri Wiesner.
      
      4) Missing check for NFT_CHAIN_HW_OFFLOAD in nf_tables offload
         indirect block infrastructure, from wenxu.
      
      5) Add __nft_chain_type_get() to sanity check family and chain type.
      
      6) Autoload modules from the nf_tables abort path to fix races
         reported by syzbot.
      
      7) Remove unnecessary skb->csum update on inet_proto_csum_replace16(),
         from Praveen Chaudhary.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6badad1c
    • L
      Merge tag 'for-5.5-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · a075f23d
      Linus Torvalds 提交于
      Pull btrfs fix from David Sterba:
       "Here's a last minute fix for a regression introduced in this
        development cycle.
      
        There's a small chance of a silent corruption when device replace and
        NOCOW data writes happen at the same time in one block group. Metadata
        or COW data writes are unaffected.
      
        The extra fixup patch is there to silence an unnecessary warning"
      
      * tag 'for-5.5-rc8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: dev-replace: remove warning for unknown return codes when finished
        btrfs: scrub: Require mandatory block group RO for dev-replace
      a075f23d
    • L
      Merge tag 'pinctrl-v5.5-5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 93d1a05e
      Linus Torvalds 提交于
      Pull pin control fix from Linus Walleij:
       "A single fix for the Intel Sunrisepoint pin controller that makes the
        interrupts work properly on it"
      
      * tag 'pinctrl-v5.5-5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: sunrisepoint: Add missing Interrupt Status register offset
      93d1a05e
  4. 25 1月, 2020 21 次提交