Skip to content
Permalink
Leon-Krieg/sta…
Switch branches/tags

Commits on Aug 16, 2021

  1. staging/ks7010: Fix coding style problems

    Sorry to bother you with this low-effort patch but I'd really like to get
    my feet in the water and this whole process is making me nervous. I'd
    really appreciate you taking the time to look over this diff and
    hopefully I did not screw up to badly.
    
    Signed-off-by: Leon Krieg <info@madcow.dev>
    madcow authored and intel-lab-lkp committed Aug 16, 2021
  2. staging: r8188eu: Remove unused nat25_handle_frame()

    Remove nat25_handle_frame() because it is not called by any other
    function of the driver.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210816160617.11949-2-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Aug 16, 2021
  3. staging: r8188eu: remove ipx support from driver

    The ipx.h header files are being removed from the kernel, and support
    for them was long removed from the tree, so remove all references to it
    in the r8188eu driver as well, to allow it to continue to build properly
    in linux-next
    
    Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210816073450.668993-2-gregkh@linuxfoundation.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gregkh committed Aug 16, 2021
  4. staging: r8188eu: remove inline markings from functions in rtw_br_ext.c

    The compiler is free to ignore, or follow, "inline" markings so they
    really have no use in .c files, so just remove them.
    
    This allows functions to properly show up as being unused when all
    callers to them are removed, otherwise gcc does not warn you about this.
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Link: https://lore.kernel.org/r/20210816073450.668993-1-gregkh@linuxfoundation.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gregkh committed Aug 16, 2021
  5. staging: r8188eu: use common ieee80211 constants

    Many defined constants in wifi.h are unused and/or available from
    <linux/ieee80211.h>, some with slightly different names. Remove
    the constants from wifi.h and use the common ones. Rename where
    necessary.
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210814165518.8672-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  6. staging: r8188eu: remove kernel version depended code paths

    Remove kernel version depended code paths from the driver.
    Reported by checkpatch.
    
    WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged
    
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210815102406.3707-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  7. staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSign…

    …alStuff819xUsb()
    
    clang warns:
    
    drivers/staging/rtl8192u/r8192U_core.c:4268:20: warning: bitwise and of
    boolean expressions; did you mean logical and? [-Wbool-operation-and]
            bpacket_toself =  bpacket_match_bssid &
                              ^~~~~~~~~~~~~~~~~~~~~
                                                  &&
    1 warning generated.
    
    Replace the bitwise AND with a logical one to clear up the warning, as
    that is clearly what was intended.
    
    Fixes: 8fc8598 ("Staging: Added Realtek rtl8192u driver to staging")
    Signed-off-by: Nathan Chancellor <nathan@kernel.org>
    Link: https://lore.kernel.org/r/20210814235625.1780033-1-nathan@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    nathanchance authored and gregkh committed Aug 16, 2021
  8. staging: r8188eu: os_dep: Remove defined but not used variables

    Remove defined but not used const variables. Issues detected by GCC
    running with -Wunused-const-variable option enabled.
    
    Acked-by: Michael Straube <straube.linux@gmail.com>
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210814160804.11634-1-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Aug 16, 2021
  9. staging: r8188eu: remove ODM_GetRightChnlPlaceforIQK()

    Function ODM_GetRightChnlPlaceforIQK() returns always zero for
    channels <= 14. The driver is for chips that do not support 5 GHz,
    so remove the function and replace the usage of its return value
    with zero.
    
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210814073920.3551-1-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  10. staging: r8188eu: Remove unnecessary ret variable in rtw_drv_init()

    ret is unnecessary as both error paths set the same error code so just
    return that directly.
    
    Suggested-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Reviewed-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Nathan Chancellor <nathan@kernel.org>
    Link: https://lore.kernel.org/r/20210813201418.4018631-1-nathan@kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    nathanchance authored and gregkh committed Aug 16, 2021
  11. staging: r8188eu: Remove variables and simplify PHY_SwChnl8188E()

    Remove "bResult" and "tmpchannel" and all tests and assignments that
    are related to them in the code of PHY_SwChnl8188E().
    
    "bResult" was always true, therefore its test led to a null statement.
    "tmpchannel" was used only to restore "pHalData->CurrentChannel" to its
    previous value only if _PHY_SwChnl8192C() was not called; therefore
    assign "channel" to "pHalData->CurrentChannel" if and only if
    _PHY_SwChnl8192C() is to be executed (and get rid of that temporary
    storage).
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Link: https://lore.kernel.org/r/20210813160812.17603-1-fmdefrancesco@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    xp4ns3 authored and gregkh committed Aug 16, 2021
  12. staging: r8188eu: rename Hal_GetChnlGroup88E()

    Rename Hal_GetChnlGroup88E() to avoid camel case.
    HalGetChnlGroup88E -> hal_get_chnl_group_88e
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210813073109.25609-5-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  13. staging: r8188eu: rename parameter of Hal_GetChnlGroup88E()

    Rename parameter of Hal_GetChnlGroup88E() to avoid camel case.
    pGroup -> group
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210813073109.25609-4-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  14. staging: r8188eu: convert return type of Hal_GetChnlGroup88E() to void

    After the removal of 5GHz code from Hal_GetChnlGroup88E() the function
    always returns true now. Convert the return type to void and change the
    only user Hal_ReadTxPowerInfo88E() accordingly.
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210813073109.25609-3-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  15. staging: r8188eu: remove 5GHz code from Hal_GetChnlGroup88E()

    Remove 5GHz code from Hal_GetChnlGroup88E().
    
    Acked-by: Phillip Potter <phil@philpotter.co.uk>
    Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
    Acked-by: Martin Kaiser <martin@kaiser.cx>
    Signed-off-by: Michael Straube <straube.linux@gmail.com>
    Link: https://lore.kernel.org/r/20210813073109.25609-2-straube.linux@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    MichaelStraube authored and gregkh committed Aug 16, 2021
  16. Merge 5.14-rc6 into staging-next

    We need the IIO fixes in here as well.
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    gregkh committed Aug 16, 2021

Commits on Aug 15, 2021

  1. Linux 5.14-rc6

    torvalds committed Aug 15, 2021
  2. Merge tag 'powerpc-5.14-5' of git://git.kernel.org/pub/scm/linux/kern…

    …el/git/powerpc/linux
    
    Pull powerpc fixes from Michael Ellerman:
    
     - Fix crashes coming out of nap on 32-bit Book3s (eg. powerbooks).
    
     - Fix critical and debug interrupts on BookE, seen as crashes when
       using ptrace.
    
     - Fix an oops when running an SMP kernel on a UP system.
    
     - Update pseries LPAR security flavor after partition migration.
    
     - Fix an oops when using kprobes on BookE.
    
     - Fix oops on 32-bit pmac by not calling do_IRQ() from
       timer_interrupt().
    
     - Fix softlockups on CPU hotplug into a CPU-less node with xive (P9).
    
    Thanks to Cédric Le Goater, Christophe Leroy, Finn Thain, Geetika
    Moolchandani, Laurent Dufour, Laurent Vivier, Nicholas Piggin, Pu Lehui,
    Radu Rendec, Srikar Dronamraju, and Stan Johnson.
    
    * tag 'powerpc-5.14-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
      powerpc/xive: Do not skip CPU-less nodes when creating the IPIs
      powerpc/interrupt: Do not call single_step_exception() from other exceptions
      powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
      powerpc/kprobes: Fix kprobe Oops happens in booke
      powerpc/pseries: Fix update of LPAR security flavor after LPM
      powerpc/smp: Fix OOPS in topology_init()
      powerpc/32: Fix critical and debug interrupts on BOOKE
      powerpc/32s: Fix napping restore in data storage interrupt (DSI)
    torvalds committed Aug 15, 2021
  3. Merge tag 'irq-urgent-2021-08-15' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    Pull irq fixes from Thomas Gleixner:
     "A set of fixes for PCI/MSI and x86 interrupt startup:
    
       - Mask all MSI-X entries when enabling MSI-X otherwise stale unmasked
         entries stay around e.g. when a crashkernel is booted.
    
       - Enforce masking of a MSI-X table entry when updating it, which
         mandatory according to speification
    
       - Ensure that writes to MSI[-X} tables are flushed.
    
       - Prevent invalid bits being set in the MSI mask register
    
       - Properly serialize modifications to the mask cache and the mask
         register for multi-MSI.
    
       - Cure the violation of the affinity setting rules on X86 during
         interrupt startup which can cause lost and stale interrupts. Move
         the initial affinity setting ahead of actualy enabling the
         interrupt.
    
       - Ensure that MSI interrupts are completely torn down before freeing
         them in the error handling case.
    
       - Prevent an array out of bounds access in the irq timings code"
    
    * tag 'irq-urgent-2021-08-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      driver core: Add missing kernel doc for device::msi_lock
      genirq/msi: Ensure deactivation on teardown
      genirq/timings: Prevent potential array overflow in __irq_timings_store()
      x86/msi: Force affinity setup before startup
      x86/ioapic: Force affinity setup before startup
      genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
      PCI/MSI: Protect msi_desc::masked for multi-MSI
      PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
      PCI/MSI: Correct misleading comments
      PCI/MSI: Do not set invalid bits in MSI mask
      PCI/MSI: Enforce MSI[X] entry updates to be visible
      PCI/MSI: Enforce that MSI-X table entry is masked for update
      PCI/MSI: Mask all unused MSI-X entries
      PCI/MSI: Enable and mask MSI-X early
    torvalds committed Aug 15, 2021
  4. Merge tag 'locking_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/tip/tip
    
    Pull locking fix from Borislav Petkov:
    
     - Fix a CONFIG symbol's spelling
    
    * tag 'locking_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      locking/rtmutex: Use the correct rtmutex debugging config option
    torvalds committed Aug 15, 2021
  5. Merge tag 'efi_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull EFI fixes from Borislav Petkov:
     "A batch of fixes for the arm64 stub image loader:
    
       - fix a logic bug that can make the random page allocator fail
         spuriously
    
       - force reallocation of the Image when it overlaps with firmware
         reserved memory regions
    
       - fix an oversight that defeated on optimization introduced earlier
         where images loaded at a suitable offset are never moved if booting
         without randomization
    
       - complain about images that were not loaded at the right offset by
         the firmware image loader"
    
    * tag 'efi_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      efi/libstub: arm64: Double check image alignment at entry
      efi/libstub: arm64: Warn when efi_random_alloc() fails
      efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
      efi/libstub: arm64: Force Image reallocation if BSS was not reserved
      arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    torvalds committed Aug 15, 2021
  6. Merge tag 'x86_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/tip/tip
    
    Pull x86 fixes from Borislav Petkov:
     "Two fixes:
    
       - An objdump checker fix to ignore parenthesized strings in the
         objdump version
    
       - Fix resctrl default monitoring groups reporting when new subgroups
         get created"
    
    * tag 'x86_urgent_for_v5.14_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/resctrl: Fix default monitoring groups reporting
      x86/tools: Fix objdump version check again
    torvalds committed Aug 15, 2021
  7. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    Pull KVM fixes from Paolo Bonzini:
     "ARM:
    
       - Plug race between enabling MTE and creating vcpus
    
       - Fix off-by-one bug when checking whether an address range is RAM
    
      x86:
    
       - Fixes for the new MMU, especially a memory leak on hosts with <39
         physical address bits
    
       - Remove bogus EFER.NX checks on 32-bit non-PAE hosts
    
       - WAITPKG fix"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
      KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock
      KVM: x86/mmu: Don't step down in the TDP iterator when zapping all SPTEs
      KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs
      KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
      kvm: vmx: Sync all matching EPTPs when injecting nested EPT fault
      KVM: x86: remove dead initialization
      KVM: x86: Allow guest to set EFER.NX=1 on non-PAE 32-bit kernels
      KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
      KVM: arm64: Fix race when enabling KVM_ARM_CAP_MTE
      KVM: arm64: Fix off-by-one in range_is_memory
    torvalds committed Aug 15, 2021
  8. Merge tag 'iio-for-5.15a' of https://git.kernel.org/pub/scm/linux/ker…

    …nel/git/jic23/iio into staging-next
    
    Jonathan writes:
    
    First set of new IIO and counter device support, cleanups and features for 5.15
    
    Usual mix of cleanups and new device support.
    
    Counter
    ======
    
    Cleanups and refactoring:
    * treewide
      - Ensure attempts to set invalid modes result in -EINVAL return.
      - Rename counter_count_function to counter_function as the middle count
        is redundant.
      - Standardize error returns when limits are exceeded.
    * 104-quad:
      - Document the lock.
      - Return an error if attempt to set the ceiling value in a mode that
        doesn't support it.
    * intel-qep
      - Drop unused bitops.h include
    
    IIO
    ===
    
    New device support
    * bma255
      - Add support fo the bosch,bmc156_accel which oddly only exposes the INT2
        interrupt pin and not INT1. Patch set includes enabling use of INT2.
    * ingenic_adc
      - Add support for JZ4760 and similar and update bindings
      - Add support for JZ4760B and update bindings
    * rockchip_saradc
      - Add support for rk3568 ADC (separate channel array as more channels)
    * sgp40 gas sensor used to measure air quality
      - New driver including binding and ABI documentation.
    
    Bindings
    --------
    
    * Add missing bindings for many DACs where the binding was effectively
      implicit due to fallback probe methods in I2C and SPI.
      adi,ad5064
      adi,ad5360
      adi,ad5380
      adi,ad5421
      adi,ad5449
      adi,ad5504
      adi,ad5624r
      adi,ad5686 / adi,ad5696
      adi,ad5761
      adi,ad5764
      adi,ad5791
      adi,ad8801
      capella,cm3323 (also add explicit of_device_id table)
      microchip,mcp4922
    * bosch,bma255
      - Interrupt type in example was opposite of what the device expects.
        It's possible that a particular board had an inverter, but we
        definitely don't want the example to suggest this would be normal.
      - Add interrupt-names to allow for cases where only INT2 is connected.
      - Sort compatibles
      - Merge in very similar bosch,bma180 binding.
    
    New feature
    -----------
    
    * Devices only allowed to provide either extended_name or a label for given
      channel. If extend_name is used (generally discouraged but can't be
      removed as it would be a userspaece ABI change), then the label sysfs
      attribute will provide the extended_name. This allows some userspace
      parser simplications and hardening.
    * hid-sensors-pres
      - Add a timestamp channel (either from hardware, or locally filled).
    * vcnl3020
      - Add periodic sensor mode used to provide IIO events.
    
    Cleanups / minor fixes
    ----------------------
    
    * core/buffers
      - Avoid unnecessary zeroing of bitmaps that are immediately overwritten.
      - Move a sanity check earlier to simplify error path.
    * Quite a few cases of refactors to use devm_* for all of probe and drop
      remove
      - adjd_s311
      - adxl345
      - bma220
      - da280
      - dmard10
      - ds311
      - max5481
      - max5821
      - rfd77402
      - tcs3414
      - tmp006
    * ad5624r
      - Fix incorrect handling of a regulator that was preventing use of
        internal regulators.
    * adjd_s311
      - Allocate a buffer as part of iio_priv() structure as maximum size
        is small enough, no significant advantage in making it flexible sized.
    * bma220
      - Make handling of suspend and resume closer to the probe() wrt to the
        rather odd interface, that suspend mode is entered by reading a register.
    * ep93xx
      - Prepare clock before using (part of conversion to CCF)
    * fsl-imx25-gcq
      - Use local device pointer.
      - Adjust handling of platform_get_irq() to not check for 0 as an error.
        The function is documented as never returning it.
    * hid-sensors
      - Use devm_kmemdup() consistently across all drivers to simplify channel
        structure allocation management.
    * meson-saradc
      - Drop BL30 integration on G12A and newer SoCs as not used.
      - Whitespace fixes.
    * mpu6050
      - Add per device type startup times. This avoids an issue with having
        to dsicard initial data from gyroscopes when they were still stabilizing.
    * rfd77402
      - Change from passing private data, to passing i2c_client where only
        that is needed, reducing back and forth in pm functions.
    * si1145
      - Drop pointless continue
    * st-sensors
      - Cleanup of includes to remove unused and add missing headers that are used.
      - Use some devm functions to simplify probe() and remove() - gets us part way
        towards a fully device managed driver.
    * sx9310
      - Switch from of to generic properties to enable ACPI bindings.
    * vcnl3020
      - Add DMA safe buffer for bulk transfers.
      - Drop use of iio_claim_direct() in a driver that has no mode changes.
        A local lock is more appropriate.
    
    * tag 'iio-for-5.15a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (77 commits)
      counter: 104-quad-8: Describe member 'lock' in 'quad8'
      iio: hid-sensor-press: Add timestamp channel
      counter: Rename counter_count_function to counter_function
      counter: Rename counter_signal_value to counter_signal_level
      counter: Standardize to ERANGE for limit exceeded errors
      counter: Return error code on invalid modes
      counter: 104-quad-8: Return error when invalid mode during ceiling_write
      iio: accel: bmc150: Add support for BMC156
      iio: accel: bmc150: Make it possible to configure INT2 instead of INT1
      dt-bindings: iio: accel: bma255: Add bosch,bmc156_accel
      dt-bindings: iio: accel: bma255: Add interrupt-names
      iio: light: cm3323: Add of_device_id table
      dt-bindings: Add bindings for Capella cm3323 Ambient Light Sensor
      iio: chemical: Add driver support for sgp40
      dt-bindings: iio: chemical: Add trivial DT binding for sgp40
      iio: ep93xx: Prepare clock before using it
      iio: adc: fsl-imx25-gcq: adjust irq check to match docs and simplify code
      iio: dac: max5821: convert device register to device managed function
      dt-bindings: iio/adc: ingenic: add the JZ4760(B) socs to the sadc Documentation
      iio/adc: ingenic: add JZ4760B support to the sadc driver
      ...
    gregkh committed Aug 15, 2021
  9. Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…

    …it/jejb/scsi
    
    Pull SCSI fixes from James Bottomley:
     "Three minor fixes, all in drivers"
    
    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
      scsi: mpt3sas: Fix incorrectly assigned error return and check
      scsi: storvsc: Log TEST_UNIT_READY errors as warnings
      scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    torvalds committed Aug 15, 2021
  10. Merge tag 'libnvdimm-fixes-5.14-rc6' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/nvdimm/nvdimm
    
    Pull libnvdimm fixes from Dan Williams:
     "A couple of fixes for long standing bugs, a warning fixup, and some
      miscellaneous dax cleanups.
    
      The bugs were recently found due to new platforms looking to use the
      ACPI NFIT "virtual" device definition, and new error injection
      capabilities to trigger error responses to label area requests. Ira's
      cleanups have been long pending, I neglected to send them earlier, and
      see no harm in including them now. This has all appeared in -next with
      no reported issues.
    
      Summary:
    
       - Fix support for NFIT "virtual" ranges (BIOS-defined memory disks)
    
       - Fix recovery from failed label storage areas on NVDIMM devices
    
       - Miscellaneous cleanups from Ira's investigation of
         dax_direct_access paths preparing for stray-write protection"
    
    * tag 'libnvdimm-fixes-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
      tools/testing/nvdimm: Fix missing 'fallthrough' warning
      libnvdimm/region: Fix label activation vs errors
      ACPI: NFIT: Fix support for virtual SPA ranges
      dax: Ensure errno is returned from dax_direct_access
      fs/dax: Clarify nr_pages to dax_direct_access()
      fs/fuse: Remove unneeded kaddr parameter
    torvalds committed Aug 15, 2021
  11. Merge tag 'usb-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/usb
    
    Pull USB fix from Greg KH:
     "A single revert of a commit that caused problems in 5.14-rc5 for
      5.14-rc6. It has been in linux-next almost all week, and has resolved
      the issues that were reported on lots of different systems that were
      not the platform that the change was originally tested on (gotta love
      SoC cores used in multiple devices from multiple vendors...)"
    
    * tag 'usb-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
      Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists"
    torvalds committed Aug 15, 2021
  12. Merge tag 'staging-5.14-rc6' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/gregkh/staging
    
    Pull IIO driver fixes from Greg KH:
     "Here are some small IIO driver fixes for reported problems for
      5.14-rc6 (no staging driver fixes at the moment).
    
      All of them resolve reported issues and have been in linux-next all
      week with no reported problems. Full details are in the shortlog"
    
    * tag 'staging-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
      iio: adc: Fix incorrect exit of for-loop
      iio: humidity: hdc100x: Add margin to the conversion time
      dt-bindings: iio: st: Remove wrong items length check
      iio: accel: fxls8962af: fix i2c dependency
      iio: adis: set GPIO reset pin direction
      iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
      iio: accel: fxls8962af: fix potential use of uninitialized symbol
    torvalds committed Aug 15, 2021
  13. Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/wsa/linux
    
    Pull i2c fixes from Wolfram Sang:
     "One driver bugfix, a documentation bugfix, and an "uninitialized data"
      leak fix for the core"
    
    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
      Documentation: i2c: add i2c-sysfs into index
      i2c: dev: zero out array used for i2c reads from userspace
      i2c: iproc: fix race between client unreg and tasklet
    torvalds committed Aug 15, 2021

Commits on Aug 14, 2021

  1. Merge tag 'for-linus-5.14-rc6-tag' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/xen/tip
    
    Pull xen fixes from Juergen Gross:
     "A small cleanup patch and a fix of a rare race in the Xen evtchn
      driver"
    
    * tag 'for-linus-5.14-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
      xen/events: Fix race in set_evtchn_to_irq
      xen/events: remove redundant initialization of variable irq
    torvalds committed Aug 14, 2021
  2. Merge tag 'riscv-for-linus-5.14-rc6' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/riscv/linux
    
    Pull RISC-V fixes from Palmer Dabbelt:
    
     - avoid passing -mno-relax to compilers that don't support it
    
     - a comment fix
    
    * tag 'riscv-for-linus-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
      riscv: Fix comment regarding kernel mapping overlapping with IS_ERR_VALUE
      riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it
    torvalds committed Aug 14, 2021
  3. Merge tag 'configfs-5.14' of git://git.infradead.org/users/hch/configfs

    Pull configfs fix from Christoph Hellwig:
    
     - fix to revert to the historic write behavior (Bart Van Assche)
    
    * tag 'configfs-5.14' of git://git.infradead.org/users/hch/configfs:
      configfs: restore the kernel v5.13 text attribute write behavior
    torvalds committed Aug 14, 2021
  4. Merge branch 'akpm' (patches from Andrew)

    Merge misc fixes from Andrew Morton:
     "7 patches.
    
      Subsystems affected by this patch series: mm (kasan, mm/slub,
      mm/madvise, and memcg), and lib"
    
    * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
      lib: use PFN_PHYS() in devmem_is_allowed()
      mm/memcg: fix incorrect flushing of lruvec data in obj_stock
      mm/madvise: report SIGBUS as -EFAULT for MADV_POPULATE_(READ|WRITE)
      mm: slub: fix slub_debug disabling for list of slabs
      slub: fix kmalloc_pagealloc_invalid_free unit test
      kasan, slub: reset tag when printing address
      kasan, kmemleak: reset tags when scanning block
    torvalds committed Aug 14, 2021
  5. Merge tag '5.14-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6

    Pull cifs fixes from Steve French:
     "Four CIFS/SMB3 Fixes, all for stable, two relating to deferred close,
      and one for the 'modefromsid' mount option (when 'idsfromsid' not
      specified)"
    
    * tag '5.14-rc5-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
      cifs: Call close synchronously during unlink/rename/lease break.
      cifs: Handle race conditions during rename
      cifs: use the correct max-length for dentry_path_raw()
      cifs: create sd context must be a multiple of 8
    torvalds committed Aug 14, 2021
  6. Merge tag 'linux-kselftest-fixes-5.14-rc6' of git://git.kernel.org/pu…

    …b/scm/linux/kernel/git/shuah/linux-kselftest
    
    Pull Kselftest fix from Shuah Khan:
     "A single patch to sgx test to fix Q1 and Q2 calculation"
    
    * tag 'linux-kselftest-fixes-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
      selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c
    torvalds committed Aug 14, 2021
Older