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 18, 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>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    c4d16b7 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>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    31b7aa7 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 18, 2020
    Copy the full SHA
    8ece459 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>
    Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    fa94903 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>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    94a6c45 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 18, 2020
    Copy the full SHA
    66bd308 View commit details
    Browse the repository at this point in the history
  7. drivers/pmem: Allow pmem_clear_poison() to accept arbitrary offset an…

    …d len
    
    Currently pmem_clear_poison() expects offset and len to be sector aligned.
    Atleast that seems to be the assumption with which code has been written.
    It is called only from pmem_do_bvec() which is called only from pmem_rw_page()
    and pmem_make_request() which will only passe sector aligned offset and len.
    
    Soon we want use this function from dax_zero_page_range() code path which
    can try to zero arbitrary range of memory with-in a page. So update this
    function to assume that offset and length can be arbitrary and do the
    necessary alignments as needed.
    
    nvdimm_clear_poison() seems to assume offset and len to be aligned to
    clear_err_unit boundary. But this is currently internal detail and is
    not exported for others to use. So for now, continue to align offset and
    length to SECTOR_SIZE boundary. Improving it further and to align it 
    to clear_err_unit boundary is a TODO item for future.
    
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    0954fc7 View commit details
    Browse the repository at this point in the history
  8. 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>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
    rhvgoyal committed Feb 18, 2020
    Copy the full SHA
    f65a24b View commit details
    Browse the repository at this point in the history
  9. Merge tag 'ecryptfs-5.6-rc3-fixes' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/tyhicks/ecryptfs
    
    Pull eCryptfs fixes from Tyler Hicks:
    
     - downgrade the eCryptfs maintenance status to "Odd Fixes"
    
     - change my email address
    
     - fix a couple memory leaks in error paths
    
     - stability improvement to avoid a needless BUG_ON()
    
    * tag 'ecryptfs-5.6-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs:
      ecryptfs: replace BUG_ON with error handling code
      eCryptfs: Replace deactivated email address
      MAINTAINERS: eCryptfs: Update maintainer address and downgrade status
      ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
      ecryptfs: fix a memory leak bug in parse_tag_1_packet()
    torvalds committed Feb 18, 2020
    Copy the full SHA
    b1da3ac View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. Merge tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/kdave/linux
    
    Pull btrfs fix from David Sterba:
     "This is the fix for sleeping in a locked section bug reported by Dave
      Jones, caused by a patch dependence in development and pulled
      branches.
    
      I picked the existing patch over the fixup that Filipe sent, as it's a
      bit more generic fix. I've verified it with a specific test case, some
      rsync stress and one round of fstests"
    
    * tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: don't set path->leave_spinning for truncate
    torvalds committed Feb 17, 2020
    Copy the full SHA
    eaea294 View commit details
    Browse the repository at this point in the history
  2. btrfs: don't set path->leave_spinning for truncate

    The only time we actually leave the path spinning is if we're truncating
    a small amount and don't actually free an extent, which is not a common
    occurrence.  We have to set the path blocking in order to add the
    delayed ref anyway, so the first extent we find we set the path to
    blocking and stay blocking for the duration of the operation.  With the
    upcoming file extent map stuff there will be another case that we have
    to have the path blocking, so just swap to blocking always.
    
    Note: this patch also fixes a warning after 28553fa ("Btrfs: fix
    race between shrinking truncate and fiemap") got merged that inserts
    extent locks around truncation so the path must not leave spinning locks
    after btrfs_search_slot.
    
      [70.794783] BUG: sleeping function called from invalid context at mm/slab.h:565
      [70.794834] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1141, name: rsync
      [70.794863] 5 locks held by rsync/1141:
      [70.794876]  #0: ffff888417b9c408 (sb_writers#17){.+.+}, at: mnt_want_write+0x20/0x50
      [70.795030]  #1: ffff888428de28e8 (&type->i_mutex_dir_key#13/1){+.+.}, at: lock_rename+0xf1/0x100
      [70.795051]  #2: ffff888417b9c608 (sb_internal#2){.+.+}, at: start_transaction+0x394/0x560
      [70.795124]  #3: ffff888403081768 (btrfs-fs-01){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
      [70.795203]  #4: ffff888403086568 (btrfs-fs-00){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
      [70.795222] CPU: 5 PID: 1141 Comm: rsync Not tainted 5.6.0-rc2-backup+ #2
      [70.795362] Call Trace:
      [70.795374]  dump_stack+0x71/0xa0
      [70.795445]  ___might_sleep.part.96.cold.106+0xa6/0xb6
      [70.795459]  kmem_cache_alloc+0x1d3/0x290
      [70.795471]  alloc_extent_state+0x22/0x1c0
      [70.795544]  __clear_extent_bit+0x3ba/0x580
      [70.795557]  ? _raw_spin_unlock_irq+0x24/0x30
      [70.795569]  btrfs_truncate_inode_items+0x339/0xe50
      [70.795647]  btrfs_evict_inode+0x269/0x540
      [70.795659]  ? dput.part.38+0x29/0x460
      [70.795671]  evict+0xcd/0x190
      [70.795682]  __dentry_kill+0xd6/0x180
      [70.795754]  dput.part.38+0x2ad/0x460
      [70.795765]  do_renameat2+0x3cb/0x540
      [70.795777]  __x64_sys_rename+0x1c/0x20
    
    Reported-by: Dave Jones <davej@codemonkey.org.uk>
    Fixes: 28553fa ("Btrfs: fix race between shrinking truncate and fiemap")
    CC: stable@vger.kernel.org # 4.4+
    Reviewed-by: Filipe Manana <fdmanana@suse.com>
    Signed-off-by: Josef Bacik <josef@toxicpanda.com>
    Reviewed-by: David Sterba <dsterba@suse.com>
    [ add note ]
    Signed-off-by: David Sterba <dsterba@suse.com>
    josefbacik authored and kdave committed Feb 17, 2020
    Copy the full SHA
    52e29e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Linux 5.6-rc2

    torvalds committed Feb 16, 2020
    Copy the full SHA
    11a48a5 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'for-linus-5.6-1' of https://github.com/cminyard/linux-ipmi

    Pull IPMI update from Corey Minyard:
     "Minor bug fixes for IPMI
    
      I know this is late; I've been travelling and, well, I've been
      distracted.
    
      This is just a few bug fixes and adding i2c support to the IPMB
      driver, which is something I wanted from the beginning for it"
    
    * tag 'for-linus-5.6-1' of https://github.com/cminyard/linux-ipmi:
      drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
      ipmi:ssif: Handle a possible NULL pointer reference
      drivers: ipmi: Modify max length of IPMB packet
      drivers: ipmi: Support raw i2c packet in IPMB
    torvalds committed Feb 16, 2020
    Copy the full SHA
    ab02b61 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull KVM fixes from Paolo Bonzini:
     "Bugfixes and improvements to selftests.
    
      On top of this, Mauro converted the KVM documentation to rst format,
      which was very welcome"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (44 commits)
      docs: virt: guest-halt-polling.txt convert to ReST
      docs: kvm: review-checklist.txt: rename to ReST
      docs: kvm: Convert timekeeping.txt to ReST format
      docs: kvm: Convert s390-diag.txt to ReST format
      docs: kvm: Convert ppc-pv.txt to ReST format
      docs: kvm: Convert nested-vmx.txt to ReST format
      docs: kvm: Convert mmu.txt to ReST format
      docs: kvm: Convert locking.txt to ReST format
      docs: kvm: Convert hypercalls.txt to ReST format
      docs: kvm: arm/psci.txt: convert to ReST
      docs: kvm: convert arm/hyp-abi.txt to ReST
      docs: kvm: Convert api.txt to ReST format
      docs: kvm: convert devices/xive.txt to ReST
      docs: kvm: convert devices/xics.txt to ReST
      docs: kvm: convert devices/vm.txt to ReST
      docs: kvm: convert devices/vfio.txt to ReST
      docs: kvm: convert devices/vcpu.txt to ReST
      docs: kvm: convert devices/s390_flic.txt to ReST
      docs: kvm: convert devices/mpic.txt to ReST
      docs: kvm: convert devices/arm-vgit.txt to ReST
      ...
    torvalds committed Feb 16, 2020
    Copy the full SHA
    44024ad View commit details
    Browse the repository at this point in the history
  4. Merge tag 'edac_urgent_for_5.6' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/ras/ras
    
    Pull EDAC fixes from Borislav Petkov:
     "Two fixes for use-after-free and memory leaking in the EDAC core, by
      Robert Richter.
    
      Debug options like DEBUG_TEST_DRIVER_REMOVE, KASAN and DEBUG_KMEMLEAK
      unearthed issues with the lifespan of memory allocated by the EDAC
      memory controller descriptor due to misdesigned memory freeing, done
      partially by the EDAC core *and* the driver core, which is problematic
      to say the least.
    
      These two are minimal fixes to take care of stable - a proper rework
      is following which cleans up that mess properly"
    
    * tag 'edac_urgent_for_5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
      EDAC/sysfs: Remove csrow objects on errors
      EDAC/mc: Fix use-after-free and memleaks during device removal
    torvalds committed Feb 16, 2020
    Copy the full SHA
    b982df7 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'block-5.6-2020-02-16' of git://git.kernel.dk/linux-block

    Pull block fixes from Jens Axboe:
     "Not a lot here, which is great, basically just three small bcache
      fixes from Coly, and four NVMe fixes via Keith"
    
    * tag 'block-5.6-2020-02-16' of git://git.kernel.dk/linux-block:
      nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
      nvme/pci: move cqe check after device shutdown
      nvme: prevent warning triggered by nvme_stop_keep_alive
      nvme/tcp: fix bug on double requeue when send fails
      bcache: remove macro nr_to_fifo_front()
      bcache: Revert "bcache: shrink btree node cache after bch_btree_check()"
      bcache: ignore pending signals when creating gc and allocator thread
    torvalds committed Feb 16, 2020
    Copy the full SHA
    e29c6a1 View commit details
    Browse the repository at this point in the history
  6. Merge tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/git/kdave/linux
    
    Pull btrfs fixes from David Sterba:
     "Two races fixed, memory leak fix, sysfs directory fixup and two new
      log messages:
    
       - two fixed race conditions: extent map merging and truncate vs
         fiemap
    
       - create the right sysfs directory with device information and move
         the individual device dirs under it
    
       - print messages when the tree-log is replayed at mount time or
         cannot be replayed on remount"
    
    * tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: sysfs, move device id directories to UUID/devinfo
      btrfs: sysfs, add UUID/devinfo kobject
      Btrfs: fix race between shrinking truncate and fiemap
      btrfs: log message when rw remount is attempted with unclean tree-log
      btrfs: print message when tree-log replay starts
      Btrfs: fix race between using extent maps and merging them
      btrfs: ref-verify: fix memory leaks
    torvalds committed Feb 16, 2020
    Copy the full SHA
    713db35 View commit details
    Browse the repository at this point in the history
  7. Merge tag '5.6-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6

    Pull cifs fixes from Steve French:
     "Four small CIFS/SMB3 fixes. One (the EA overflow fix) for stable"
    
    * tag '5.6-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: make sure we do not overflow the max EA buffer size
      cifs: enable change notification for SMB2.1 dialect
      cifs: Fix mode output in debugging statements
      cifs: fix mount option display for sec=krb5i
    torvalds committed Feb 16, 2020
    Copy the full SHA
    288b27a View commit details
    Browse the repository at this point in the history
  8. Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tytso/ext4
    
    Pull ext4 fixes from Ted Ts'o:
     "Miscellaneous ext4 bug fixes (all stable fodder)"
    
    * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
      ext4: improve explanation of a mount failure caused by a misconfigured kernel
      jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
      jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
      ext4: add cond_resched() to ext4_protect_reserved_inode
      ext4: fix checksum errors with indexed dirs
      ext4: fix support for inode sizes > 1024 bytes
      ext4: simplify checking quota limits in ext4_statfs()
      ext4: don't assume that mmp_nodename/bdevname have NUL
    torvalds committed Feb 16, 2020
    Copy the full SHA
    8a8b809 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input updates from Dmitry Torokhov:
    
     - a few drivers have been updated to use flexible-array syntax instead
       of GCC extension
    
     - ili210x touchscreen driver now supports the 2120 protocol flavor
    
     - a couple more of Synaptics devices have been switched over to RMI4
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
      Input: cyapa - replace zero-length array with flexible-array member
      Input: tca6416-keypad - replace zero-length array with flexible-array member
      Input: gpio_keys_polled - replace zero-length array with flexible-array member
      Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
      Input: synaptics - enable SMBus on ThinkPad L470
      Input: synaptics - switch T470s to RMI4 by default
      Input: gpio_keys - replace zero-length array with flexible-array member
      Input: goldfish_events - replace zero-length array with flexible-array member
      Input: psmouse - switch to using i2c_new_scanned_device()
      Input: ili210x - add ili2120 support
      Input: ili210x - fix return value of is_visible function
    torvalds committed Feb 16, 2020
    Copy the full SHA
    db70e26 View commit details
    Browse the repository at this point in the history
  10. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/rdma/rdma
    
    Pull rdma fixes from Jason Gunthorpe:
     "Not too much going on here, though there are about four fixes related
      to stuff merged during the last merge window.
    
      We also see the return of a syzkaller instance with access to RDMA
      devices, and a few bugs detected by that squished.
    
       - Fix three crashers and a memory memory leak for HFI1
    
       - Several bugs found by syzkaller
    
       - A bug fix for the recent QP counters feature on older mlx5 HW
    
       - Locking inversion in cxgb4
    
       - Unnecessary WARN_ON in siw
    
       - A umad crasher regression during unload, from a bug fix for
         something else
    
       - Bugs introduced in the merge window:
           - Missed list_del in uverbs file rework, core and mlx5 devx
           - Unexpected integer math truncation in the mlx5 VAR patches
           - Compilation bug fix for the VAR patches on 32 bit"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
      IB/mlx5: Use div64_u64 for num_var_hw_entries calculation
      RDMA/core: Fix protection fault in get_pkey_idx_qp_list
      RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq
      RDMA/mlx5: Prevent overflow in mmap offset calculations
      IB/umad: Fix kernel crash while unloading ib_umad
      RDMA/mlx5: Fix async events cleanup flows
      RDMA/core: Add missing list deletion on freeing event queue
      RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready()
      RDMA/iw_cxgb4: initiate CLOSE when entering TERM
      IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
      RDMA/core: Fix invalid memory access in spec_filter_size
      IB/rdmavt: Reset all QPs when the device is shut down
      IB/hfi1: Close window for pq and request coliding
      IB/hfi1: Acquire lock to release TID entries when user file is closed
      RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create
    torvalds committed Feb 16, 2020
    Copy the full SHA
    54654e1 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2020

  1. Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/soc/soc
    
    Pull ARM SoC fixes from Olof Johansson:
     "A handful of fixes that have come in since the merge window:
    
       - Fix of PCI interrupt map on arm64 fast model (SW emulator)
    
       - Fixlet for sound on ST platforms and a small cleanup of deprecated
         DT properties
    
       - A stack buffer overflow fix for moxtet
    
       - Fuse driver build fix for Tegra194
    
       - A few config updates to turn on new drivers merged this cycle"
    
    * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
      bus: moxtet: fix potential stack buffer overflow
      soc/tegra: fuse: Fix build with Tegra194 configuration
      ARM: dts: sti: fixup sound frame-inversion for stihxxx-b2120.dtsi
      ARM: dts: sti: Remove deprecated snps PHY properties for stih410-b2260
      arm64: defconfig: Enable DRM_SUN6I_DSI
      arm64: defconfig: Enable CONFIG_SUN8I_THERMAL
      ARM: sunxi: Enable CONFIG_SUN8I_THERMAL
      arm64: defconfig: Set bcm2835-dma as built-in
      ARM: configs: Cleanup old Kconfig options
      ARM: npcm: Bring back GPIOLIB support
      arm64: dts: fast models: Fix FVP PCI interrupt-map property
    torvalds committed Feb 15, 2020
    Copy the full SHA
    b719ae0 View commit details
    Browse the repository at this point in the history
  2. Merge tag 's390-5.6-3' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/s390/linux
    
    Pull s390 updates from Vasily Gorbik:
    
     - Enable paes-s390 cipher selftests in testmgr (acked-by Herbert Xu).
    
     - Fix protected key length update in PKEY_SEC2PROTK ioctl and increase
       card/queue requests counter to 64-bit in crypto code.
    
     - Fix clang warning in get_tod_clock.
    
     - Fix ultravisor info length extensions handling.
    
     - Fix style of SPDX License Identifier in vfio-ccw.
    
     - Avoid unnecessary GFP_ATOMIC and simplify ACK tracking in qdio.
    
    * tag 's390-5.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
      crypto/testmgr: enable selftests for paes-s390 ciphers
      s390/time: Fix clk type in get_tod_clock
      s390/uv: Fix handling of length extensions
      s390/qdio: don't allocate *aob array with GFP_ATOMIC
      s390/qdio: simplify ACK tracking
      s390/zcrypt: fix card and queue total counter wrap
      s390/pkey: fix missing length of protected key on return
      vfio-ccw: Use the correct style for SPDX License Identifier
    torvalds committed Feb 15, 2020
    Copy the full SHA
    3e71e12 View commit details
    Browse the repository at this point in the history
  3. Merge tag 'hwmon-for-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/groeck/linux-staging
    
    Pull hwmon fixes from Guenter Roeck:
     "Fix compatible string typos in the xdpe12284 driver, and a wrong bit
      value in the ltc2978 driver"
    
    * tag 'hwmon-for-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
      hwmon: (pmbus/xdpe12284) fix typo in compatible strings
      hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
    torvalds committed Feb 15, 2020
    Copy the full SHA
    bd51613 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm…

    …/linux/kernel/git/tip/tip
    
    Pull scheduler fixes from Ingo Molnar:
     "Misc fixes all over the place:
    
       - Fix NUMA over-balancing between lightly loaded nodes. This is
         fallout of the big load-balancer rewrite.
    
       - Fix the NOHZ remote loadavg update logic, which fixes anomalies
         like reported 150 loadavg on mostly idle CPUs.
    
       - Fix XFS performance/scalability
    
       - Fix throttled groups unbound task-execution bug
    
       - Fix PSI procfs boundary condition
    
       - Fix the cpu.uclamp.{min,max} cgroup configuration write checks
    
       - Fix DocBook annotations
    
       - Fix RCU annotations
    
       - Fix overly CPU-intensive housekeeper CPU logic loop on large CPU
         counts"
    
    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched/fair: Fix kernel-doc warning in attach_entity_load_avg()
      sched/core: Annotate curr pointer in rq with __rcu
      sched/psi: Fix OOB write when writing 0 bytes to PSI files
      sched/fair: Allow a per-CPU kthread waking a task to stack on the same CPU, to fix XFS performance regression
      sched/fair: Prevent unlimited runtime on throttled group
      sched/nohz: Optimize get_nohz_timer_target()
      sched/uclamp: Reject negative values in cpu_uclamp_write()
      sched/fair: Allow a small load imbalance between low utilisation SD_NUMA domains
      timers/nohz: Update NOHZ load in remote tick
      sched/core: Don't skip remote tick for idle CPUs
    torvalds committed Feb 15, 2020
    Copy the full SHA
    ef78e5b View commit details
    Browse the repository at this point in the history
  5. Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull perf fixes from Ingo Molnar:
     "Fixes and HW enablement patches:
    
       - Tooling fixes, most of which are tooling header synchronization
         with v5.6 changes
    
       - Fix kprobes fallout on ARM
    
       - Add Intel Elkhart Lake support and extend Tremont support, these
         are relatively simple and should only affect those models
    
       - Fix the AMD family 17h generic event table"
    
    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (30 commits)
      perf llvm: Fix script used to obtain kernel make directives to work with new kbuild
      tools headers kvm: Sync linux/kvm.h with the kernel sources
      tools headers kvm: Sync kvm headers with the kernel sources
      tools arch x86: Sync asm/cpufeatures.h with the kernel sources
      tools headers x86: Sync disabled-features.h
      tools include UAPI: Sync sound/asound.h copy
      tools headers UAPI: Sync asm-generic/mman-common.h with the kernel
      perf tools: Add arm64 version of get_cpuid()
      tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
      tools headers uapi: Sync linux/fscrypt.h with the kernel sources
      tools headers UAPI: Sync sched.h with the kernel
      perf trace: Resolve prctl's 'option' arg strings to numbers
      perf beauty prctl: Export the 'options' strarray
      tools headers UAPI: Sync prctl.h with the kernel sources
      tools headers UAPI: Sync copy of arm64's asm/unistd.h with the kernel sources
      perf maps: Move kmap::kmaps setup to maps__insert()
      perf maps: Fix map__clone() for struct kmap
      perf maps: Mark ksymbol DSOs with kernel type
      perf maps: Mark module DSOs with kernel type
      tools include UAPI: Sync x86's syscalls_64.tbl, generic unistd.h and fcntl.h to pick up openat2 and pidfd_getfd
      ...
    torvalds committed Feb 15, 2020
    Copy the full SHA
    da99f93 View commit details
    Browse the repository at this point in the history
  6. bus: moxtet: fix potential stack buffer overflow

    The input_read function declares the size of the hex array relative to
    sizeof(buf), but buf is a pointer argument of the function. The hex
    array is meant to contain hexadecimal representation of the bin array.
    
    Link: https://lore.kernel.org/r/20200215142130.22743-1-marek.behun@nic.cz
    Fixes: 5bc7f99 ("bus: Add support for Moxtet bus")
    Signed-off-by: Marek Behún <marek.behun@nic.cz>
    Reported-by: sohu0106 <sohu0106@126.com>
    Signed-off-by: Olof Johansson <olof@lixom.net>
    elkablo authored and olofj committed Feb 15, 2020
    Copy the full SHA
    3bf3c97 View commit details
    Browse the repository at this point in the history
  7. ext4: improve explanation of a mount failure caused by a misconfigure…

    …d kernel
    
    If CONFIG_QFMT_V2 is not enabled, but CONFIG_QUOTA is enabled, when a
    user tries to mount a file system with the quota or project quota
    enabled, the kernel will emit a very confusing messsage:
    
        EXT4-fs warning (device vdc): ext4_enable_quotas:5914: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix.
        EXT4-fs (vdc): mount failed
    
    We will now report an explanatory message indicating which kernel
    configuration options have to be enabled, to avoid customer/sysadmin
    confusion.
    
    Link: https://lore.kernel.org/r/20200215012738.565735-1-tytso@mit.edu
    Google-Bug-Id: 149093531
    Fixes: 7c319d3 ("ext4: make quota as first class supported feature")
    Signed-off-by: Theodore Ts'o <tytso@mit.edu>
    Cc: stable@kernel.org
    tytso committed Feb 15, 2020
    Copy the full SHA
    d65d87a View commit details
    Browse the repository at this point in the history
  8. Merge tag 'perf-urgent-for-mingo-5.6-20200214' of git://git.kernel.or…

    …g/pub/scm/linux/kernel/git/acme/linux into perf/urgent
    
    Pull perf/urgent fixes from Arnaldo Carvalho de Melo:
    
    BPF:
    
      Arnaldo Carvalho de Melo:
    
      - Fix script used to obtain kernel make directives to work with new kbuild
        used for building BPF programs.
    
    maps:
    
      Jiri Olsa:
    
      - Fixup kmap->kmaps backpointer in kernel maps.
    
    arm64:
    
      John Garry:
    
      - Add arm64 version of get_cpuid() to get proper, arm64 specific output from
        'perf list' and other tools.
    
    perf top:
    
      Kim Phillips:
    
      - Update kernel idle symbols so that output in AMD systems is in line with
        other systems.
    
    perf stat:
    
      Kim Phillips:
    
      - Don't report a null stalled cycles per insn metric.
    
    tools headers:
    
      Arnaldo Carvalho de Melo:
    
      - Sync tools/ headers with the kernel sources to get things like syscall
        numbers and new arguments so that 'perf trace' can decode and use them in
        tracepoint filters, e.g. prctl's new PR_{G,S}ET_IO_FLUSHER options.
    
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Ingo Molnar committed Feb 15, 2020
    Copy the full SHA
    dfb9b69 View commit details
    Browse the repository at this point in the history
  9. Input: cyapa - replace zero-length array with flexible-array member

    The current codebase makes use of the zero-length array language
    extension to the C90 standard, but the preferred mechanism to declare
    variable-length types such as these ones is a flexible array member[1][2],
    introduced in C99:
    
    struct foo {
            int stuff;
            struct boo array[];
    };
    
    By making use of the mechanism above, we will get a compiler warning
    in case the flexible array does not occur last in the structure, which
    will help us prevent some kind of undefined behavior bugs from being
    inadvertently introduced[3] to the codebase from now on.
    
    Also, notice that, dynamic memory allocations won't be affected by
    this change:
    
    "Flexible array members have incomplete type, and so the sizeof operator
    may not be applied. As a quirk of the original implementation of
    zero-length arrays, sizeof evaluates to zero."[1]
    
    This issue was found with the help of Coccinelle.
    
    [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
    [2] KSPP#21
    [3] commit 7649773 ("cxgb3/l2t: Fix undefined behaviour")
    
    Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
    Link: https://lore.kernel.org/r/20200214172132.GA28389@embeddedor
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    GustavoARSilva authored and dtor committed Feb 15, 2020
    Copy the full SHA
    3dbae15 View commit details
    Browse the repository at this point in the history
  10. Input: tca6416-keypad - replace zero-length array with flexible-array…

    … member
    
    The current codebase makes use of the zero-length array language
    extension to the C90 standard, but the preferred mechanism to declare
    variable-length types such as these ones is a flexible array member[1][2],
    introduced in C99:
    
    struct foo {
            int stuff;
            struct boo array[];
    };
    
    By making use of the mechanism above, we will get a compiler warning
    in case the flexible array does not occur last in the structure, which
    will help us prevent some kind of undefined behavior bugs from being
    inadvertently introduced[3] to the codebase from now on.
    
    Also, notice that, dynamic memory allocations won't be affected by
    this change:
    
    "Flexible array members have incomplete type, and so the sizeof operator
    may not be applied. As a quirk of the original implementation of
    zero-length arrays, sizeof evaluates to zero."[1]
    
    This issue was found with the help of Coccinelle.
    
    [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
    [2] KSPP#21
    [3] commit 7649773 ("cxgb3/l2t: Fix undefined behaviour")
    
    Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
    Link: https://lore.kernel.org/r/20200214172022.GA27490@embeddedor
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    GustavoARSilva authored and dtor committed Feb 15, 2020
    Copy the full SHA
    94bef5d View commit details
    Browse the repository at this point in the history
  11. Input: gpio_keys_polled - replace zero-length array with flexible-arr…

    …ay member
    
    The current codebase makes use of the zero-length array language
    extension to the C90 standard, but the preferred mechanism to declare
    variable-length types such as these ones is a flexible array member[1][2],
    introduced in C99:
    
    struct foo {
            int stuff;
            struct boo array[];
    };
    
    By making use of the mechanism above, we will get a compiler warning
    in case the flexible array does not occur last in the structure, which
    will help us prevent some kind of undefined behavior bugs from being
    inadvertently introduced[3] to the codebase from now on.
    
    Also, notice that, dynamic memory allocations won't be affected by
    this change:
    
    "Flexible array members have incomplete type, and so the sizeof operator
    may not be applied. As a quirk of the original implementation of
    zero-length arrays, sizeof evaluates to zero."[1]
    
    This issue was found with the help of Coccinelle.
    
    [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
    [2] KSPP#21
    [3] commit 7649773 ("cxgb3/l2t: Fix undefined behaviour")
    
    Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
    Link: https://lore.kernel.org/r/20200214171907.GA26588@embeddedor
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    GustavoARSilva authored and dtor committed Feb 15, 2020
    Copy the full SHA
    3d87c75 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Merge tag 'nfs-for-5.6-2' of git://git.linux-nfs.org/projects/anna/li…

    …nux-nfs
    
    Pull NFS client bugfixes from Anna Schumaker:
     "The only stable fix this time is the DMA scatter-gather list bug fixed
      by Chuck.
    
      The rest fix up races and refcounting issues that have been found
      during testing.
    
      Stable fix:
       - fix DMA scatter-gather list mapping imbalance
    
      The rest:
       - fix directory verifier races
       - fix races between open and dentry revalidation
       - fix revalidation of dentries with delegations
       - fix "cachethis" setting for writes
       - fix delegation and delegation cred pinning"
    
    * tag 'nfs-for-5.6-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
      NFSv4: Ensure the delegation cred is pinned when we call delegreturn
      NFSv4: Ensure the delegation is pinned in nfs_do_return_delegation()
      NFSv4.1 make cachethis=no for writes
      xprtrdma: Fix DMA scatter-gather list mapping imbalance
      NFSv4: Fix revalidation of dentries with delegations
      NFSv4: Fix races between open and dentry revalidation
      NFS: Fix up directory verifier races
    torvalds committed Feb 14, 2020
    Copy the full SHA
    829e694 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'ceph-for-5.6-rc2' of https://github.com/ceph/ceph-client

    Pull ceph fixes from Ilya Dryomov:
    
     - make O_DIRECT | O_APPEND combination work better
    
     - redo the server path canonicalization patch that went into -rc1
    
     - fix the 'noacl' mount option that got broken by the conversion to the
       new mount API in 5.5
    
    * tag 'ceph-for-5.6-rc2' of https://github.com/ceph/ceph-client:
      ceph: noacl mount option is effectively ignored
      ceph: canonicalize server path in place
      ceph: do not execute direct write in parallel if O_APPEND is specified
    torvalds committed Feb 14, 2020
    Copy the full SHA
    cf556ed View commit details
    Browse the repository at this point in the history
  3. Merge tag 'io_uring-5.6-2020-02-14' of git://git.kernel.dk/linux-block

    Pull io_uring fixes from Jens Axboe:
     "Here's a set of fixes for io_uring:
    
       - Various fixes with cleanups from Pavel, fixing corner cases where
         we're not correctly dealing with iovec cleanup.
    
       - Clarify that statx/openat/openat2 don't accept fixed files
    
       - Buffered raw device write EOPTNOTSUPP fix
    
       - Ensure async workers grab current->fs
    
       - A few task exit fixes with pending requests that grab the file
         table
    
       - send/recvmsg async load fix
    
       - io-wq offline node setup fix
    
       - CQ overflow flush in poll"
    
    * tag 'io_uring-5.6-2020-02-14' of git://git.kernel.dk/linux-block: (21 commits)
      io_uring: prune request from overflow list on flush
      io-wq: don't call kXalloc_node() with non-online node
      io_uring: retain sockaddr_storage across send/recvmsg async punt
      io_uring: cancel pending async work if task exits
      io-wq: add io_wq_cancel_pid() to cancel based on a specific pid
      io-wq: make io_wqe_cancel_work() take a match handler
      io_uring: fix openat/statx's filename leak
      io_uring: fix double prep iovec leak
      io_uring: fix async close() with f_op->flush()
      io_uring: allow AT_FDCWD for non-file openat/openat2/statx
      io_uring: grab ->fs as part of async preparation
      io-wq: add support for inheriting ->fs
      io_uring: retry raw bdev writes if we hit -EOPNOTSUPP
      io_uring: add cleanup for openat()/statx()
      io_uring: fix iovec leaks
      io_uring: remove unused struct io_async_open
      io_uring: flush overflowed CQ events in the io_uring_poll()
      io_uring: statx/openat/openat2 don't support fixed files
      io_uring: fix deferred req iovec leak
      io_uring: fix 1-bit bitfields to be unsigned
      ...
    torvalds committed Feb 14, 2020
    Copy the full SHA
    ca60ad6 View commit details
    Browse the repository at this point in the history
Older