Skip to content
  1. Oct 15, 2021
  2. Oct 13, 2021
    • Miquel Raynal's avatar
      usb: musb: dsps: Fix the probe error path · c2115b2b
      Miquel Raynal authored
      Commit 7c75bde3 ("usb: musb: musb_dsps: request_irq() after
      initializing musb") has inverted the calls to
      dsps_setup_optional_vbus_irq() and dsps_create_musb_pdev() without
      updating correctly the error path. dsps_create_musb_pdev() allocates and
      registers a new platform device which must be unregistered and freed
      with platform_device_unregister(), and this is missing upon
      dsps_setup_optional_vbus_irq() error.
      
      While on the master branch it seems not to trigger any issue, I observed
      a kernel crash because of a NULL pointer dereference with a v5.10.70
      stable kernel where the patch mentioned above was backported. With this
      kernel version, -EPROBE_DEFER is returned the first time
      dsps_setup_optional_vbus_irq() is called which triggers the probe to
      error out without unregistering the platform device. Unfortunately, on
      the Beagle Bone Black Wireless, the platform device still living in the
      system is being used by the USB Ethernet gadget driver, which during the
      boot phase triggers the crash.
      
      My limited knowledge of the musb world prevents me to revert this commit
      which was sent to silence a robot warning which, as far as I understand,
      does not make sense. The goal of this patch was to prevent an IRQ to
      fire before the platform device being registered. I think this cannot
      ever happen due to the fact that enabling the interrupts is done by the
      ->enable() callback of the platform musb device, and this platform
      device must be already registered in order for the core or any other
      user to use this callback.
      
      Hence, I decided to fix the error path, which might prevent future
      errors on mainline kernels while also fixing older ones.
      
      Fixes: 7c75bde3
      
       ("usb: musb: musb_dsps: request_irq() after initializing musb")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      Link: https://lore.kernel.org/r/20211005221631.1529448-1-miquel.raynal@bootlin.com
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c2115b2b
  3. Oct 11, 2021
  4. Oct 10, 2021
  5. Oct 09, 2021
    • Linus Torvalds's avatar
      Merge tag 's390-5.15-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · f84fc4e3
      Linus Torvalds authored
      Pull s390 fixes from Vasily Gorbik:
      
       - Fix potential memory leak on a error path in eBPF
      
       - Fix handling of zpci device on reserve
      
      * tag 's390-5.15-5' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/pci: fix zpci_zdev_put() on reserve
        bpf, s390: Fix potential memory leak about jit_data
      f84fc4e3
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20211008' of git://github.com/jcmvbkbc/linux-xtensa · 5d6ab0bb
      Linus Torvalds authored
      Pull xtensa fixes from Max Filippov:
      
       - fix build/boot issues caused by CONFIG_OF vs CONFIC_USE_OF usage
      
       - fix reset handler for xtfpga boards
      
      * tag 'xtensa-20211008' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: xtfpga: Try software restart before simulating CPU reset
        xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
        xtensa: call irqchip_init only when CONFIG_USE_OF is selected
        xtensa: use CONFIG_USE_OF instead of CONFIG_OF
      5d6ab0bb
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.15b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 3946b46c
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - fix two minor issues in the Xen privcmd driver plus a cleanup patch
         for that driver
      
       - fix multiple issues related to running as PVH guest and some related
         earlyprintk fixes for other Xen guest types
      
       - fix an issue introduced in 5.15 the Xen balloon driver
      
      * tag 'for-linus-5.15b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/balloon: fix cancelled balloon action
        xen/x86: adjust data placement
        x86/PVH: adjust function/data placement
        xen/x86: hook up xen_banner() also for PVH
        xen/x86: generalize preferred console model from PV to PVH Dom0
        xen/x86: make "earlyprintk=xen" work for HVM/PVH DomU
        xen/x86: allow "earlyprintk=xen" to work for PV Dom0
        xen/x86: make "earlyprintk=xen" work better for PVH Dom0
        xen/x86: allow PVH Dom0 without XEN_PV=y
        xen/x86: prevent PVH type from getting clobbered
        xen/privcmd: drop "pages" parameter from xen_remap_pfn()
        xen/privcmd: fix error handling in mmap-resource processing
        xen/privcmd: replace kcalloc() by kvcalloc() when allocating empty pages
      3946b46c
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-fixes-5.15' of... · 0dcf60d0
      Linus Torvalds authored
      Merge tag 'asm-generic-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
      
      Pull asm-generic fixes from Arnd Bergmann:
       "There is one build fix for Arm platforms that ended up impacting most
        architectures because of the way the drivers/firmware Kconfig file is
        wired up:
      
        The CONFIG_QCOM_SCM dependency have caused a number of randconfig
        regressions over time, and some still remain in v5.15-rc4. The fix we
        agreed on in the end is to make this symbol selected by any driver
        using it, and then building it even for non-Arm platforms with
        CONFIG_COMPILE_TEST.
      
        To make this work on all architectures, the drivers/firmware/Kconfig
        file needs to be included for all architectures to make the symbol
        itself visible.
      
        In a separate discussion, we found that a sound driver patch that is
        pending for v5.16 needs the same change to include this Kconfig file,
        so the easiest solution seems to have my Kconfig rework included in
        v5.15.
      
        Finally, the branch also includes a small unrelated build fix for
        NOMMU architectures"
      
      Link: https://lore.kernel.org/all/20210928153508.101208f8@canb.auug.org.au/
      Link: https://lore.kernel.org/all/20210928075216.4193128-1-arnd@kernel.org/
      Link: https://lore.kernel.org/all/20211007151010.333516-1-arnd@kernel.org/
      
      * tag 'asm-generic-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere
        qcom_scm: hide Kconfig symbol
        firmware: include drivers/firmware/Kconfig unconditionally
      0dcf60d0
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · cdc726fb
      Linus Torvalds authored
      Pull ACPI fix from Rafael Wysocki:
       "Fix a recent ACPI-related regression in the PCI subsystem that
        introduced a NULL pointer dereference possible to trigger from
        user space via sysfs on some systems"
      
      * tag 'acpi-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PCI: ACPI: Check parent pointer in acpi_pci_find_companion()
      cdc726fb
    • Linus Torvalds's avatar
      Merge tag 'usb-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 741668ef
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 5.15-rc5 that resolve a number of
        reported issues:
      
         - gadget driver fixes
      
         - xhci build warning fixes
      
         - build configuration fix
      
         - cdc-acm tty handling fixes
      
         - cdc-wdm fix
      
         - typec fixes
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: cdc-acm: fix break reporting
        USB: cdc-acm: fix racy tty buffer accesses
        usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
        usb: cdc-wdm: Fix check for WWAN
        usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
        usb: typec: tcpm: handle SRC_STARTUP state if cc changes
        usb: typec: tcpci: don't handle vSafe0V event if it's not enabled
        usb: typec: tipd: Remove dependency on "connector" child fwnode
        Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
        usb: dwc3: gadget: Revert "set gadgets parent to the right controller"
        usb: xhci: tegra: mark PM functions as __maybe_unused
      741668ef
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 9c7e7050
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "A couple of MMC host fixes:
      
         - meson-gx: Fix read/write access for dram-access-quirk
      
         - sdhci-of-at91: Fix calibration sequence"
      
      * tag 'mmc-v5.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
        mmc: sdhci-of-at91: replace while loop with read_poll_timeout
        mmc: sdhci-of-at91: wait for calibration done before proceed
      9c7e7050
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2021-10-08' of git://anongit.freedesktop.org/drm/drm · 0068dc8c
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "I've returned from my tropical island retreat, even managed to bring
        one of my kids on a dive with some turtles. Thanks to Daniel for doing
        last week's work.
      
        Otherwise this is the weekly fixes pull, it's a bit bigger because the
        vc4 reverts in your tree caused some problems with fixes in the
        drm-misc tree so it got left out last week, so this week has the misc
        fixes rebased without the vc4 pieces.
      
        Otherwise it's i915, amdgpu with the usual fixes and a scattering over
        other drivers.
      
        I expect things should calm down a bit more next week.
      
        core:
         - Kconfig fix for fb_simple vs simpledrm.
      
        i915:
         - Fix RKL HDMI audio
         - Fix runtime pm imbalance on i915_gem_shrink() error path
         - Fix Type-C port access before hw/sw state sync
         - Fix VBT backlight struct version/size check
         - Fix VT-d async flip on SKL/BXT with plane stretch workaround
      
        amdgpu:
         - DCN 3.1 DP alt mode fixes
         - S0ix gfxoff fix
         - Fix DRM_AMD_DC_SI dependencies
         - PCIe DPC handling fix
         - DCN 3.1 scaling fix
         - Documentation fix
      
        amdkfd:
         - Fix potential memory leak
         - IOMMUv2 init fixes
      
        vc4 (there were some hdmi fixes but things got reverted, sort it out
             later):
         - compiler fix
      
        nouveau:
         - Cursor fix
         - Fix ttm buffer moves for ampere gpu's by adding minimal
           acceleration support.
         - memory leak fixes
      
        rockchip:
         - crtc/clk fixup
      
        panel:
         - ili9341 Fix DT bindings indent
         - y030xx067a - yellow tint init seq fix
      
        gbefb:
         - Fix gbefb when built with COMPILE_TEST"
      
      * tag 'drm-fixes-2021-10-08' of git://anongit.freedesktop.org/drm/drm: (33 commits)
        drm/amd/display: Fix detection of 4 lane for DPALT
        drm/amd/display: Limit display scaling to up to 4k for DCN 3.1
        drm/amd/display: Skip override for preferred link settings during link training
        drm/nouveau/debugfs: fix file release memory leak
        drm/nouveau/kms/nv50-: fix file release memory leak
        drm/nouveau: avoid a use-after-free when BO init fails
        DRM: delete DRM IRQ legacy midlayer docs
        video: fbdev: gbefb: Only instantiate device when built for IP32
        fbdev: simplefb: fix Kconfig dependencies
        drm/panel: abt-y030xx067a: yellow tint fix
        dt-bindings: panel: ili9341: correct indentation
        drm/nouveau/fifo/ga102: initialise chid on return from channel creation
        drm/rockchip: Update crtc fixup to account for fractional clk change
        drm/nouveau/ga102-: support ttm buffer moves via copy engine
        drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
        drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
        drm/vc4: hdmi: Remove unused struct
        drm/kmb: Enable alpha blended second plane
        drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
        drm/amdgpu: init iommu after amdkfd device init
        ...
      0068dc8c
  6. Oct 08, 2021
    • Adam Borowski's avatar
      asm-generic/io.h: give stub iounmap() on !MMU same prototype as elsewhere · 2fbc3499
      Adam Borowski authored
      
      
      It made -Werror sad.
      
      Signed-off-by: default avatarAdam Borowski <kilobyte@angband.pl>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2fbc3499
    • Borislav Petkov's avatar
      x86/fpu: Restore the masking out of reserved MXCSR bits · d298b035
      Borislav Petkov authored
      Ser Olmy reported a boot failure:
      
        init[1] bad frame in sigreturn frame:(ptrval) ip:b7c9fbe6 sp:bf933310 orax:ffffffff \
      	  in libc-2.33.so[b7bed000+156000]
        Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
        CPU: 0 PID: 1 Comm: init Tainted: G        W         5.14.9 #1
        Hardware name: Hewlett-Packard HP PC/HP Board, BIOS  JD.00.06 12/06/2001
        Call Trace:
         dump_stack_lvl
         dump_stack
         panic
         do_exit.cold
         do_group_exit
         get_signal
         arch_do_signal_or_restart
         ? force_sig_info_to_task
         ? force_sig
         exit_to_user_mode_prepare
         syscall_exit_to_user_mode
         do_int80_syscall_32
         entry_INT80_32
      
      on an old 32-bit Intel CPU:
      
        vendor_id       : GenuineIntel
        cpu family      : 6
        model           : 6
        model name      : Celeron (Mendocino)
        stepping        : 5
        microcode       : 0x3
      
      Ser bisected the problem to the commit in Fixes.
      
      tglx suggested reverting the rejection of invalid MXCSR values which
      this commit introduced and replacing it with what the old code did -
      simply masking them out to zero.
      
      Further debugging confirmed his suggestion:
      
        fpu->state.fxsave.mxcsr: 0xb7be13b4, mxcsr_feature_mask: 0xffbf
        WARNING: CPU: 0 PID: 1 at arch/x86/kernel/fpu/signal.c:384 __fpu_restore_sig+0x51f/0x540
      
      so restore the original behavior only for 32-bit kernels where you have
      ancient machines with buggy hardware. For 32-bit programs on 64-bit
      kernels, user space which supplies wrong MXCSR values is considered
      malicious so fail the sigframe restoration there.
      
      Fixes: 6f9866a1
      
       ("x86/fpu/signal: Let xrstor handle the features to init")
      Reported-by: default avatarSer Olmy <ser.olmy@protonmail.com>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Tested-by: default avatarSer Olmy <ser.olmy@protonmail.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lkml.kernel.org/r/YVtA67jImg3KlBTw@zn.tnic
      d298b035
    • Dave Airlie's avatar
      Merge tag 'amd-drm-fixes-5.15-2021-10-06' of... · bf79045e
      Dave Airlie authored
      Merge tag 'amd-drm-fixes-5.15-2021-10-06' of https://gitlab.freedesktop.org/agd5f/linux
      
       into drm-fixes
      
      amd-drm-fixes-5.15-2021-10-06:
      
      amdgpu:
      - DCN 3.1 DP alt mode fixes
      - S0ix gfxoff fix
      - Fix DRM_AMD_DC_SI dependencies
      - PCIe DPC handling fix
      - DCN 3.1 scaling fix
      - Documentation fix
      
      amdkfd:
      - Fix potential memory leak
      - IOMMUv2 init fixes
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20211006203828.4818-1-alexander.deucher@amd.com
      bf79045e
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · b28a130f
      Dave Airlie authored
      
      
      Rebased drm-misc-fixes for v5.15-rc5:
      - Dropped vc4 patches.
      - Compiler fix for vc4.
      - Cursor fix for nouveau.
      - Fix ttm buffer moves for ampere gpu's by adding minimal acceleration support.
      - Small rockchip fixes.
      - Fix DT bindings indent for ili9341.
      - Fix y030xx067a init sequence to not get a yellow tint.
      - Kconfig fix for fb_simple vs simpledrm.
      - Assorted nouvaeu memory leaks.
      - Fix gbefb when built with COMPILE_TEST.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/3272bf72-2c37-31eb-404e-cf7edd485c7d@linux.intel.com
      b28a130f
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2021-10-07' of... · 7d80cc70
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2021-10-07' of git://anongit.freedesktop.org/drm/drm-intel
      
       into drm-fixes
      
      drm/i915 fixes for v5.15-rc5:
      - Fix RKL HDMI audio
      - Fix runtime pm imbalance on i915_gem_shrink() error path
      - Fix Type-C port access before hw/sw state sync
      - Fix VBT backlight struct version/size check
      - Fix VT-d async flip on SKL/BXT with plane stretch workaround
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87k0ipywo4.fsf@intel.com
      7d80cc70
    • Palmer Dabbelt's avatar
      checksyscalls: Unconditionally ignore fstat{,at}64 · 3ef6ca4f
      Palmer Dabbelt authored
      
      
      These can be replaced by statx().  Since rv32 has a 64-bit time_t we
      just never ended up with them in the first place.  This is now an error
      due to -Werror.
      
      Suggested-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      3ef6ca4f
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux · 1da38549
      Linus Torvalds authored
      Pull nfsd fixes from Chuck Lever:
       "Bug fixes for NFSD error handling paths"
      
      * tag 'nfsd-5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
        NFSD: Keep existing listeners on portlist error
        SUNRPC: fix sign error causing rpcsec_gss drops
        nfsd: Fix a warning for nfsd_file_close_inode
        nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
        nfsd: fix error handling of register_pernet_subsys() in init_nfsd()
      1da38549
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 3e899c72
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "This is a larger than normal update for Arm SoC specific code, most of
        it in device trees, but also drivers and the omap and at91/sama7
        platforms:
      
         - There are four new entries to the MAINTAINERS file: Sven Peter and
           Alyssa Rosenzweig for Apple M1, Romain Perier for Mstar/sigmastar,
           and Vignesh Raghavendra for TI K3
      
         - Build fixes to address randconfig warnings in sharpsl, dove, omap1,
           and qcom platforms as well as the scmi and op-tee subsystems
      
         - Regression fixes for missing CONFIG_FB and other options for
           several defconfigs
      
         - Several bug fixes for the newly added Microchip SAMA7 platform,
           mostly regarding power management
      
         - Missing SMP barriers to protect accesses to SCMI virtio device
      
         - Regression fixes for TI OMAP, including a boot-time hang on am335x.
      
         - Lots of bug fixes for NXP i.MX, mostly addressing incorrect
           settings in devicetree files, and one revert for broken suspend.
      
         - Fixes for ARM Juno/Vexpress devicetree files, addressing a couple
           of schema warnings.
      
         - Regression fixes for qualcomm SoC specific drivers and devicetree
           files, reverting an mdt_loader change and at least pastially
           reverting some of the 5.15 DTS changes, plus some minor bugfixes"
      
      * tag 'armsoc-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (64 commits)
        MAINTAINERS: Add Sven Peter as ARM/APPLE MACHINE maintainer
        MAINTAINERS: Add Alyssa Rosenzweig as M1 reviewer
        firmware: arm_scmi: Add proper barriers to scmi virtio device
        firmware: arm_scmi: Simplify spinlocks in virtio transport
        ARM: dts: omap3430-sdp: Fix NAND device node
        bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
        ARM: sharpsl_param: work around -Wstringop-overread warning
        ARM: defconfig: gemini: Restore framebuffer
        ARM: dove: mark 'putc' as inline
        ARM: omap1: move omap15xx local bus handling to usb.c
        MAINTAINERS: Add Vignesh to TI K3 platform maintainership
        arm64: dts: imx8m*-venice-gw7902: fix M2_RST# gpio
        ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
        arm64: dts: ls1028a: fix eSDHC2 node
        arm64: dts: imx8mm-kontron-n801x-som: do not allow to switch off buck2
        ARM: dts: at91: sama7g5ek: to not touch slew-rate for SDMMC pins
        ARM: dts: at91: sama7g5ek: use proper slew-rate settings for GMACs
        ARM: at91: pm: preload base address of controllers in tlb
        ARM: at91: pm: group constants and addresses loading
        ARM: dts: at91: sama7g5ek: add suspend voltage for ddr3l rail
        ...
      3e899c72
    • Arnd Bergmann's avatar
      Merge tag 'asahi-soc-fixes-5.15' of https://github.com/AsahiLinux/linux into arm/fixes · 897c2e74
      Arnd Bergmann authored
      Apple SoC fixes for 5.15; just two MAINTAINERS updates.
      
      - MAINTAINERS: Add Sven Peter as ARM/APPLE MACHINE maintainer
      - MAINTAINERS: Add Alyssa Rosenzweig as M1 reviewer
      
      * tag 'asahi-soc-fixes-5.15' of https://github.com/AsahiLinux/linux:
        MAINTAINERS: Add Sven Peter as ARM/APPLE MACHINE maintainer
        MAINTAINERS: Add Alyssa Rosenzweig as M1 reviewer
      
      Link: https://lore.kernel.org/r/a50a9015-0e62-c451-4d0d-668233b35b85@marcan.st
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      897c2e74
    • Arnd Bergmann's avatar
      Merge tag 'scmi-fixes-5.15' of... · 6aaa8434
      Arnd Bergmann authored
      Merge tag 'scmi-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
      
      SCMI fixes for v5.15
      
      A few fixes addressing:
      - Kconfig dependency between VIRTIO and ARM_SCMI_PROTOCOL
      - Link-time error with __exit annotation for virtio_scmi_exit
      - Unnecessary nested irqsave/irqrestore spinlocks in virtio transport
      - Missing SMP barriers to protect accesses to SCMI virtio device
      
      * tag 'scmi-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        firmware: arm_scmi: Add proper barriers to scmi virtio device
        firmware: arm_scmi: Simplify spinlocks in virtio transport
        firmware: arm_scmi: Remove __exit annotation
        firmware: arm_scmi: Fix virtio transport Kconfig dependency
      
      Link: https://lore.kernel.org/r/20211007102822.27886-1-sudeep.holla@arm.com
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      6aaa8434
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v5.15/fixes-rc4' of... · 3c7f58b3
      Arnd Bergmann authored
      Merge tag 'omap-for-v5.15/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
      
      Fixes for omaps for v5.15
      
      Few regression fixes for omaps for the v5.15-rc cycle. There is a fix
      for boot time hangs that can happen on some am335x devices that started
      when the pruss devicetree nodes were added. The other fixes are less
      critical:
      
      - Fix compiler warning for sysc_init_soc() that got recently introduced
      
      - Fix external abort for am335x pruss as otherwise some am335x will hang
      
      - Use CLKDM_NOAUTO quirk also for dra7 dcan1
      
      - Fix older NAND device node regression for omap3-sdp
      
      * tag 'omap-for-v5.15/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: dts: omap3430-sdp: Fix NAND device node
        bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
        soc: ti: omap-prm: Fix external abort for am335x pruss
        bus: ti-sysc: Add break in switch statement in sysc_init_soc()
      
      Link: https://lore.kernel.org/r/pull-1633609552-789682@atomide.com
      
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      3c7f58b3
    • Linus Torvalds's avatar
      Merge tag 'misc-fixes-20211007' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · 7041503d
      Linus Torvalds authored
      Pull netfslib, cachefiles and afs fixes from David Howells:
      
       - Fix another couple of oopses in cachefiles tracing stemming from the
         possibility of passing in a NULL object pointer
      
       - Fix netfs_clear_unread() to set READ on the iov_iter so that source
         it is passed to doesn't do the wrong thing (some drivers look at the
         flag on iov_iter rather than other available information to determine
         the direction)
      
       - Fix afs_launder_page() to write back at the correct file position on
         the server so as not to corrupt data
      
      * tag 'misc-fixes-20211007' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Fix afs_launder_page() to set correct start file position
        netfs: Fix READ/WRITE confusion when calling iov_iter_xarray()
        cachefiles: Fix oops with cachefiles_cull() due to NULL object
      7041503d
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-fixes-for-v5.15-2021-10-07' of... · 14df9235
      Linus Torvalds authored
      Merge tag 'perf-tools-fixes-for-v5.15-2021-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull perf tools fixes from Arnaldo Carvalho de Melo:
      
       - Fix plugin static linking with libopencsd on ARM and ARM64
      
       - Add missing -lstdc++ when linking with libopencsd
      
       - Add missing topdown metrics events to 'perf test attr'
      
       - Plug leak sys_event_tables list after processing JSON vendor events
         entries
      
       - Sync sound/asound.h copy with the kernel sources
      
      * tag 'perf-tools-fixes-for-v5.15-2021-10-07' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
        perf tests attr: Add missing topdown metrics events
        tools include UAPI: Sync sound/asound.h copy with the kernel sources
        perf build: Fix plugin static linking with libopencsd on ARM and ARM64
        perf build: Add missing -lstdc++ when linking with libopencsd
        perf jevents: Free the sys_event_tables list after processing entries
      14df9235
    • Linus Torvalds's avatar
      Merge tag 'net-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 4a16df54
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from xfrm, bpf, netfilter, and wireless.
      
        Current release - regressions:
      
         - xfrm: fix XFRM_MSG_MAPPING ABI breakage caused by inserting a new
           value in the middle of an enum
      
         - unix: fix an issue in unix_shutdown causing the other end
           read/write failures
      
         - phy: mdio: fix memory leak
      
        Current release - new code bugs:
      
         - mlx5e: improve MQPRIO resiliency against bad configs
      
        Previous releases - regressions:
      
         - bpf: fix integer overflow leading to OOB access in map element
           pre-allocation
      
         - stmmac: dwmac-rk: fix ethernet on rk3399 based devices
      
         - netfilter: conntrack: fix boot failure with
           nf_conntrack.enable_hooks=1
      
         - brcmfmac: revert using ISO3166 country code and 0 rev as fallback
      
         - i40e: fix freeing of uninitialized misc IRQ vector
      
         - iavf: fix double unlock of crit_lock
      
        Previous releases - always broken:
      
         - bpf, arm: fix register clobbering in div/mod implementation
      
         - netfilter: nf_tables: correct issues in netlink rule change event
           notifications
      
         - dsa: tag_dsa: fix mask for trunked packets
      
         - usb: r8152: don't resubmit rx immediately to avoid soft lockup on
           device unplug
      
         - i40e: fix endless loop under rtnl if FW fails to correctly respond
           to capability query
      
         - mlx5e: fix rx checksum offload coexistence with ipsec offload
      
         - mlx5: force round second at 1PPS out start time and allow it only
           in supported clock modes
      
         - phy: pcs: xpcs: fix incorrect CL37 AN sequence, EEE disable
           sequence
      
        Misc:
      
         - xfrm: slightly rejig the new policy uAPI to make it less cryptic"
      
      * tag 'net-5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (66 commits)
        net: prefer socket bound to interface when not in VRF
        iavf: fix double unlock of crit_lock
        i40e: Fix freeing of uninitialized misc IRQ vector
        i40e: fix endless loop under rtnl
        dt-bindings: net: dsa: marvell: fix compatible in example
        ionic: move filter sync_needed bit set
        gve: report 64bit tx_bytes counter from gve_handle_report_stats()
        gve: fix gve_get_stats()
        rtnetlink: fix if_nlmsg_stats_size() under estimation
        gve: Properly handle errors in gve_assign_qpl
        gve: Avoid freeing NULL pointer
        gve: Correct available tx qpl check
        unix: Fix an issue in unix_shutdown causing the other end read/write failures
        net: stmmac: trigger PCS EEE to turn off on link down
        net: pcs: xpcs: fix incorrect steps on disable EEE
        netlink: annotate data races around nlk->bound
        net: pcs: xpcs: fix incorrect CL37 AN sequence
        net: sfp: Fix typo in state machine debug string
        net/sched: sch_taprio: properly cancel timer from taprio_destroy()
        net: bridge: fix under estimation in br_get_linkxstats_size()
        ...
      4a16df54
    • Linus Torvalds's avatar
      Merge tag 'hyperv-fixes-signed-20211007' of... · 52bf8031
      Linus Torvalds authored
      Merge tag 'hyperv-fixes-signed-20211007' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
      
      Pull hyperv fixes from Wei Liu:
      
       - Replace uuid.h with types.h in a header (Andy Shevchenko)
      
       - Avoid sleeping in atomic context in PCI driver (Long Li)
      
       - Avoid sending IPI to self when it shouldn't (Vitaly Kuznetsov)
      
      * tag 'hyperv-fixes-signed-20211007' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
        x86/hyperv: Avoid erroneously sending IPI to 'self'
        hyper-v: Replace uuid.h with types.h
        PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus
      52bf8031
    • Rafael J. Wysocki's avatar
      PCI: ACPI: Check parent pointer in acpi_pci_find_companion() · 3fb937f4
      Rafael J. Wysocki authored
      If acpi_pci_find_companion() is called for a device whose parent
      pointer is NULL, it will crash when attempting to get the ACPI
      companion of the parent due to a NULL pointer dereference in
      the ACPI_COMPANION() macro.
      
      This was not a problem before commit 375553a9 ("PCI: Setup ACPI
      fwnode early and at the same time with OF") that made pci_setup_device()
      call pci_set_acpi_fwnode() and so it allowed devices with NULL parent
      pointers to be passed to acpi_pci_find_companion() which is the case
      in pci_iov_add_virtfn(), for instance.
      
      Fix this issue by making acpi_pci_find_companion() check the device's
      parent pointer upfront and bail out if it is NULL.
      
      While pci_iov_add_virtfn() can be changed to set the device's parent
      pointer before calling pci_setup_device() for it, checking pointers
      against NULL before dereferencing them is prudent anyway and looking
      for ACPI companions of virtual functions isn't really useful.
      
      Fixes: 375553a9 ("PCI: Setup ACPI fwnode early and at the same time with OF")
      Link: https://lore.kernel.org/linux-acpi/8e4bbd5c59de31db71f718556654c0aa077df03d.camel@linux.ibm.com/
      
      
      Reported-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
      Tested-by: default avatarNiklas Schnelle <schnelle@linux.ibm.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      3fb937f4