Skip to content

Commits

Permalink
dax-zero-range…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Feb 7, 2020

  1. dax,iomap: Add helper dax_iomap_zero() to zero a range

    Add a helper dax_ioamp_zero() to zero a range. This patch basically
    merges __dax_zero_page_range() and iomap_dax_zero().
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    b390ab0 View commit details
    Browse the repository at this point in the history
  2. dax,iomap: Start using dax native zero_page_range()

    Get rid of calling block device interface for zeroing in iomap dax
    zeroing path and use dax native zeroing interface instead.
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    ad53ae8 View commit details
    Browse the repository at this point in the history
  3. dm,dax: Add dax zero_page_range operation

    This patch adds support for dax zero_page_range operation to dm targets.
    
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    dba91c0 View commit details
    Browse the repository at this point in the history
  4. s390,dcssblk,dax: Add dax zero_page_range operation to dcssblk driver

    Add dax operation zero_page_range for dcssblk driver.
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    12eda83 View commit details
    Browse the repository at this point in the history
  5. dax, pmem: Add a dax operation zero_page_range

    Add a dax operation zero_page_range, to zero a range of memory. This will
    also clear any poison in the range being zeroed.
    
    As of now, zeroing of up to one page is allowed in a single call. There
    are no callers which are trying to zero more than a page in a single call.
    Once we grow the callers which zero more than a page in single call, we
    can add that support. Primary reason for not doing that yet is that this
    will add little complexity in dm implementation where a range might be
    spanning multiple underlying targets and one will have to split the range
    into multiple sub ranges and call zero_page_range() on individual targets.
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    4bcf8c7 View commit details
    Browse the repository at this point in the history
  6. pmem: Enable pmem_do_write() to deal with arbitrary ranges

    Currently pmem_do_write() is written with assumption that all I/O is
    sector aligned. Soon I want to use this function in zero_page_range()
    where range passed in does not have to be sector aligned.
    
    Modify this function to be able to deal with an arbitrary range. Which
    is specified by pmem_off and len.
    
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    e801d22 View commit details
    Browse the repository at this point in the history
  7. pmem: Add functions for reading/writing page to/from pmem

    This splits pmem_do_bvec() into pmem_do_read() and pmem_do_write(). 
    pmem_do_write() will be used by pmem zero_page_range() as well. Hence
    sharing the same code.
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 7, 2020
    Copy the full SHA
    c3248b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    Pull x86 microcode update from Borislav Petkov:
     "Another boring branch this time around: mark a stub function inline,
      by Valdis Kletnieks"
    
    * 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/microcode/AMD: Make stub function static inline
    torvalds committed Jan 27, 2020
    Copy the full SHA
    067ba54 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull RAS updates from Borislav Petkov:
    
     - Misc fixes to the MCE code all over the place, by Jan H. Schönherr.
    
     - Initial support for AMD F19h and other cleanups to amd64_edac, by
       Yazen Ghannam.
    
     - Other small cleanups.
    
    * 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      EDAC/mce_amd: Make fam_ops static global
      EDAC/amd64: Drop some family checks for newer systems
      EDAC/amd64: Add family ops for Family 19h Models 00h-0Fh
      x86/amd_nb: Add Family 19h PCI IDs
      EDAC/mce_amd: Always load on SMCA systems
      x86/MCE/AMD, EDAC/mce_amd: Add new Load Store unit McaType
      x86/mce: Fix use of uninitialized MCE message string
      x86/mce: Fix mce=nobootlog
      x86/mce: Take action on UCNA/Deferred errors again
      x86/mce: Remove mce_inject_log() in favor of mce_log()
      x86/mce: Pass MCE message to mce_panic() on failed kernel recovery
      x86/mce/therm_throt: Mark throttle_active_work() as __maybe_unused
    torvalds committed Jan 27, 2020
    Copy the full SHA
    30f5a75 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'edac_for_5.6' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/ras/ras
    
    Pull EDAC updates from Borislav Petkov:
     "A totally boring branch this time around: a garden variety of small
      fixes all over the place"
    
    * tag 'edac_for_5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
      EDAC/amd64: Do not warn when removing instances
      EDAC/sifive: Fix return value check in ecc_register()
      EDAC/aspeed: Remove unneeded semicolon
      EDAC: remove set but not used variable 'ecc_loc'
      EDAC: skx_common: downgrade message importance on missing PCI device
      EDAC/Kconfig: Fix Kconfig indentation
    torvalds committed Jan 27, 2020
    Copy the full SHA
    b62061b View commit details
    Browse the repository at this point in the history
  4. Merge tag 'hwmon-for-v5.6' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/groeck/linux-staging
    
    Pull hwmon updates from Guenter Roeck:
     "core:
       - Add support for enable attributes to hwmon core
       - Add intrusion templates
    
      pmbus:
       - Support for Infineon Multi-phase xdpe122 family controllers
       - Support for Intel IMVP9 and AMD 6.25mV modes
       - Support for vid mode detection per page bases
       - Detect if chip is write protected
       - Support for MAX20730, MAX20734, MAX20743, MAX20796, UCD90320,
         TPS53688
       - Various improvements to ibm-cffps driver
    
      k10temp:
       - Support for additional temperature sensors as well as voltage and
         current telemetry for Zen CPUs
    
      w83627ehf:
       - Remove support for NCT6775, NCT6776 (they have their own driver)
    
      New drivers:
       - ADM1177
       - MAX31730
       - Driver for disk and solid state drives with temperature sensors
    
      Other:
       - pwm-fan: stop fan on shutdown"
    
    * tag 'hwmon-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (35 commits)
      hwmon: (k10temp) Display up to eight sets of CCD temperatures
      hwmon: (k10temp) Add debugfs support
      hwmon: (k10temp) Don't show temperature limits on Ryzen (Zen) CPUs
      hwmon: (k10temp) Show core and SoC current and voltages on Ryzen CPUs
      hwmon: (k10temp) Report temperatures per CPU die
      hmon: (k10temp) Convert to use devm_hwmon_device_register_with_info
      hwmon: (k10temp) Use bitops
      hwmon: (pwm-fan) stop fan on shutdown
      MAINTAINERS: add entry for ADM1177 driver
      dt-binding: hwmon: Add documentation for ADM1177
      hwmon: (adm1177) Add ADM1177 Hot Swap Controller and Digital Power Monitor driver
      docs: hwmon: Include 'xdpe12284.rst' into docs
      hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers
      hwmon: (pmbus/tps53679) Extend device list supported by driver
      hwmon: (pmbus/core) Add support for Intel IMVP9 and AMD 6.25mV modes
      hwmon: (pmbus/core) Add support for vid mode detection per page bases
      hwmon: (pmbus/ibm-cffps) Prevent writing on_off_config with bad data
      hwmon: (w83627ehf) Remove set but not used variable 'fan4min'
      hwmon: Driver for disk and solid state drives with temperature sensors
      hwmon: (pmbus/ibm-cffps) Fix the LED behavior when turned off
      ...
    torvalds committed Jan 27, 2020
    Copy the full SHA
    35417d5 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'tpmdd-next-20200122' of git://git.infradead.org/users/jjs/…

    …linux-tpmdd
    
    Pull tpm updates from Jarkko Sakkinen:
     "This adds a new sysfs file for querying TPM major version, which can
      be used by the user space the TPM protocol used to communicate with
      the chip"
    
    * tag 'tpmdd-next-20200122' of git://git.infradead.org/users/jjs/linux-tpmdd:
      tpm: Add tpm_version_major sysfs file
      tpm: Update mailing list contact information in sysfs-class-tpm
    torvalds committed Jan 27, 2020
    Copy the full SHA
    189fc98 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'm68k-for-v5.6-tag1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/geert/linux-m68k
    
    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
    torvalds committed Jan 27, 2020
    Copy the full SHA
    f11ba7d View commit details
    Browse the repository at this point in the history
  7. Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/arm64/linux
    
    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
      ...
    torvalds committed Jan 27, 2020
    Copy the full SHA
    0238d3c View commit details
    Browse the repository at this point in the history
  8. Linux 5.5

    torvalds committed Jan 27, 2020
    Copy the full SHA
    d5226fa View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2020

  1. Merge tag 'io_uring-5.5-2020-01-26' of git://git.kernel.dk/linux-block

    Pull io_uring fixes from Jens Axboe:
     "Fix for two regressions in this cycle, both reported by the postgresql
      use case.
    
      One removes the added restriction on who can submit IO, making it
      possible for rings shared across forks to do so. The other fixes an
      issue for the same kind of use case, where one exiting process would
      cancel all IO"
    
    * tag 'io_uring-5.5-2020-01-26' of git://git.kernel.dk/linux-block:
      io_uring: don't cancel all work on process exit
      Revert "io_uring: only allow submit from owning task"
    torvalds committed Jan 26, 2020
    Copy the full SHA
    5cf9ad0 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'block-5.5-2020-01-26' of git://git.kernel.dk/linux-block

    Pull block fix from Jens Axboe:
     "Unfortunately this weekend we had a few last minute reports, one was
      for block.
    
      The partition disable for zoned devices was overly restrictive, it can
      work (and be supported) just fine for host-aware variants.
    
      Here's a fix ensuring that's the case so we don't break existing users
      of that"
    
    * tag 'block-5.5-2020-01-26' of git://git.kernel.dk/linux-block:
      block: allow partitions on host aware zone devices
    torvalds committed Jan 26, 2020
    Copy the full SHA
    9dbca16 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "Two last minute fixes, both in drivers.
    
      The fnic one is a highly unlikely condition, but the RDMA one is a
      recently introduced regression that causes a kernel warning to trigger
      in every RDMA logon, which would be unsightly if it got into the final
      release"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: RDMA/isert: Fix a recently introduced regression related to logout
      scsi: fnic: do not queue commands during fwreset
    torvalds committed Jan 26, 2020
    Copy the full SHA
    54343d9 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/viro/vfs
    
    Pull vfs fix from Al Viro:
     "Fix a use-after-free in do_last() handling of sysctl_protected_...
      checks.
    
      The use-after-free normally doesn't happen there, but race with
      rename() and it becomes possible"
    
    * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      do_last(): fetch directory ->i_mode and ->i_uid before it's too late
    torvalds committed Jan 26, 2020
    Copy the full SHA
    b1b2989 View commit details
    Browse the repository at this point in the history
  5. io_uring: don't cancel all work on process exit

    If we're sharing the ring across forks, then one process exiting means
    that we cancel ALL work and prevent future work. This is overly
    restrictive. As long as we cancel the work associated with the files
    from the current task, it's safe to let others persist. Normal fd close
    on exit will still wait (and cancel) pending work.
    
    Fixes: fcb323c ("io_uring: io_uring: add support for async work inheriting files")
    Reported-by: Andres Freund <andres@anarazel.de>
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    axboe committed Jan 26, 2020
    Copy the full SHA
    ebe1002 View commit details
    Browse the repository at this point in the history
  6. block: allow partitions on host aware zone devices

    Host-aware SMR drives can be used with the commands to explicitly manage
    zone state, but they can also be used as normal disks.  In the former
    case it makes perfect sense to allow partitions on them, in the latter
    it does not, just like for host managed devices.  Add a check to
    add_partition to allow partitions on host aware devices, but give
    up any zone management capabilities in that case, which also catches
    the previously missed case of adding a partition vs just scanning it.
    
    Because sd can rescan the attribute at runtime it needs to check if
    a disk has partitions, for which a new helper is added to genhd.h.
    
    Fixes: 5eac3eb ("block: Remove partition support for zoned block devices")
    Reported-by: Borislav Petkov <bp@suse.de>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
    Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    Christoph Hellwig authored and axboe committed Jan 26, 2020
    Copy the full SHA
    b720530 View commit details
    Browse the repository at this point in the history
  7. Revert "io_uring: only allow submit from owning task"

    This ends up being too restrictive for tasks that willingly fork and
    share the ring between forks. Andres reports that this breaks his
    postgresql work. Since we're close to 5.5 release, revert this change
    for now.
    
    Cc: stable@vger.kernel.org
    Fixes: 44d2827 ("io_uring: only allow submit from owning task")
    Reported-by: Andres Freund <andres@anarazel.de>
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    axboe committed Jan 26, 2020
    Copy the full SHA
    73e08e7 View commit details
    Browse the repository at this point in the history
  8. afs: Fix characters allowed into cell names

    The afs filesystem needs to prohibit certain characters from cell names,
    such as '/', as these are used to form filenames in procfs, leading to
    the following warning being generated:
    
    	WARNING: CPU: 0 PID: 3489 at fs/proc/generic.c:178
    
    Fix afs_alloc_cell() to disallow nonprintable characters, '/', '@' and
    names that begin with a dot.
    
    Remove the check for "@cell" as that is then redundant.
    
    This can be tested by running:
    
    	echo add foo/.bar 1.2.3.4 >/proc/fs/afs/cells
    
    Note that we will also need to deal with:
    
     - Names ending in ".invalid" shouldn't be passed to the DNS.
    
     - Names that contain non-valid domainname chars shouldn't be passed to
       the DNS.
    
     - DNS replies that say "your-dns-needs-immediate-attention.<gTLD>" and
       replies containing A records that say 127.0.53.53 should be
       considered invalid.
       [https://www.icann.org/en/system/files/files/name-collision-mitigation-01aug14-en.pdf]
    
    but these need to be dealt with by the kafs-client DNS program rather
    than the kernel.
    
    Reported-by: syzbot+b904ba7c947a37b4b291@syzkaller.appspotmail.com
    Cc: stable@kernel.org
    Signed-off-by: David Howells <dhowells@redhat.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    dhowells authored and torvalds committed Jan 26, 2020
    Copy the full SHA
    a45ea48 View commit details
    Browse the repository at this point in the history
  9. do_last(): fetch directory ->i_mode and ->i_uid before it's too late

    may_create_in_sticky() call is done when we already have dropped the
    reference to dir.
    
    Fixes: 30aba66 (namei: allow restricted O_CREAT of FIFOs and regular files)
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    Al Viro committed Jan 26, 2020
    Copy the full SHA
    d0cb501 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2020

  1. Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm

    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
    torvalds committed Jan 25, 2020
    Copy the full SHA
    2821e26 View commit details
    Browse the repository at this point in the history
  2. Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

    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
      ...
    torvalds committed Jan 25, 2020
    Copy the full SHA
    84809aa View commit details
    Browse the repository at this point in the history
  3. Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/soc/soc
    
    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
    torvalds committed Jan 25, 2020
    Copy the full SHA
    f041ead View commit details
    Browse the repository at this point in the history
  4. firestream: fix memory leaks

    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: Wenwen Wang <wenwen@cs.uga.edu>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    wenwenwang1 authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    fa865ba View commit details
    Browse the repository at this point in the history
  5. Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf

    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: David S. Miller <davem@davemloft.net>
    davem330 committed Jan 25, 2020
    Copy the full SHA
    6badad1 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'for-5.5-rc8-tag' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/kdave/linux
    
    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
    torvalds committed Jan 25, 2020
    Copy the full SHA
    a075f23 View commit details
    Browse the repository at this point in the history
  7. Merge tag 'pinctrl-v5.5-5' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/linusw/linux-pinctrl
    
    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
    torvalds committed Jan 25, 2020
    Copy the full SHA
    93d1a05 View commit details
    Browse the repository at this point in the history
  8. Merge tag 'mlx5-fixes-2020-01-24' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/saeed/linux
    
    Saeed Mahameed says:
    
    ====================
    Mellanox, mlx5 fixes 2020-01-24
    
    This series introduces some fixes to mlx5 driver.
    
    Please pull and let me know if there is any problem.
    
    Merge conflict: once merge with net-next, a contextual conflict will
    appear in drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
    since the code moved in net-next.
    To resolve, just delete ALL of the conflicting hunk from net.
    So sorry for the small mess ..
    
    For -stable v5.4:
     ('net/mlx5: Update the list of the PCI supported devices')
     ('net/mlx5: Fix lowest FDB pool size')
     ('net/mlx5e: kTLS, Fix corner-case checks in TX resync flow')
     ('net/mlx5e: kTLS, Do not send decrypted-marked SKBs via non-accel path')
     ('net/mlx5: Eswitch, Prevent ingress rate configuration of uplink rep')
     ('net/mlx5e: kTLS, Remove redundant posts in TX resync flow')
     ('net/mlx5: DR, Enable counter on non-fwd-dest objects')
     ('net/mlx5: DR, use non preemptible call to get the current cpu number')
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Jan 25, 2020
    Copy the full SHA
    722943a View commit details
    Browse the repository at this point in the history
  9. btrfs: dev-replace: remove warning for unknown return codes when fini…

    …shed
    
    The fstests btrfs/011 triggered a warning at the end of device replace,
    
      [ 1891.998975] BTRFS warning (device vdd): failed setting block group ro: -28
      [ 1892.038338] BTRFS error (device vdd): btrfs_scrub_dev(/dev/vdd, 1, /dev/vdb) failed -28
      [ 1892.059993] ------------[ cut here ]------------
      [ 1892.063032] WARNING: CPU: 2 PID: 2244 at fs/btrfs/dev-replace.c:506 btrfs_dev_replace_start.cold+0xf9/0x140 [btrfs]
      [ 1892.074346] CPU: 2 PID: 2244 Comm: btrfs Not tainted 5.5.0-rc7-default+ #942
      [ 1892.079956] RIP: 0010:btrfs_dev_replace_start.cold+0xf9/0x140 [btrfs]
    
      [ 1892.096576] RSP: 0018:ffffbb58c7b3fd10 EFLAGS: 00010286
      [ 1892.098311] RAX: 00000000ffffffe4 RBX: 0000000000000001 RCX: 8888888888888889
      [ 1892.100342] RDX: 0000000000000001 RSI: ffff9e889645f5d8 RDI: ffffffff92821080
      [ 1892.102291] RBP: ffff9e889645c000 R08: 000001b8878fe1f6 R09: 0000000000000000
      [ 1892.104239] R10: ffffbb58c7b3fd08 R11: 0000000000000000 R12: ffff9e88a0017000
      [ 1892.106434] R13: ffff9e889645f608 R14: ffff9e88794e1000 R15: ffff9e88a07b5200
      [ 1892.108642] FS:  00007fcaed3f18c0(0000) GS:ffff9e88bda00000(0000) knlGS:0000000000000000
      [ 1892.111558] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [ 1892.113492] CR2: 00007f52509ff420 CR3: 00000000603dd002 CR4: 0000000000160ee0
    
      [ 1892.115814] Call Trace:
      [ 1892.116896]  btrfs_dev_replace_by_ioctl+0x35/0x60 [btrfs]
      [ 1892.118962]  btrfs_ioctl+0x1d62/0x2550 [btrfs]
    
    caused by the previous patch ("btrfs: scrub: Require mandatory block
    group RO for dev-replace"). Hitting ENOSPC is possible and could happen
    when the block group is set read-only, preventing NOCOW writes to the
    area that's being accessed by dev-replace.
    
    This has happend with scratch devices of size 12G but not with 5G and
    20G, so this is depends on timing and other activity on the filesystem.
    The whole replace operation is restartable, the space state should be
    examined by the user in any case.
    
    The error code is propagated back to the ioctl caller so the kernel
    warning is causing false alerts.
    
    Signed-off-by: David Sterba <dsterba@suse.com>
    kdave committed Jan 25, 2020
    Copy the full SHA
    4cea903 View commit details
    Browse the repository at this point in the history
  10. net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM

    The cxgb3 driver for "Chelsio T3-based gigabit and 10Gb Ethernet
    adapters" implements a custom ioctl as SIOCCHIOCTL/SIOCDEVPRIVATE in
    cxgb_extension_ioctl().
    
    One of the subcommands of the ioctl is CHELSIO_GET_MEM, which appears
    to read memory directly out of the adapter and return it to userspace.
    It's not entirely clear what the contents of the adapter memory
    contains, but the assumption is that it shouldn't be accessible to all
    users.
    
    So add a CAP_NET_ADMIN check to the CHELSIO_GET_MEM case. Put it after
    the is_offload() check, which matches two of the other subcommands in
    the same function which also check for is_offload() and CAP_NET_ADMIN.
    
    Found by Ilja by code inspection, not tested as I don't have the
    required hardware.
    
    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    mpe authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    3546d8f View commit details
    Browse the repository at this point in the history
  11. net: bcmgenet: Use netif_tx_napi_add() for TX NAPI

    Before commit 7587935 ("net: bcmgenet: move NAPI initialization to
    ring initialization") moved the code, this used to be
    netif_tx_napi_add(), but we lost that small semantic change in the
    process, restore that.
    
    Fixes: 7587935 ("net: bcmgenet: move NAPI initialization to ring initialization")
    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    Acked-by: Doug Berger <opendmb@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    ffainelli authored and davem330 committed Jan 25, 2020
    Copy the full SHA
    148965d View commit details
    Browse the repository at this point in the history
Older