1. 25 Apr, 2020 18 commits
  2. 24 Apr, 2020 22 commits
    • Doug Berger's avatar
      net: systemport: suppress warnings on failed Rx SKB allocations · 3554e54a
      Doug Berger authored
      The driver is designed to drop Rx packets and reclaim the buffers
      when an allocation fails, and the network interface needs to safely
      handle this packet loss. Therefore, an allocation failure of Rx
      SKBs is relatively benign.
      
      However, the output of the warning message occurs with a high
      scheduling priority that can cause excessive jitter/latency for
      other high priority processing.
      
      This commit suppresses the warning messages to prevent scheduling
      problems while retaining the failure count in the statistics of
      the network interface.
      Signed-off-by: default avatarDoug Berger <opendmb@gmail.com>
      Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3554e54a
    • Doug Berger's avatar
      net: bcmgenet: suppress warnings on failed Rx SKB allocations · ecaeceb8
      Doug Berger authored
      The driver is designed to drop Rx packets and reclaim the buffers
      when an allocation fails, and the network interface needs to safely
      handle this packet loss. Therefore, an allocation failure of Rx
      SKBs is relatively benign.
      
      However, the output of the warning message occurs with a high
      scheduling priority that can cause excessive jitter/latency for
      other high priority processing.
      
      This commit suppresses the warning messages to prevent scheduling
      problems while retaining the failure count in the statistics of
      the network interface.
      Signed-off-by: default avatarDoug Berger <opendmb@gmail.com>
      Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ecaeceb8
    • Taehee Yoo's avatar
      macsec: avoid to set wrong mtu · 7f327080
      Taehee Yoo authored
      When a macsec interface is created, the mtu is calculated with the lower
      interface's mtu value.
      If the mtu of lower interface is lower than the length, which is needed
      by macsec interface, macsec's mtu value will be overflowed.
      So, if the lower interface's mtu is too low, macsec interface's mtu
      should be set to 0.
      
      Test commands:
          ip link add dummy0 mtu 10 type dummy
          ip link add macsec0 link dummy0 type macsec
          ip link show macsec0
      
      Before:
          11: macsec0@dummy0: <BROADCAST,MULTICAST,M-DOWN> mtu 4294967274
      After:
          11: macsec0@dummy0: <BROADCAST,MULTICAST,M-DOWN> mtu 0
      
      Fixes: c09440f7 ("macsec: introduce IEEE 802.1AE driver")
      Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7f327080
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 5ef58e29
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "Two minor fixes: one to update a Kconfig reference and the other to
        fix a resource leak on an error path in sg"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: Update referenced link to cdrtools
        scsi: sg: add sg_remove_request in sg_write
      5ef58e29
    • Eric W. Biederman's avatar
      proc: Put thread_pid in release_task not proc_flush_pid · 6ade99ec
      Eric W. Biederman authored
      Oleg pointed out that in the unlikely event the kernel is compiled
      with CONFIG_PROC_FS unset that release_task will now leak the pid.
      
      Move the put_pid out of proc_flush_pid into release_task to fix this
      and to guarantee I don't make that mistake again.
      
      When possible it makes sense to keep get and put in the same function
      so it can easily been seen how they pair up.
      
      Fixes: 7bc3e6e5 ("proc: Use a list of inodes to flush from proc")
      Reported-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      6ade99ec
    • Linus Torvalds's avatar
      Merge tag 'pm-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 8e9ccd0f
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
       "Restore an optimization related to asynchronous suspend and resume of
        devices during system-wide power transitions that was disabled by
        mistake (Kai-Heng Feng) and update the pm-graph suite of power
        management utilities (Todd Brandt)"
      
      * tag 'pm-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: sleep: core: Switch back to async_schedule_dev()
        pm-graph v5.6
      8e9ccd0f
    • Linus Torvalds's avatar
      Merge tag 'pnp-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 5be35f7f
      Linus Torvalds authored
      Pull PNP cleanup from Rafael Wysocki:
       "Make the PNP code use list_for_each_entry() in a few places instead of
        open-coding it (Jason Gunthorpe)"
      
      * tag 'pnp-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        pnp: Use list_for_each_entry() instead of open coding
      5be35f7f
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 9dc5d985
      Linus Torvalds authored
      Pull ACPI fixes from Rafael Wysocki:
       "Drop a lid status quirk for Asus T200TA that is not necessary any more
        and clean up a resource management inconsistency in the PCI IRQ link
        configuration code.
      
        Both changes from Hans de Goede"
      
      * tag 'acpi-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: button: Drop no longer necessary Asus T200TA lid_init_state quirk
        ACPI/PCI: pci_link: use extended_irq union member when setting ext-irq shareable
      9dc5d985
    • Linus Torvalds's avatar
      mm: check that mm is still valid in madvise() · bc0c4d1e
      Linus Torvalds authored
      IORING_OP_MADVISE can end up basically doing mprotect() on the VM of
      another process, which means that it can race with our crazy core dump
      handling which accesses the VM state without holding the mmap_sem
      (because it incorrectly thinks that it is the final user).
      
      This is clearly a core dumping problem, but we've never fixed it the
      right way, and instead have the notion of "check that the mm is still
      ok" using mmget_still_valid() after getting the mmap_sem for writing in
      any situation where we're not the original VM thread.
      
      See commit 04f5866e ("coredump: fix race condition between
      mmget_not_zero()/get_task_mm() and core dumping") for more background on
      this whole mmget_still_valid() thing.  You might want to have a barf bag
      handy when you do.
      
      We're discussing just fixing this properly in the only remaining core
      dumping routines.  But even if we do that, let's make do_madvise() do
      the right thing, and then when we fix core dumping, we can remove all
      these mmget_still_valid() checks.
      Reported-and-tested-by: default avatarJann Horn <jannh@google.com>
      Fixes: c1ca757b ("io_uring: add IORING_OP_MADVISE")
      Acked-by: default avatarJens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bc0c4d1e
    • David S. Miller's avatar
      Merge tag 'mac80211-for-net-2020-04-24' of... · c651b461
      David S. Miller authored
      Merge tag 'mac80211-for-net-2020-04-24' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
      
      Johannes Berg says:
      
      ====================
      Just three changes:
       * fix a wrong GFP_KERNEL in hwsim
       * fix the debugfs mess after the mac80211 registration race fix
       * suppress false-positive RCU list lockdep warnings
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c651b461
    • David S. Miller's avatar
      Merge tag 'wireless-drivers-2020-04-24' of... · 0303b3a1
      David S. Miller authored
      Merge tag 'wireless-drivers-2020-04-24' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers
      
      Kalle Valo says:
      
      ====================
      wireless-drivers fixes for v5.7
      
      Second set of fixes for v5.7. Quite a few iwlwifi fixes and some
      maintainers file updates.
      
      iwlwifi
      
      * fix a bug with kmemdup() error handling
      
      * fix a DMA pool warning about unfreed memory
      
      * fix beacon statistics
      
      * fix a theoritical bug in device initialisation
      
      * fix queue limit handling and inactive TID removal
      
      * disable ACK Enabled Aggregation which was enabled by accident
      
      * fix transmit power setting reading from BIOS with certain versions
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0303b3a1
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.7-2020-04-24' of git://git.kernel.dk/linux-block · aee1a009
      Linus Torvalds authored
      Pull io_uring fix from Jens Axboe:
       "Single fixup for a change that went into -rc2"
      
      * tag 'io_uring-5.7-2020-04-24' of git://git.kernel.dk/linux-block:
        io_uring: only restore req->work for req that needs do completion
      aee1a009
    • Linus Torvalds's avatar
      Merge tag 'libata-5.7-2020-04-24' of git://git.kernel.dk/linux-block · 81da3d3c
      Linus Torvalds authored
      Pull libata fixlet from Jens Axboe:
       "Minor spelling error fix for libata"
      
      * tag 'libata-5.7-2020-04-24' of git://git.kernel.dk/linux-block:
        ata: sata_inic162x fix a spelling issue
      81da3d3c
    • Linus Torvalds's avatar
      Merge tag 'block-5.7-2020-04-24' of git://git.kernel.dk/linux-block · 3d29cb17
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A few fixes/changes that should go into this release:
      
         - null_blk zoned fixes (Damien)
      
         - blkdev_close() sync improvement (Douglas)
      
         - Fix regression in blk-iocost that impacted (at least) systemtap
           (Waiman)
      
         - Comment fix, header removal (Zhiqiang, Jianpeng)"
      
      * tag 'block-5.7-2020-04-24' of git://git.kernel.dk/linux-block:
        null_blk: Cleanup zoned device initialization
        null_blk: Fix zoned command handling
        block: remove unused header
        blk-iocost: Fix error on iocost_ioc_vrate_adj
        bdev: Reduce time holding bd_mutex in sync in blkdev_close()
        buffer: remove useless comment and WB_REASON_FREE_MORE_MEM, reason.
      3d29cb17
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · da5de55d
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "A few tracing fixes:
      
         - Two fixes for memory leaks detected by kmemleak
      
         - Removal of some dead code
      
         - A few local functions turned static"
      
      * tag 'trace-v5.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Convert local functions in tracing_map.c to static
        tracing: Remove DECLARE_TRACE_NOARGS
        ftrace: Fix memory leak caused by not freeing entry in unregister_ftrace_direct()
        tracing: Fix memory leaks in trace_events_hist.c
      da5de55d
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-pci' · 0db0d142
      Rafael J. Wysocki authored
      * acpi-pci:
        ACPI/PCI: pci_link: use extended_irq union member when setting ext-irq shareable
      0db0d142
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 4544db3f
      Linus Torvalds authored
      Pull arm64 fixes from Catalin Marinas:
      
       - Ensure context synchronisation after a write to APIAKey.
      
       - Fix bullet list formatting in Documentation/arm64/amu.rst to
         eliminate doc warnings.
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        Documentation: arm64: fix amu.rst doc warnings
        arm64: sync kernel APIAKey when installing
      4544db3f
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-tools' · 4bee16d7
      Rafael J. Wysocki authored
      * pm-tools:
        pm-graph v5.6
      4bee16d7
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.7' of... · b9916af7
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - fix scripts/config to properly handle ':' in string type CONFIG
         options
      
       - fix unneeded rebuilds of DT schema check rule
      
       - git rid of ordering dependency between <linux/vermagic.h> and
         <linux/module.h> to fix build errors in some network drivers
      
       - clean up generated headers of host arch with 'make ARCH=um mrproper'
      
      * tag 'kbuild-fixes-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        h8300: ignore vmlinux.lds
        Documentation: kbuild: fix the section title format
        um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/
        arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h>
        kbuild: fix DT binding schema rule again to avoid needless rebuilds
        scripts/config: allow colons in option strings for sed
      b9916af7
    • Linus Torvalds's avatar
      Merge tag 'afs-fixes-20200424' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs · 9a195628
      Linus Torvalds authored
      Pull misc AFS fixes from David Howells:
       "Three miscellaneous fixes to the afs filesystem:
      
         - Remove some struct members that aren't used, aren't set or aren't
           read, plus a wake up that nothing ever waits for.
      
         - Actually set the AFS_SERVER_FL_HAVE_EPOCH flag so that the code
           that depends on it can work.
      
         - Make a couple of waits uninterruptible if they're done for an
           operation that isn't supposed to be interruptible"
      
      * tag 'afs-fixes-20200424' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
        afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
        afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
        afs: Remove some unused bits
      9a195628
    • Linus Torvalds's avatar
      Merge tag 'sound-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b4ecf26e
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This became a slightly big pull request, as the accumulated ASoC fixes
        are included here. Some highlights:
      
         - Revert of ASoC DAI startup changes that caused regression on some
           x86 platforms
      
         - Regression fix in HD-audio power management and driver blacklist
      
         - A collection of ASoC DAPM and topology fixes
      
         - Continued USB-audio fixes and quirks
      
         - Lots of small device-specific fixes
      
         - Rockchip S/PDIF DT stuff update for validation issues"
      
      * tag 'sound-5.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (51 commits)
        ALSA: hda: Always use jackpoll helper for jack update after resume
        ALSA: hda/realtek - Add new codec supported for ALC245
        ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
        ALSA: usb-audio: Add connector notifier delegation
        ALSA: usb-audio: Apply async workaround for Scarlett 2i4 2nd gen
        ASoC: wm8960: Fix wrong clock after suspend & resume
        ALSA: usx2y: Fix potential NULL dereference
        ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2
        ASoC: wm89xx: Add missing dependency
        ASoC: dapm: fixup dapm kcontrol widget
        ASoC: rsnd: Fix "status check failed" spam for multi-SSI
        ASoC: rsnd: Don't treat master SSI in multi SSI setup as parent
        ASoC: meson: gx-card: fix codec-to-codec link setup
        ASoC: meson: axg-card: fix codec-to-codec link setup
        ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
        ALSA: hda: Remove ASUS ROG Zenith from the blacklist
        ALSA: hda/realtek - Fix unexpected init_amp override
        ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
        ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell
        ASoC: stm32: sai: fix sai probe
        ...
      b4ecf26e
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-04-24' of git://anongit.freedesktop.org/drm/drm · 88412a4e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Weekly regular fixes for drm, The usual rc3 uptick here, but nothing
        too crazy or notable.
      
        core:
         - mst: zero pbn when releasing vcpi slots
      
        amdgpu:
         - Fix resume issue on renoir
         - Thermal fix for older CI dGPUs
         - Fix some fallout from dropping drm load/unload callbacks
      
        i915:
         - Tigerlake Workaround - disabling media recompression (Matt)
         - Fix RPS interrupts for right GPU frequency (Chris)
         - HDCP fix prime check (Oliver)
         - Tigerlake Thunderbolt power well fix (Matt)
         - Tigerlake DP link training fixes (Jose)
         - Documentation sphinx build fix (Jani)
         - Fix enable_dpcd_backlight modparam (Lyude)
      
        analogix-dp:
         - binding fix
      
        meson:
         - remove unneeded error message
      
        bindings:
         - fix warnings
         - fix lvds binding
      
        scheduler:
         - thread racing fix
      
        tidss:
         - use after free fix"
      
      * tag 'drm-fixes-2020-04-24' of git://anongit.freedesktop.org/drm/drm:
        drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam
        drm/i915: fix Sphinx build duplicate label warning
        drm/i915/display: Load DP_TP_CTL/STATUS offset before use it
        drm/i915/tgl: TBT AUX should use TC power well ops
        drm/i915: HDCP: fix Ri prime check done during link check
        drm/i915/gt: Update PMINTRMSK holding fw
        drm/i915/tgl: Add Wa_14010477008:tgl
        drm/tidss: fix crash related to accessing freed memory
        drm/dp_mst: Zero assigned PBN when releasing VCPI slots
        drm/amdgpu/display: give aux i2c buses more meaningful names
        drm/amdgpu/display: fix aux registration (v2)
        drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii)
        drm/amd/powerplay: fix resume failed as smu table initialize early exit
        drm/scheduler: fix drm_sched_get_cleanup_job
        drm/meson: Delete an error message in meson_dw_hdmi_bind()
        drm/bridge: anx6345: set correct BPC for display_info of connector
        dt-bindings: display: allow port and ports in panel-lvds
        dt-bindings: display: xpp055c272: Remove the reg property
        dt-bindings: display: ltk500hd1829: Remove the reg property
        drm/bridge: analogix_dp: Split bind() into probe() and real bind()
      88412a4e