1. 09 Apr, 2021 5 commits
  2. 08 Apr, 2021 12 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 4fa56ad0
      Linus Torvalds authored
      Pull rdma fixes from Jason Gunthorpe:
       "Nothing very exciting here, just a few small bug fixes. No red flags
        for this release have shown up.
      
         - Regression from the last pull request in cxgb4 related to the ipv6
           fixes
      
         - KASAN crasher in rtrs
      
         - oops in hfi1 related to a buggy BIOS
      
         - Userspace could oops qedr's XRC support
      
         - Uninitialized memory when parsing a LS_NLA_TYPE_DGID netlink
           message"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        RDMA/addr: Be strict with gid size
        RDMA/qedr: Fix kernel panic when trying to access recv_cq
        IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS
        RDMA/cxgb4: check for ipv6 address properly while destroying listener
        RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files
      4fa56ad0
    • Leon Romanovsky's avatar
      RDMA/addr: Be strict with gid size · d1c803a9
      Leon Romanovsky authored
      The nla_len() is less than or equal to 16.  If it's less than 16 then end
      of the "gid" buffer is uninitialized.
      
      Fixes: ae43f828 ("IB/core: Add IP to GID netlink offload")
      Link: https://lore.kernel.org/r/20210405074434.264221-1-leon@kernel.orgReported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarMark Bloch <mbloch@nvidia.com>
      Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      d1c803a9
    • Linus Torvalds's avatar
      Merge tag 's390-5.12-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 3fb4f979
      Linus Torvalds authored
      Pull s390 fixes from Heiko Carstens:
      
       - fix incorrect dereference of the ext_params2 external interrupt
         parameter, which leads to an instant kernel crash if a pfault
         interrupt occurs.
      
       - add forgotten stack unwinder support, and fix memory leak for the
         new machine check handler stack.
      
       - fix inline assembly register clobbering due to KASAN code
         instrumentation.
      
      * tag 's390-5.12-6' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/setup: use memblock_free_late() to free old stack
        s390/irq: fix reading of ext_params2 field from lowcore
        s390/unwind: add machine check handler stack
        s390/cpcmd: fix inline assembly register clobbering
      3fb4f979
    • Linus Torvalds's avatar
      Merge tag 'sound-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · e0a472ff
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This batch became unexpectedly bigger due to the pending ASoC patches,
        but all look small and fine device-specific fixes.
      
        Many of the commits are for ASoC Intel drivers, while the rest are for
        ASoC small codec/platform fixes and HD-audio quirks"
      
      * tag 'sound-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (21 commits)
        ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
        ALSA: aloop: Fix initialization of controls
        ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model
        ASoC: fsl_esai: Fix TDM slot setup for I2S mode
        ASoC: codecs: lpass-rx-macro: set npl clock rate correctly
        ASoC: codecs: lpass-tx-macro: set npl clock rate correctly
        ASoC: sunxi: sun4i-codec: fill ASoC card owner
        ASoC: cygnus: fix for_each_child.cocci warnings
        ASoC: max98373: Added 30ms turn on/off time delay
        ASoC: max98373: Changed amp shutdown register as volatile
        ASoC: intel: atom: Remove 44100 sample-rate from the media and deep-buffer DAI descriptions
        ASoC: intel: atom: Stop advertising non working S24LE support
        ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
        ASoC: SOF: Intel: move ELH chip info
        ASoC: SOF: Intel: APL: set shutdown callback to hda_dsp_shutdown
        ASoC: SOF: Intel: CNL: set shutdown callback to hda_dsp_shutdown
        ASoC: SOF: Intel: ICL: set shutdown callback to hda_dsp_shutdown
        ASoC: SOF: Intel: TGL: set shutdown callback to hda_dsp_shutdown
        ASoC: SOF: Intel: TGL: fix EHL ops
        ASoC: SOF: core: harden shutdown helper
        ...
      e0a472ff
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · d381b05e
      Linus Torvalds authored
      Pull kvm fix from Paolo Bonzini:
       "A lone x86 patch, for a bug found while developing a backport to
        stable versions"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp
      d381b05e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2021-04-08' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 4ea51e0e
      Linus Torvalds authored
      Pull close_range() fix from Christian Brauner:
       "Syzbot reported a bug in close_range.
      
        Debugging this showed we didn't recalculate the current maximum fd
        number for CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC after we unshared
        the file descriptors table. As a result, max_fd could exceed the
        current fdtable maximum causing us to set excessive bits.
      
        As a concrete example, let's say the user requested everything from fd
        4 to ~0UL to be closed and their current fdtable size is 256 with
        their highest open fd being 4. With CLOSE_RANGE_UNSHARE the caller
        will end up with a new fdtable which has room for 64 file descriptors
        since that is the lowest fdtable size we accept. But now max_fd will
        still point to 255 and needs to be adjusted. Fix this by retrieving
        the correct maximum fd value in __range_cloexec().
      
        I've carried this fix for a little while but since there was no
        linux-next release over easter I waited until now.
      
        With this change close_range() can be further simplified but imho we
        are in no hurry to do that and so I'll defer this for the 5.13 merge
        window"
      
      * tag 'for-linus-2021-04-08' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        file: fix close_range() for unshare+cloexec
      4ea51e0e
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 035d8069
      Linus Torvalds authored
      Pull umount fix from Al Viro:
       "Brown paperbag time: dumb braino in the series that went into 5.7
        broke the 'don't step into ->d_weak_revalidate() when umount(2) looks
        the victim up' behaviour.
      
        Spotted only now - saw
      
              if (!err && unlikely(nd->flags & LOOKUP_MOUNTPOINT)) {
                      err = handle_lookup_down(nd);
                      nd->flags &= ~LOOKUP_JUMPED; // no d_weak_revalidate(), please...
              }
      
        and went "why do we clear that flag here - nothing below that point is
        going to check it anyway" / "wait a minute, what is it doing *after*
        complete_walk() (which is where we check that flag and call
        ->d_weak_revalidate())" / "how could that possibly _not_ break?",
        followed by reproducing the breakage and verifying that the obvious
        fix of that braino does, indeed, fix it.
      
        The reproducer is (assuming that $DIR exists and is exported r/w to
        localhost)
      
            mkdir $DIR/a
            mkdir /tmp/foo
            mount --bind /tmp/foo /tmp/foo
            mkdir /tmp/foo/a
            mkdir /tmp/foo/b
            mount -t nfs4 localhost:$DIR/a /tmp/foo/a
            mount -t nfs4 localhost:$DIR /tmp/foo/b
            rmdir /tmp/foo/b/a
            umount /tmp/foo/b
            umount /tmp/foo/a
            umount -l /tmp/foo      # will get everything under /tmp/foo, no matter what
      
        Correct behaviour is successful umount; broken kernels (5.7-rc1 and
        later) get
      
            umount.nfs4: /tmp/foo/a: Stale file handle
      
        Note that bind mount is there to be able to recover - on broken
        kernels we'd get stuck with impossible-to-umount filesystem if not for
        that.
      
        FWIW, that braino had been posted for review back then, at least
        twice. Unfortunately, the call of complete_walk() was outside of diff
        context, so the bogosity hadn't been immediately obvious from the
        patch alone ;-/"
      
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
      035d8069
    • Paolo Bonzini's avatar
      KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp · 315f02c6
      Paolo Bonzini authored
      Right now, if a call to kvm_tdp_mmu_zap_sp returns false, the caller
      will skip the TLB flush, which is wrong.  There are two ways to fix
      it:
      
      - since kvm_tdp_mmu_zap_sp will not yield and therefore will not flush
        the TLB itself, we could change the call to kvm_tdp_mmu_zap_sp to
        use "flush |= ..."
      
      - or we can chain the flush argument through kvm_tdp_mmu_zap_sp down
        to __kvm_tdp_mmu_zap_gfn_range.  Note that kvm_tdp_mmu_zap_sp will
        neither yield nor flush, so flush would never go from true to
        false.
      
      This patch does the former to simplify application to stable kernels,
      and to make it further clearer that kvm_tdp_mmu_zap_sp will not flush.
      
      Cc: seanjc@google.com
      Fixes: 048f4980 ("KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping")
      Cc: <stable@vger.kernel.org> # 5.10.x: 048f4980: KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
      Cc: <stable@vger.kernel.org> # 5.10.x: 33a31641: KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages
      Cc: <stable@vger.kernel.org>
      Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      315f02c6
    • Takashi Iwai's avatar
      ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1 · c8426b27
      Takashi Iwai authored
      We've got a report about Acer Aspire E1 (PCI SSID 1025:0840) that
      loses the speaker output after resume.  With the comparison of COEF
      dumps, it was identified that the COEF 0x0d bits 0x6000 corresponds to
      the speaker amp.
      
      This patch adds the specific quirk for the device to restore the COEF
      bits at the codec (re-)initialization.
      
      BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1183869
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20210407095730.12560-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c8426b27
    • Maciek Borzecki's avatar
      cifs: escape spaces in share names · 0fc9322a
      Maciek Borzecki authored
      Commit 653a5efb ("cifs: update super_operations to show_devname")
      introduced the display of devname for cifs mounts. However, when mounting
      a share which has a whitespace in the name, that exact share name is also
      displayed in mountinfo. Make sure that all whitespace is escaped.
      Signed-off-by: default avatarMaciek Borzecki <maciek.borzecki@gmail.com>
      CC: <stable@vger.kernel.org> # 5.11+
      Reviewed-by: default avatarShyam Prasad N <sprasad@microsoft.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      0fc9322a
    • Wan Jiabing's avatar
      fs: cifs: Remove unnecessary struct declaration · d135be0a
      Wan Jiabing authored
      struct cifs_readdata is declared twice. One is declared
      at 208th line.
      And struct cifs_readdata is defined blew.
      The declaration here is not needed. Remove the duplicate.
      Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
      Reviewed-by: default avatarShyam Prasad N <sprasad@microsoft.com>
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      d135be0a
    • Shyam Prasad N's avatar
      cifs: On cifs_reconnect, resolve the hostname again. · 4e456b30
      Shyam Prasad N authored
      On cifs_reconnect, make sure that DNS resolution happens again.
      It could be the cause of connection to go dead in the first place.
      
      This also contains the fix for a build issue identified by Intel bot.
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarShyam Prasad N <sprasad@microsoft.com>
      Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
      Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
      CC: <stable@vger.kernel.org> # 5.11+
      Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
      4e456b30
  3. 07 Apr, 2021 12 commits
    • Kamal Heib's avatar
      RDMA/qedr: Fix kernel panic when trying to access recv_cq · e1ad897b
      Kamal Heib authored
      As INI QP does not require a recv_cq, avoid the following null pointer
      dereference by checking if the qp_type is not INI before trying to extract
      the recv_cq.
      
      BUG: kernel NULL pointer dereference, address: 00000000000000e0
       #PF: supervisor read access in kernel mode
       #PF: error_code(0x0000) - not-present page
       PGD 0 P4D 0
       Oops: 0000 [#1] SMP PTI
       CPU: 0 PID: 54250 Comm: mpitests-IMB-MP Not tainted 5.12.0-rc5 #1
       Hardware name: Dell Inc. PowerEdge R320/0KM5PX, BIOS 2.7.0 08/19/2019
       RIP: 0010:qedr_create_qp+0x378/0x820 [qedr]
       Code: 02 00 00 50 e8 29 d4 a9 d1 48 83 c4 18 e9 65 fe ff ff 48 8b 53 10 48 8b 43 18 44 8b 82 e0 00 00 00 45 85 c0 0f 84 10 74 00 00 <8b> b8 e0 00 00 00 85 ff 0f 85 50 fd ff ff e9 fd 73 00 00 48 8d bd
       RSP: 0018:ffff9c8f056f7a70 EFLAGS: 00010202
       RAX: 0000000000000000 RBX: ffff9c8f056f7b58 RCX: 0000000000000009
       RDX: ffff8c41a9744c00 RSI: ffff9c8f056f7b58 RDI: ffff8c41c0dfa280
       RBP: ffff8c41c0dfa280 R08: 0000000000000002 R09: 0000000000000001
       R10: 0000000000000000 R11: ffff8c41e06fc608 R12: ffff8c4194052000
       R13: 0000000000000000 R14: ffff8c4191546070 R15: ffff8c41c0dfa280
       FS:  00007f78b2787b80(0000) GS:ffff8c43a3200000(0000) knlGS:0000000000000000
       CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
       CR2: 00000000000000e0 CR3: 00000001011d6002 CR4: 00000000001706f0
       Call Trace:
        ib_uverbs_handler_UVERBS_METHOD_QP_CREATE+0x4e4/0xb90 [ib_uverbs]
        ? ib_uverbs_cq_event_handler+0x30/0x30 [ib_uverbs]
        ib_uverbs_run_method+0x6f6/0x7a0 [ib_uverbs]
        ? ib_uverbs_handler_UVERBS_METHOD_QP_DESTROY+0x70/0x70 [ib_uverbs]
        ? __cond_resched+0x15/0x30
        ? __kmalloc+0x5a/0x440
        ib_uverbs_cmd_verbs+0x195/0x360 [ib_uverbs]
        ? xa_load+0x6e/0x90
        ? cred_has_capability+0x7c/0x130
        ? avc_has_extended_perms+0x17f/0x440
        ? vma_link+0xae/0xb0
        ? vma_set_page_prot+0x2a/0x60
        ? mmap_region+0x298/0x6c0
        ? do_mmap+0x373/0x520
        ? selinux_file_ioctl+0x17f/0x220
        ib_uverbs_ioctl+0xa7/0x110 [ib_uverbs]
        __x64_sys_ioctl+0x84/0xc0
        do_syscall_64+0x33/0x40
        entry_SYSCALL_64_after_hwframe+0x44/0xae
       RIP: 0033:0x7f78b120262b
      
      Fixes: 06e8d1df ("RDMA/qedr: Add support for user mode XRC-SRQ's")
      Link: https://lore.kernel.org/r/20210404125501.154789-1-kamalheib1@gmail.comSigned-off-by: default avatarKamal Heib <kamalheib1@gmail.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      e1ad897b
    • Linus Torvalds's avatar
      Merge tag 'arc-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 454859c5
      Linus Torvalds authored
      Pull ARC fixlets from Vineet Gupta:
       "A few straggler fixes for ARC"
      
      * tag 'arc-5.12-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: treewide: avoid the pointer addition with NULL pointer
        arc: kernel: Return -EFAULT if copy_to_user() fails
        ARC: haps: bump memory to 1 GB
      454859c5
    • Mike Marciniszyn's avatar
      IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS · 5de61a47
      Mike Marciniszyn authored
      A panic can result when AIP is enabled:
      
        BUG: unable to handle kernel NULL pointer dereference at 000000000000000
        PGD 0 P4D 0
        Oops: 0000 1 SMP PTI
        CPU: 70 PID: 981 Comm: systemd-udevd Tainted: G OE --------- - - 4.18.0-240.el8.x86_64 #1
        Hardware name: Intel Corporation S2600KP/S2600KP, BIOS SE5C610.86B.01.01.0005.101720141054 10/17/2014
        RIP: 0010:__bitmap_and+0x1b/0x70
        RSP: 0018:ffff99aa0845f9f0 EFLAGS: 00010246
        RAX: 0000000000000000 RBX: ffff8d5a6fc18000 RCX: 0000000000000048
        RDX: 0000000000000000 RSI: ffffffffc06336f0 RDI: ffff8d5a8fa67750
        RBP: 0000000000000079 R08: 0000000fffffffff R09: 0000000000000000
        R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc06336f0
        R13: 00000000000000a0 R14: ffff8d5a6fc18000 R15: 0000000000000003
        FS: 00007fec137a5980(0000) GS:ffff8d5a9fa80000(0000) knlGS:0000000000000000
        CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
        CR2: 0000000000000000 CR3: 0000000a04b48002 CR4: 00000000001606e0
        Call Trace:
        hfi1_num_netdev_contexts+0x7c/0x110 [hfi1]
        hfi1_init_dd+0xd7f/0x1a90 [hfi1]
        ? pci_bus_read_config_dword+0x49/0x70
        ? pci_mmcfg_read+0x3e/0xe0
        do_init_one.isra.18+0x336/0x640 [hfi1]
        local_pci_probe+0x41/0x90
        pci_device_probe+0x105/0x1c0
        really_probe+0x212/0x440
        driver_probe_device+0x49/0xc0
        device_driver_attach+0x50/0x60
        __driver_attach+0x61/0x130
        ? device_driver_attach+0x60/0x60
        bus_for_each_dev+0x77/0xc0
        ? klist_add_tail+0x3b/0x70
        bus_add_driver+0x14d/0x1e0
        ? dev_init+0x10b/0x10b [hfi1]
        driver_register+0x6b/0xb0
        ? dev_init+0x10b/0x10b [hfi1]
        hfi1_mod_init+0x1e6/0x20a [hfi1]
        do_one_initcall+0x46/0x1c3
        ? free_unref_page_commit+0x91/0x100
        ? _cond_resched+0x15/0x30
        ? kmem_cache_alloc_trace+0x140/0x1c0
        do_init_module+0x5a/0x220
        load_module+0x14b4/0x17e0
        ? __do_sys_finit_module+0xa8/0x110
        __do_sys_finit_module+0xa8/0x110
        do_syscall_64+0x5b/0x1a0
      
      The issue happens when pcibus_to_node() returns NO_NUMA_NODE.
      
      Fix this issue by moving the initialization of dd->node to hfi1_devdata
      allocation and remove the other pcibus_to_node() calls in the probe path
      and use dd->node instead.
      
      Affinity logic is adjusted to use a new field dd->affinity_entry as a
      guard instead of dd->node.
      
      Fixes: 4730f4a6 ("IB/hfi1: Activate the dummy netdev")
      Link: https://lore.kernel.org/r/1617025700-31865-4-git-send-email-dennis.dalessandro@cornelisnetworks.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
      Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      5de61a47
    • Potnuri Bharat Teja's avatar
      RDMA/cxgb4: check for ipv6 address properly while destroying listener · 603c4690
      Potnuri Bharat Teja authored
      ipv6 bit is wrongly set by the below which causes fatal adapter lookup
      engine errors for ipv4 connections while destroying a listener.  Fix it to
      properly check the local address for ipv6.
      
      Fixes: 3408be14 ("RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server")
      Link: https://lore.kernel.org/r/20210331135715.30072-1-bharat@chelsio.comSigned-off-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      603c4690
    • Linus Torvalds's avatar
      Merge tag 'arm-fixes-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 3a229812
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "Most of the changes again are devicetree fixes, but there are also
        five trivial build fixes for issues I found when test building with
        gcc-11 or when running 'make W=1', and some OMAP platform specific
        code fixups.
      
        Broadcom:
         - One revert for a Raspberry pi interrupt controller change that
           caused a regression.
      
        TI OMAP:
         - Remove unused duplicate sha2md5_fck clock node that can race with
           the OMAP4_SHA2MD5_CLKCTRL clock node for disable for unused clocks
      
         - Add aliases for omap4/5 mmc to put the slots back into the right
           order again
      
         - Fix typo for bionic voltage controllers that accidentally use mpu
           for all instances instead of mpu, core and iva
      
         - Fix random hangs for droid4 caused by missing fix from TI Android
           kernel tree to do a dummy smc call on cpuidle wakeup path
      
        NXP i.MX:
         - Fix a system failure on imx6qdl-phytec-pfla02 board when booting
           from SD, by adding missing vmmc supply for SD interfaces.
      
         - Fix address typo in i.MX8MM/Q IOMUXC_SD1_DATA0_GPIO2_IO2
           definition.
      
        Marvell mvebu:
         - Fix storm interrupt on Turris Omnia
      
         - Enable hardware buffer management as it should be
      
        ... and build fixes for PXA, Freescale, Marvell, OMAP1 and Keystone"
      
      * tag 'arm-fixes-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
        ARM: dts: turris-omnia: fix hardware buffer management
        Revert "arm64: dts: marvell: armada-cp110: Switch to per-port SATA interrupts"
        ARM: mvebu: avoid clang -Wtautological-constant warning
        ARM: pxa: mainstone: avoid -Woverride-init warning
        ARM: omap1: fix building with clang IAS
        soc/fsl: qbman: fix conflicting alignment attributes
        ARM: keystone: fix integer overflow warning
        ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
        arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
        ARM: OMAP4: PM: update ROM return address for OSWR and OFF
        ARM: OMAP4: Fix PMIC voltage domains for bionic
        ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
        ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
        Revert "ARM: dts: bcm2711: Add the BSC interrupt controller"
      3a229812
    • Linus Torvalds's avatar
      Merge branch 'parisc-5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · dbaa5d1c
      Linus Torvalds authored
      Pull parisc fixes from Helge Deller:
       "One link error fix found by the kernel test robot, one sparse warning
        fix, remove a duplicate declaration and some spelling fixes"
      
      * 'parisc-5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: math-emu: Few spelling fixes in the file fpu.h
        parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
        parisc: parisc-agp requires SBA IOMMU driver
        parisc: Remove duplicate struct task_struct declaration
      dbaa5d1c
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.12-3' of... · 5ba091db
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver fix from Hans de Goede:
       "A single bugfix to fix spurious wakeups from suspend caused by recent
        intel-hid driver changes"
      
      * tag 'platform-drivers-x86-v5.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
        platform/x86: intel-hid: Fix spurious wakeups caused by tablet-mode events during suspend
      5ba091db
    • Linus Torvalds's avatar
      Merge tag 'regulator-fix-v5.12-rc6' of... · e3bb2f4f
      Linus Torvalds authored
      Merge tag 'regulator-fix-v5.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
      
      Pull regulator fixes from Mark Brown:
       "bd9571mwv regulator fixes for v5.12.
      
        A set of driver specific fixes here, the main one is a fix to not try
        to set unsupported voltages on this device. The other two patches
        clean up the error handling and eliminate the possibility that we
        could overflow the page when writing sysfs output (which AFAICT wasn't
        an issue but better to be sure)"
      
      * tag 'regulator-fix-v5.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: bd9571mwv: Convert device attribute to sysfs_emit()
        regulator: bd9571mwv: Fix regulator name printed on registration failure
        regulator: bd9571mwv: Fix AVS and DVFS voltage range
      e3bb2f4f
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v5.12-rc6' of... · 9c319577
      Takashi Iwai authored
      Merge tag 'asoc-fix-v5.12-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.12
      
      A fairly small batch of driver specific fixes, mainly for various x86
      systems with the biggest set being fixes to power down DSPs properly on
      x86 SOF systems.
      9c319577
    • Heiko Carstens's avatar
      s390/setup: use memblock_free_late() to free old stack · ad31a8c0
      Heiko Carstens authored
      Use memblock_free_late() to free the old machine check stack to the
      buddy allocator instead of leaking it.
      
      Fixes: b61b1595 ("s390: add stack for machine check handler")
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Acked-by: default avatarSven Schnelle <svens@linux.ibm.com>
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      ad31a8c0
    • Jonas Holmberg's avatar
      ALSA: aloop: Fix initialization of controls · 168632a4
      Jonas Holmberg authored
      Add a control to the card before copying the id so that the numid field
      is initialized in the copy. Otherwise the numid field of active_id,
      format_id, rate_id and channels_id will be the same (0) and
      snd_ctl_notify() will not queue the events properly.
      Signed-off-by: default avatarJonas Holmberg <jonashg@axis.com>
      Reviewed-by: default avatarJaroslav Kysela <perex@perex.cz>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20210407075428.2666787-1-jonashg@axis.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      168632a4
    • Al Viro's avatar
      LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late · 4f0ed93f
      Al Viro authored
      That (and traversals in case of umount .) should be done before
      complete_walk().  Either a braino or mismerge damage on queue
      reorders - either way, I should've spotted that much earlier.
      Fucked-up-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      X-Paperbag: Brown
      Fixes: 161aff1d "LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()"
      Cc: stable@vger.kernel.org # v5.7+
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      4f0ed93f
  4. 06 Apr, 2021 9 commits
  5. 05 Apr, 2021 2 commits
    • Linus Torvalds's avatar
      Merge branch 'for-5.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · 0a50438c
      Linus Torvalds authored
      Pull workqueue fixes from Tejun Heo:
       "Two workqueue fixes.
      
        One is around debugobj and poses no risk. The other is to prevent the
        stall watchdog from firing spuriously in certain conditions. Not as
        trivial as debugobj change but is still fairly low risk"
      
      * 'for-5.12-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue/watchdog: Make unbound workqueues aware of touch_softlockup_watchdog() 84;0;0c84;0;0c There are two workqueue-specific watchdog timestamps:
        workqueue: Move the position of debug_work_activate() in __queue_work()
      0a50438c
    • Heiko Carstens's avatar
      s390/irq: fix reading of ext_params2 field from lowcore · 85012e76
      Heiko Carstens authored
      The contents of the ext_params2 field of the lowcore should just be
      copied to the pt_regs structure, not dereferenced.
      
      Fixes crashes / program check loops like this:
      
      Krnl PSW : 0404c00180000000 00000000d6d02b3c (do_ext_irq+0x74/0x170)
                 R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
      Krnl GPRS: 0000000000000000 80000000000b974e 00000000d71abee0 00000000d71abee0
                 0000000080030000 000000000000000f 0000000000000000 0000000000000000
                 0000000000000001 00000380000bf918 00000000d73ef780 00000380000bf518
                 0000000080348000 00000000d6d13350 00000000d6d02b1e 00000380000bf428
      Krnl Code: 00000000d6d02b2e: 58100080            l       %r1,128
                 00000000d6d02b32: 5010b0a4            st      %r1,164(%r11)
                #00000000d6d02b36: e31001b80104        lg      %r1,4536
                >00000000d6d02b3c: e31010000004        lg      %r1,0(%r1)
                 00000000d6d02b42: e310b0a80024        stg     %r1,168(%r11)
                 00000000d6d02b48: c01000242270        larl    %r1,00000000d7187028
                 00000000d6d02b4e: d5071000b010        clc     0(8,%r1),16(%r11)
                 00000000d6d02b54: a784001b            brc     8,00000000d6d02b8a
      Call Trace:
       [<00000000d6d02b3c>] do_ext_irq+0x74/0x170
       [<00000000d6d0ea5c>] ext_int_handler+0xc4/0xf4
       [<00000000d621d266>] die+0x106/0x188
       [<00000000d62305b8>] do_no_context+0xc8/0x100
       [<00000000d6d02790>] __do_pgm_check+0xe0/0x1f0
       [<00000000d6d0e950>] pgm_check_handler+0x118/0x160
       [<00000000d6d02b3c>] do_ext_irq+0x74/0x170
       [<00000000d6d0ea5c>] ext_int_handler+0xc4/0xf4
       [<00000000d621d266>] die+0x106/0x188
       [<00000000d62305b8>] do_no_context+0xc8/0x100
       [<00000000d6d02790>] __do_pgm_check+0xe0/0x1f0
       [<00000000d6d0e950>] pgm_check_handler+0x118/0x160
       [<00000000d6d02b3c>] do_ext_irq+0x74/0x170
       [<00000000d6d0ea5c>] ext_int_handler+0xc4/0xf4
       [<0000000000000000>] 0x0
       [<00000000d6d0e57a>] default_idle_call+0x42/0x110
       [<00000000d629856e>] do_idle+0xce/0x160
       [<00000000d62987be>] cpu_startup_entry+0x36/0x40
       [<00000000d621f2f2>] smp_start_secondary+0x82/0x88
      
      Cc: Sven Schnelle <svens@linux.ibm.com>
      Cc: Vasily Gorbik <gor@linux.ibm.com>
      Fixes: 56e62a73 ("s390: convert to generic entry")
      Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
      85012e76