1. 30 Jul, 2020 6 commits
  2. 29 Jul, 2020 9 commits
    • Robert Hancock's avatar
      PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge · b361663c
      Robert Hancock authored
      Recently ASPM handling was changed to allow ASPM on PCIe-to-PCI/PCI-X
      bridges.  Unfortunately the ASMedia ASM1083/1085 PCIe to PCI bridge device
      doesn't seem to function properly with ASPM enabled.  On an Asus PRIME
      H270-PRO motherboard, it causes errors like these:
      
        pcieport 0000:00:1c.0: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
        pcieport 0000:00:1c.0: AER:   device [8086:a292] error status/mask=00003000/00002000
        pcieport 0000:00:1c.0: AER:    [12] Timeout
        pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
        pcieport 0000:00:1c.0: AER: can't find device of ID00e0
      
      In addition to flooding the kernel log, this also causes the machine to
      wake up immediately after suspend is initiated.
      
      The device advertises ASPM L0s and L1 support in the Link Capabilities
      register, but the ASMedia web page for ASM1083 [1] claims "No PCIe ASPM
      support".
      
      Windows 10 (build 2004) enables L0s, but it also logs correctable PCIe
      errors.
      
      Add a quirk to disable ASPM for this device.
      
      [1] https://www.asmedia.com.tw/eng/e_show_products.php?cate_index=169&item=114
      
      [bhelgaas: commit log]
      Fixes: 66ff14e5 ("PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges")
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=208667
      Link: https://lore.kernel.org/r/20200722021803.17958-1-hancockrwd@gmail.comSigned-off-by: default avatarRobert Hancock <hancockrwd@gmail.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      b361663c
    • Linus Torvalds's avatar
      Merge tag 'audit-pr-20200729' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit · d3590ebf
      Linus Torvalds authored
      Pull audit fixes from Paul Moore:
       "One small audit fix that you can hopefully merge before v5.8 is
        released. Unfortunately it is a revert of a patch that went in during
        the v5.7 window and we just recently started to see some bug reports
        relating to that commit.
      
        We are working on a proper fix, but I'm not yet clear on when that
        will be ready and we need to fix the v5.7 kernels anyway, so in the
        interest of time a revert seemed like the best solution right now"
      
      * tag 'audit-pr-20200729' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
        revert: 1320a405 ("audit: trigger accompanying records when no rules present")
      d3590ebf
    • Linus Torvalds's avatar
      Merge tag '9p-for-5.8-2' of git://github.com/martinetd/linux into master · 21391520
      Linus Torvalds authored
      Pull 9p fixes from Dominique Martinet:
       "A couple of syzcaller fixes for 5.8
      
        The first one in particular has been quite noisy ("broke" in -rc5) so
        this would be worth landing even this late even if users likely won't
        see a difference"
      
      * tag '9p-for-5.8-2' of git://github.com/martinetd/linux:
        9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
        net/9p: validate fds in p9_fd_open
      21391520
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-07-29' of git://anongit.freedesktop.org/drm/drm into master · c2f3850d
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "The nouveau fixes missed the last pull by a few hours, and we had a
        few arm driver/panel/bridge fixes come in.
      
        This is possibly a bit more than I'm comfortable sending at this
        stage, but I've looked at each patch, the core + nouveau patches fix
        regressions, and the arm related ones are all around screens turning
        on and working, and are mostly trivial patches, the line count is
        mostly in comments.
      
        core:
         - fix possible use-after-free
      
        drm_fb_helper:
         - regression fix to use memcpy_io on bochs' sparc64
      
        nouveau:
         - format modifiers fixes
         - HDA regression fix
         - turing modesetting race fix
      
        of:
         - fix a double free
      
        dbi:
         - fix SPI Type 1 transfer
      
        mcde:
         - fix screen stability crash
      
        panel:
         - panel: fix display noise on auo,kd101n80-45na
         - panel: delay HPD checks for boe_nv133fhm_n61
      
        bridge:
         - bridge: drop connector check in nwl-dsi bridge
         - bridge: set proper bridge type for adv7511"
      
      * tag 'drm-fixes-2020-07-29' of git://anongit.freedesktop.org/drm/drm:
        drm: hold gem reference until object is no longer accessed
        drm/dbi: Fix SPI Type 1 (9-bit) transfer
        drm/drm_fb_helper: fix fbdev with sparc64
        drm/mcde: Fix stability issue
        drm/bridge: nwl-dsi: Drop DRM_BRIDGE_ATTACH_NO_CONNECTOR check.
        drm/panel: Fix auo, kd101n80-45na horizontal noise on edges of panel
        drm: panel: simple: Delay HPD checking on boe_nv133fhm_n61 for 15 ms
        drm/bridge/adv7511: set the bridge type properly
        drm: of: Fix double-free bug
        drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure
        drm/nouveau/fbcon: fix module unload when fbcon init has failed for some reason
        drm/nouveau/kms/tu102: wait for core update to complete when assigning windows
        drm/nouveau/kms/gf100: use correct format modifiers
        drm/nouveau/disp/gm200-: fix regression from HDA SOR selection changes
      c2f3850d
    • Willy Tarreau's avatar
      random32: update the net random state on interrupt and activity · f227e3ec
      Willy Tarreau authored
      This modifies the first 32 bits out of the 128 bits of a random CPU's
      net_rand_state on interrupt or CPU activity to complicate remote
      observations that could lead to guessing the network RNG's internal
      state.
      
      Note that depending on some network devices' interrupt rate moderation
      or binding, this re-seeding might happen on every packet or even almost
      never.
      
      In addition, with NOHZ some CPUs might not even get timer interrupts,
      leaving their local state rarely updated, while they are running
      networked processes making use of the random state.  For this reason, we
      also perform this update in update_process_times() in order to at least
      update the state when there is user or system activity, since it's the
      only case we care about.
      Reported-by: default avatarAmit Klein <aksecurity@gmail.com>
      Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
      Cc: Andy Lutomirski <luto@kernel.org>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f227e3ec
    • Jens Axboe's avatar
      Merge branch 'nvme-5.8' of git://git.infradead.org/nvme into block-5.8 · d6364a86
      Jens Axboe authored
      Pull NVMe fixes from Christoph.
      
      * 'nvme-5.8' of git://git.infradead.org/nvme:
        nvme: add a Identify Namespace Identification Descriptor list quirk
        nvme-pci: prevent SK hynix PC400 from using Write Zeroes command
        nvme-tcp: fix possible hang waiting for icresp response
      d6364a86
    • Paul Moore's avatar
      revert: 1320a405 ("audit: trigger accompanying records when no rules present") · 8ac68dc4
      Paul Moore authored
      Unfortunately the commit listed in the subject line above failed
      to ensure that the task's audit_context was properly initialized/set
      before enabling the "accompanying records".  Depending on the
      situation, the resulting audit_context could have invalid values in
      some of it's fields which could cause a kernel panic/oops when the
      task/syscall exists and the audit records are generated.
      
      We will revisit the original patch, with the necessary fixes, in a
      future kernel but right now we just want to fix the kernel panic
      with the least amount of added risk.
      
      Cc: stable@vger.kernel.org
      Fixes: 1320a405 ("audit: trigger accompanying records when no rules present")
      Reported-by: j2468h@googlemail.com
      Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
      8ac68dc4
    • Christoph Hellwig's avatar
      nvme: add a Identify Namespace Identification Descriptor list quirk · 5bedd3af
      Christoph Hellwig authored
      Add a quirk for a device that does not support the Identify Namespace
      Identification Descriptor list despite claiming 1.3 compliance.
      
      Fixes: ea43d970 ("nvme: fix identify error status silent ignore")
      Reported-by: default avatarIngo Brunberg <ingo_brunberg@web.de>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Tested-by: default avatarIngo Brunberg <ingo_brunberg@web.de>
      Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
      5bedd3af
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2020-07-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · a4a2739b
      Dave Airlie authored
       * drm: fix possible use-after-free
       * dbi: fix SPI Type 1 transfer
       * drm_fb_helper: use memcpy_io on bochs' sparc64
       * mcde: fix stability
       * panel: fix display noise on auo,kd101n80-45na
       * panel: delay HPD checks for boe_nv133fhm_n61
       * bridge: drop connector check in nwl-dsi bridge
       * bridge: set proper bridge type for adv7511
       * of: fix a double free
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200728110446.GA8076@linux-uq9g
      a4a2739b
  3. 28 Jul, 2020 3 commits
  4. 27 Jul, 2020 7 commits
  5. 26 Jul, 2020 15 commits