1. 04 Mar, 2021 2 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.12b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · c5a58f87
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
       "Two security issues (XSA-367 and XSA-369)"
      
      * tag 'for-linus-5.12b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen: fix p2m size in dom0 for disabled memory hotplug case
        xen-netback: respect gnttab_map_refs()'s return value
        Xen/gnttab: handle p2m update errors on a per-slot basis
      c5a58f87
    • Linus Torvalds's avatar
      Merge tag 'sound-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 43df5242
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Slightly bulky changes are seen at this time, mostly for dealing with
        the messed up Kconfig for ASoC Intel SOF stuff. The driver and its
        code was split to each module per platform now, which is far more
        straightforward. This should cover the randconfig problems, and more
        importantly, improve the actual device handling as well.
      
        Other than that, nothing particular stands out: the HDMI PCM
        assignment fix for Intel Tigerlake, MIPS n64 error handling fix, and
        the usual suspects, HD-audio / USB-audio quirks"
      
      * tag 'sound-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (21 commits)
        ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
        ALSA: hda/realtek: Add quirk for Intel NUC 10
        ALSA: hda/hdmi: let new platforms assign the pcm slot dynamically
        ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
        ALSA: hda: intel-sdw-acpi: add missing include files
        ALSA: hda: move Intel SoundWire ACPI scan to dedicated module
        ASoC: SOF: Intel: SoundWire: simplify Kconfig
        ASoC: SOF: pci: move DSP_CONFIG use to platform-specific drivers
        ASoC: SOF: pci: split PCI into different drivers
        ASoC: SOF: ACPI: avoid reverse module dependency
        ASoC: soc-acpi: allow for partial match in parent name
        ALSA: hda: intel-nhlt: verify config type
        ALSA: hda: fix kernel-doc warnings
        ALSA: usb-audio: Fix Pioneer DJM devices URB_CONTROL request direction to set samplerate
        ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
        ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256
        ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
        ALSA: usb-audio: Allow modifying parameters with succeeding hw_params calls
        ALSA: usb-audio: Drop bogus dB range in too low level
        ALSA: usb-audio: Don't abort even if the clock rate differs
        ...
      43df5242
  2. 03 Mar, 2021 8 commits
  3. 02 Mar, 2021 12 commits
  4. 01 Mar, 2021 5 commits
  5. 28 Feb, 2021 13 commits
    • Linus Torvalds's avatar
      Merge tag 'ide-5.11-2021-02-28' of git://git.kernel.dk/linux-block · d346da4a
      Linus Torvalds authored
      Pull ide fix from Jens Axboe:
       "This is a leftover fix from 5.11, where I forgot to ship it your way"
      
      * tag 'ide-5.11-2021-02-28' of git://git.kernel.dk/linux-block:
        ide/falconide: Fix module unload
      d346da4a
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.12' of... · 06d5d309
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix UNUSED_KSYMS_WHITELIST for Clang LTO
      
       - Make -s builds really silent irrespective of V= option
      
       - Fix build error when SUBLEVEL or PATCHLEVEL is empty
      
      * tag 'kbuild-fixes-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
        kbuild: make -s option take precedence over V=1
        ia64: remove redundant READELF from arch/ia64/Makefile
        kbuild: do not include include/config/auto.conf from adjust_autoksyms.sh
        kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
        kbuild: lto: add _mcount to list of used symbols
      06d5d309
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.12-rc1' of git://github.com/c-sky/csky-linux · cd278456
      Linus Torvalds authored
      Pull arch/csky updates from Guo Ren:
       "Features:
         - add new memory layout 2.5G(user):1.5G(kernel)
         - add kmemleak support
         - reconstruct VDSO framework: add VDSO with GENERIC_GETTIMEOFDAY,
           GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO
         - add faulthandler_disabled() check
         - support (fix) swapon
         - add (fix) _PAGE_ACCESSED for default pgprot
         - abort uaccess retries upon fatal signal (from arm)
      
        Fixes and optimizations:
         - fix perf probe failure
         - fix show_regs doesn't contain regs->usp
         - remove custom asm/atomic.h implementation
         - fix barrier design
         - fix futex SMP implementation
         - fix asm/cmpxchg.h with correct ordering barrier
         - cleanup asm/spinlock.h
         - fix PTE global for 2.5:1.5 virtual memory
         - remove prologue of page fault handler in entry.S
         - fix TLB maintenance synchronization problem
         - add show_tlb for CPU_CK860 debug
         - fix FAULT_FLAG_XXX param for handle_mm_fault
         - fix update_mmu_cache called with user io mapping
         - fix do_page_fault parent irq status
         - fix a size determination in gpr_get()
         - pgtable.h: Coding convention
         - kprobe: Fix code in simulate without 'long'
         - fix pfn_valid error with wrong max_mapnr
         - use free_initmem_default() in free_initmem()
         - fix compile error"
      
      * tag 'csky-for-linus-5.12-rc1' of git://github.com/c-sky/csky-linux: (30 commits)
        csky: Fixup compile error
        csky: use free_initmem_default() in free_initmem()
        csky: Fixup pfn_valid error with wrong max_mapnr
        csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO
        csky: kprobe: Fixup code in simulate without 'long'
        csky: Fixup swapon
        csky: pgtable.h: Coding convention
        csky: Fixup _PAGE_ACCESSED for default pgprot
        csky: remove unused including <linux/version.h>
        csky: Fix a size determination in gpr_get()
        csky: Reconstruct VDSO framework
        csky: mm: abort uaccess retries upon fatal signal
        csky: Sync riscv mm/fault.c for easy maintenance
        csky: Fixup do_page_fault parent irq status
        csky: Add faulthandler_disabled() check
        csky: Fixup update_mmu_cache called with user io mapping
        csky: Fixup FAULT_FLAG_XXX param for handle_mm_fault
        csky: Add show_tlb for CPU_CK860 debug
        csky: Fix TLB maintenance synchronization problem
        csky: Add kmemleak support
        ...
      cd278456
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.12-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7d19ea5e
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
       "A pair of patches that slipped through the cracks:
      
         - enable CPU hotplug in the defconfigs
      
         - some cleanups to setup_bootmem
      
        There's also a single fix for some randconfig build failures:
      
         - make NUMA depend on SMP"
      
      * tag 'riscv-for-linus-5.12-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Cleanup setup_bootmem()
        RISC-V: Enable CPU Hotplug in defconfigs
        RISC-V: Make NUMA depend on SMP
      7d19ea5e
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 0b311e34
      Linus Torvalds authored
      Pull more SCSI updates from James Bottomley:
       "This is a few driver updates (iscsi, mpt3sas) that were still in the
        staging queue when the merge window opened (all committed on or before
        8 Feb) and some small bug fixes which came in during the merge window
        (all committed on 22 Feb)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (30 commits)
        scsi: hpsa: Correct dev cmds outstanding for retried cmds
        scsi: sd: Fix Opal support
        scsi: target: tcmu: Fix memory leak caused by wrong uio usage
        scsi: target: tcmu: Move some functions without code change
        scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
        scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
        scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
        scsi: ufs: Fix a duplicate dev quirk number
        scsi: aic79xx: Fix spelling of version
        scsi: target: core: Prevent underflow for service actions
        scsi: target: core: Add cmd length set before cmd complete
        scsi: iscsi: Drop session lock in iscsi_session_chkready()
        scsi: qla4xxx: Use iscsi_is_session_online()
        scsi: libiscsi: Reset max/exp cmdsn during recovery
        scsi: iscsi_tcp: Fix shost can_queue initialization
        scsi: libiscsi: Add helper to calculate max SCSI cmds per session
        scsi: libiscsi: Fix iSCSI host workq destruction
        scsi: libiscsi: Fix iscsi_task use after free()
        scsi: libiscsi: Drop taskqueuelock
        scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
        ...
      0b311e34
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.12-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 03dc748b
      Linus Torvalds authored
      Pull more xfs updates from Darrick Wong:
       "The most notable fix here prevents premature reuse of freed metadata
        blocks, and adding the ability to detect accidental nested
        transactions, which are not allowed here.
      
         - Restore a disused sysctl control knob that was inadvertently
           dropped during the merge window to avoid fstests regressions.
      
         - Don't speculatively release freed blocks from the busy list until
           we're actually allocating them, which fixes a rare log recovery
           regression.
      
         - Don't nest transactions when scanning for free space.
      
         - Add an idiot^Wmaintainer light to detect nested transactions. ;)"
      
      * tag 'xfs-5.12-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: use current->journal_info for detecting transaction recursion
        xfs: don't nest transactions when scanning for eofblocks
        xfs: don't reuse busy extents on extent trim
        xfs: restore speculative_cow_prealloc_lifetime sysctl
      03dc748b
    • Linus Torvalds's avatar
      Merge tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-block · 3ab6608e
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
       "A few stragglers (and one due to me missing it originally), and fixes
        for changes in this merge window mostly. In particular:
      
         - blktrace cleanups (Chaitanya, Greg)
      
         - Kill dead blk_pm_* functions (Bart)
      
         - Fixes for the bio alloc changes (Christoph)
      
         - Fix for the partition changes (Christoph, Ming)
      
         - Fix for turning off iopoll with polled IO inflight (Jeffle)
      
         - nbd disconnect fix (Josef)
      
         - loop fsync error fix (Mauricio)
      
         - kyber update depth fix (Yang)
      
         - max_sectors alignment fix (Mikulas)
      
         - Add bio_max_segs helper (Matthew)"
      
      * tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-block: (21 commits)
        block: Add bio_max_segs
        blktrace: fix documentation for blk_fill_rw()
        block: memory allocations in bounce_clone_bio must not fail
        block: remove the gfp_mask argument to bounce_clone_bio
        block: fix bounce_clone_bio for passthrough bios
        block-crypto-fallback: use a bio_set for splitting bios
        block: fix logging on capacity change
        blk-settings: align max_sectors on "logical_block_size" boundary
        block: reopen the device in blkdev_reread_part
        block: don't skip empty device in in disk_uevent
        blktrace: remove debugfs file dentries from struct blk_trace
        nbd: handle device refs for DESTROY_ON_DISCONNECT properly
        kyber: introduce kyber_depth_updated()
        loop: fix I/O error on fsync() in detached loop devices
        block: fix potential IO hang when turning off io_poll
        block: get rid of the trace rq insert wrapper
        blktrace: fix blk_rq_merge documentation
        blktrace: fix blk_rq_issue documentation
        blktrace: add blk_fill_rwbs documentation comment
        block: remove superfluous param in blk_fill_rwbs()
        ...
      3ab6608e
    • Chris Chiu's avatar
      ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256 · d0e18561
      Chris Chiu authored
      The Acer SWIFT Swift SF314-54/55 laptops with ALC256 cannot detect
      both the headset mic and the internal mic. Introduce new fixup
      to enable the jack sense and the headset mic. However, the internal
      mic actually connects to Intel SST audio. It still needs Intel SST
      support to make internal mic capture work.
      Signed-off-by: default avatarChris Chiu <chris.chiu@canonical.com>
      Acked-by: default avatarJian-Hong Pan <jhp@endlessos.org>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20210226010440.8474-1-chris.chiu@canonical.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d0e18561
    • Colin Ian King's avatar
      ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits · 26a9630c
      Colin Ian King authored
      Currently the mask operation on variable conf is just 3 bits so
      the switch statement case value of 8 is unreachable dead code.
      The function daio_mgr_dao_init can be passed a 4 bit value,
      function dao_rsc_init calls it with conf set to:
      
           conf = (desc->msr & 0x7) | (desc->passthru << 3);
      
      so clearly when desc->passthru is set to 1 then conf can be
      at least 8.
      
      Fix this by changing the mask to 0xf.
      
      Fixes: 8cc72361 ("ALSA: SB X-Fi driver merge")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Link: https://lore.kernel.org/r/20210227001527.1077484-1-colin.king@canonical.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      26a9630c
    • Takashi Iwai's avatar
      ALSA: usb-audio: Allow modifying parameters with succeeding hw_params calls · 5f5e6a3e
      Takashi Iwai authored
      The recent fix for the hw constraints for implicit feedback streams
      via commit e4ea77f8 ("ALSA: usb-audio: Always apply the hw
      constraints for implicit fb sync") added the check of the matching
      endpoints and whether those EPs are already opened.  This is needed
      and correct, per se, even for the normal streams without the implicit
      feedback, as the endpoint setup is exclusive.
      
      However, it's reported that there seem applications that behave in
      unexpected ways to update the hw_params without clearing the previous
      setup via hw_free, and those hit a problem now: then hw_params is
      called with still the previous EP setup kept, hence it's restricted
      with the previous own setup.  Although the obvious fix is to call
      snd_pcm_hw_free() API in the application side, it's a kind of
      unwelcome change.
      
      This patch tries to ease the situation: in the endpoint check, we add
      a couple of more conditions and now skip the endpoint that is being
      used only by the stream in question itself.  That is, in addition to
      the presence check of ep (ep->cur_audiofmt is non-NULL), when the
      following conditions are met, we skip such an ep:
      - ep->opened == 1, and
      - ep->cur_audiofmt == subs->cur_audiofmt.
      
      subs->cur_audiofmt is non-NULL only if it's a re-setup of hw_params,
      and ep->cur_audiofmt points to the currently set up parameters.  So if
      those match, it must be this stream itself.
      
      Fixes: e4ea77f8 ("ALSA: usb-audio: Always apply the hw constraints for implicit fb sync")
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211941
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20210228080138.9936-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5f5e6a3e
    • Masahiro Yamada's avatar
      kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again · 207da4c8
      Masahiro Yamada authored
      Commit 78d3bb44 ("kbuild: Fix <linux/version.h> for empty SUBLEVEL
      or PATCHLEVEL") fixed the build error for empty SUBLEVEL or PATCHLEVEL
      by prepending a zero.
      
      Commit 9b82f13e ("kbuild: clamp SUBLEVEL to 255") re-introduced
      this issue.
      
      This time, we cannot take the same approach because we have C code:
      
        #define LINUX_VERSION_PATCHLEVEL $(PATCHLEVEL)
        #define LINUX_VERSION_SUBLEVEL $(SUBLEVEL)
      
      Replace empty SUBLEVEL/PATCHLEVEL with a zero.
      
      Fixes: 9b82f13e ("kbuild: clamp SUBLEVEL to 255")
      Reported-by: default avatarChristian Zigotzky <chzigotzky@xenosoft.de>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-and-tested-by: default avatarSasha Levin <sashal@kernel.org>
      207da4c8
    • Masahiro Yamada's avatar
      kbuild: make -s option take precedence over V=1 · 22149454
      Masahiro Yamada authored
      'make -s' should be really silent. However, 'make -s V=1' prints noisy
      log messages from some shell scripts.
      
      Of course, such a combination is odd, but the build system needs to do
      the right thing even if a user gives strange input.
      
      If -s is given, KBUILD_VERBOSE should be forced to 0.
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      22149454
    • Masahiro Yamada's avatar
      ia64: remove redundant READELF from arch/ia64/Makefile · ad7953e7
      Masahiro Yamada authored
      READELF is defined by the top Makefile.
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      ad7953e7