1. 22 2月, 2020 7 次提交
  2. 20 2月, 2020 3 次提交
    • L
      Merge tag 'linux-kselftest-5.6-rc3' of... · ca7e1fd1
      Linus Torvalds 提交于
      Merge tag 'linux-kselftest-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest fixes from Shuah Khan:
       "Fixes to build failures and other test bugs"
      
      * tag 'linux-kselftest-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests: openat2: fix build error on newer glibc
        selftests: use LDLIBS for libraries instead of LDFLAGS
        selftests: fix too long argument
        selftests: allow detection of build failures
        Kernel selftests: tpm2: check for tpm support
        selftests/ftrace: Have pid filter test use instance flag
        selftests: fix spelling mistaked "chaigned" -> "chained"
      ca7e1fd1
    • L
      Merge tag 'iommu-fixes-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 4b205766
      Linus Torvalds 提交于
      Pull iommu fixes from Joerg Roedel:
      
       - Compile warning fix for the Intel IOMMU driver
      
       - Fix kdump boot with Intel IOMMU enabled and in passthrough mode
      
       - Disable AMD IOMMU on a Laptop/Embedded platform because the delay it
         introduces in DMA transactions causes screen flickering there with 4k
         monitors
      
       - Make domain_free function in QCOM IOMMU driver robust and not leak
         memory/dereference NULL pointers
      
       - Fix ARM-SMMU module parameter prefix names
      
      * tag 'iommu-fixes-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/arm-smmu: Restore naming of driver parameter prefix
        iommu/qcom: Fix bogus detach logic
        iommu/amd: Disable IOMMU on Stoney Ridge systems
        iommu/vt-d: Simplify check in identity_mapping()
        iommu/vt-d: Remove deferred_attach_domain()
        iommu/vt-d: Do deferred attachment in iommu_need_mapping()
        iommu/vt-d: Move deferred device attachment into helper function
        iommu/vt-d: Add attach_deferred() helper
        iommu/vt-d: Fix compile warning from intel-svm.h
      4b205766
    • L
      Merge tag 'sound-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · fa079ba8
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "The only largish change in this pull request is about the revert of
        the recent max98090 and its relevant patches due to regressions.
      
        Other than that, all small fixes for ALSA core (covering KCSAN fuzzer
        warnings in ALSA sequencer and rawmidi), Intel SOF HD-audio fixes, AMD
        ACP fixes, usual HD-audio quirks, and various ASoC fixes"
      
      * tag 'sound-5.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
        ALSA: hda/realtek - Apply quirk for yet another MSI laptop
        ASoC: sun8i-codec: Fix setting DAI data format
        ALSA: hda/realtek - Apply quirk for MSI GP63, too
        ASoC: amd: ACP needs to be powered off in BIOS.
        ASoC: hdmi-codec: set plugged_cb to NULL when component removing
        ASoC: dapm: remove snd_soc_dapm_put_enum_double_locked
        ASoC: max98090: revert invalid fix for handling SHDN
        ALSA: rawmidi: Avoid bit fields for state flags
        ALSA: seq: Fix concurrent access to queue current tick/time
        ALSA: seq: Avoid concurrent access to queue flags
        ASoC: codec2codec: avoid invalid/double-free of pcm runtime
        ASoC: amd: Buffer Size instead of MAX Buffer
        ASoC: SOF: Intel: hda: move i915 init earlier
        ASoC: SOF: Intel: hda: fix ordering bug in resume flow
        ALSA: hda: do not override bus codec_mask in link_get()
        ASoC: atmel: fix atmel_ssc_set_audio link failure
        ASoC: fsl_sai: Fix exiting path on probing failure
      fa079ba8
  3. 19 2月, 2020 11 次提交
  4. 18 2月, 2020 8 次提交
  5. 17 2月, 2020 11 次提交
    • J
      btrfs: don't set path->leave_spinning for truncate · 52e29e33
      Josef Bacik 提交于
      The only time we actually leave the path spinning is if we're truncating
      a small amount and don't actually free an extent, which is not a common
      occurrence.  We have to set the path blocking in order to add the
      delayed ref anyway, so the first extent we find we set the path to
      blocking and stay blocking for the duration of the operation.  With the
      upcoming file extent map stuff there will be another case that we have
      to have the path blocking, so just swap to blocking always.
      
      Note: this patch also fixes a warning after 28553fa9 ("Btrfs: fix
      race between shrinking truncate and fiemap") got merged that inserts
      extent locks around truncation so the path must not leave spinning locks
      after btrfs_search_slot.
      
        [70.794783] BUG: sleeping function called from invalid context at mm/slab.h:565
        [70.794834] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1141, name: rsync
        [70.794863] 5 locks held by rsync/1141:
        [70.794876]  #0: ffff888417b9c408 (sb_writers#17){.+.+}, at: mnt_want_write+0x20/0x50
        [70.795030]  #1: ffff888428de28e8 (&type->i_mutex_dir_key#13/1){+.+.}, at: lock_rename+0xf1/0x100
        [70.795051]  #2: ffff888417b9c608 (sb_internal#2){.+.+}, at: start_transaction+0x394/0x560
        [70.795124]  #3: ffff888403081768 (btrfs-fs-01){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
        [70.795203]  #4: ffff888403086568 (btrfs-fs-00){++++}, at: btrfs_try_tree_write_lock+0x2f/0x160
        [70.795222] CPU: 5 PID: 1141 Comm: rsync Not tainted 5.6.0-rc2-backup+ #2
        [70.795362] Call Trace:
        [70.795374]  dump_stack+0x71/0xa0
        [70.795445]  ___might_sleep.part.96.cold.106+0xa6/0xb6
        [70.795459]  kmem_cache_alloc+0x1d3/0x290
        [70.795471]  alloc_extent_state+0x22/0x1c0
        [70.795544]  __clear_extent_bit+0x3ba/0x580
        [70.795557]  ? _raw_spin_unlock_irq+0x24/0x30
        [70.795569]  btrfs_truncate_inode_items+0x339/0xe50
        [70.795647]  btrfs_evict_inode+0x269/0x540
        [70.795659]  ? dput.part.38+0x29/0x460
        [70.795671]  evict+0xcd/0x190
        [70.795682]  __dentry_kill+0xd6/0x180
        [70.795754]  dput.part.38+0x2ad/0x460
        [70.795765]  do_renameat2+0x3cb/0x540
        [70.795777]  __x64_sys_rename+0x1c/0x20
      Reported-by: NDave Jones <davej@codemonkey.org.uk>
      Fixes: 28553fa9 ("Btrfs: fix race between shrinking truncate and fiemap")
      CC: stable@vger.kernel.org # 4.4+
      Reviewed-by: NFilipe Manana <fdmanana@suse.com>
      Signed-off-by: NJosef Bacik <josef@toxicpanda.com>
      Reviewed-by: NDavid Sterba <dsterba@suse.com>
      [ add note ]
      Signed-off-by: NDavid Sterba <dsterba@suse.com>
      52e29e33
    • T
      ALSA: hda/realtek - Apply quirk for MSI GP63, too · a655e2b1
      Takashi Iwai 提交于
      The same quirk that was applied to MSI GL73 is needed for MSI GP63,
      too.  Adding the entry with the SSID 1462:1228.
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206503
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200217151947.17528-1-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      a655e2b1
    • R
      ASoC: amd: ACP needs to be powered off in BIOS. · 3bc7b6c1
      Ravulapati Vishnu vardhan rao 提交于
      Removed this logic because It is BIOS which needs to
      power off the ACP power domian through ACP_PGFSM_CTRL
      register when you De-initialize ACP Engine.
      Signed-off-by: NRavulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
      Link: https://lore.kernel.org/r/1581935964-15059-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.comSigned-off-by: NMark Brown <broonie@kernel.org>
      3bc7b6c1
    • T
      ASoC: hdmi-codec: set plugged_cb to NULL when component removing · 4aadf4b4
      Tzung-Bi Shih 提交于
      Sets plugged_cb to NULL when component removing to notify its consumers
      : no further plugged status report is required.
      Signed-off-by: NTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20200217105513.1.Icc323daaf71ad02f191fd8d91136b01b61eca5e3@changeidSigned-off-by: NMark Brown <broonie@kernel.org>
      4aadf4b4
    • L
      Linux 5.6-rc2 · 11a48a5a
      Linus Torvalds 提交于
      11a48a5a
    • L
      Merge tag 'for-linus-5.6-1' of https://github.com/cminyard/linux-ipmi · ab02b61f
      Linus Torvalds 提交于
      Pull IPMI update from Corey Minyard:
       "Minor bug fixes for IPMI
      
        I know this is late; I've been travelling and, well, I've been
        distracted.
      
        This is just a few bug fixes and adding i2c support to the IPMB
        driver, which is something I wanted from the beginning for it"
      
      * tag 'for-linus-5.6-1' of https://github.com/cminyard/linux-ipmi:
        drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
        ipmi:ssif: Handle a possible NULL pointer reference
        drivers: ipmi: Modify max length of IPMB packet
        drivers: ipmi: Support raw i2c packet in IPMB
      ab02b61f
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 44024adb
      Linus Torvalds 提交于
      Pull KVM fixes from Paolo Bonzini:
       "Bugfixes and improvements to selftests.
      
        On top of this, Mauro converted the KVM documentation to rst format,
        which was very welcome"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (44 commits)
        docs: virt: guest-halt-polling.txt convert to ReST
        docs: kvm: review-checklist.txt: rename to ReST
        docs: kvm: Convert timekeeping.txt to ReST format
        docs: kvm: Convert s390-diag.txt to ReST format
        docs: kvm: Convert ppc-pv.txt to ReST format
        docs: kvm: Convert nested-vmx.txt to ReST format
        docs: kvm: Convert mmu.txt to ReST format
        docs: kvm: Convert locking.txt to ReST format
        docs: kvm: Convert hypercalls.txt to ReST format
        docs: kvm: arm/psci.txt: convert to ReST
        docs: kvm: convert arm/hyp-abi.txt to ReST
        docs: kvm: Convert api.txt to ReST format
        docs: kvm: convert devices/xive.txt to ReST
        docs: kvm: convert devices/xics.txt to ReST
        docs: kvm: convert devices/vm.txt to ReST
        docs: kvm: convert devices/vfio.txt to ReST
        docs: kvm: convert devices/vcpu.txt to ReST
        docs: kvm: convert devices/s390_flic.txt to ReST
        docs: kvm: convert devices/mpic.txt to ReST
        docs: kvm: convert devices/arm-vgit.txt to ReST
        ...
      44024adb
    • L
      Merge tag 'edac_urgent_for_5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras · b982df72
      Linus Torvalds 提交于
      Pull EDAC fixes from Borislav Petkov:
       "Two fixes for use-after-free and memory leaking in the EDAC core, by
        Robert Richter.
      
        Debug options like DEBUG_TEST_DRIVER_REMOVE, KASAN and DEBUG_KMEMLEAK
        unearthed issues with the lifespan of memory allocated by the EDAC
        memory controller descriptor due to misdesigned memory freeing, done
        partially by the EDAC core *and* the driver core, which is problematic
        to say the least.
      
        These two are minimal fixes to take care of stable - a proper rework
        is following which cleans up that mess properly"
      
      * tag 'edac_urgent_for_5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
        EDAC/sysfs: Remove csrow objects on errors
        EDAC/mc: Fix use-after-free and memleaks during device removal
      b982df72
    • L
      Merge tag 'block-5.6-2020-02-16' of git://git.kernel.dk/linux-block · e29c6a13
      Linus Torvalds 提交于
      Pull block fixes from Jens Axboe:
       "Not a lot here, which is great, basically just three small bcache
        fixes from Coly, and four NVMe fixes via Keith"
      
      * tag 'block-5.6-2020-02-16' of git://git.kernel.dk/linux-block:
        nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
        nvme/pci: move cqe check after device shutdown
        nvme: prevent warning triggered by nvme_stop_keep_alive
        nvme/tcp: fix bug on double requeue when send fails
        bcache: remove macro nr_to_fifo_front()
        bcache: Revert "bcache: shrink btree node cache after bch_btree_check()"
        bcache: ignore pending signals when creating gc and allocator thread
      e29c6a13
    • L
      Merge tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 713db356
      Linus Torvalds 提交于
      Pull btrfs fixes from David Sterba:
       "Two races fixed, memory leak fix, sysfs directory fixup and two new
        log messages:
      
         - two fixed race conditions: extent map merging and truncate vs
           fiemap
      
         - create the right sysfs directory with device information and move
           the individual device dirs under it
      
         - print messages when the tree-log is replayed at mount time or
           cannot be replayed on remount"
      
      * tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        btrfs: sysfs, move device id directories to UUID/devinfo
        btrfs: sysfs, add UUID/devinfo kobject
        Btrfs: fix race between shrinking truncate and fiemap
        btrfs: log message when rw remount is attempted with unclean tree-log
        btrfs: print message when tree-log replay starts
        Btrfs: fix race between using extent maps and merging them
        btrfs: ref-verify: fix memory leaks
      713db356
    • L
      Merge tag '5.6-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6 · 288b27a0
      Linus Torvalds 提交于
      Pull cifs fixes from Steve French:
       "Four small CIFS/SMB3 fixes. One (the EA overflow fix) for stable"
      
      * tag '5.6-rc1-smb3-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: make sure we do not overflow the max EA buffer size
        cifs: enable change notification for SMB2.1 dialect
        cifs: Fix mode output in debugging statements
        cifs: fix mount option display for sec=krb5i
      288b27a0