1. 24 Jun, 2022 13 commits
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 70d605cb
      Linus Torvalds authored
      Pull RISC-V fix from Palmer Dabbelt:
      
       - fix the T-Head memory type errata workaround to avoid behavior
         that is unsupported in the LLVM assembler
      
      * tag 'riscv-for-linus-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Fix ALT_THEAD_PMA's asm parameters
      70d605cb
    • Linus Torvalds's avatar
      Merge tag 's390-5.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · f6e9d014
      Linus Torvalds authored
      Pull s390 fixes from Alexander Gordeev:
      
       - Fix perf stat accounting for cryptography counters when multiple
         events are installed concurrently.
      
       - Prevent installation of unsupported perf events for cryptography
         counters.
      
       - Treat perf events cpum_cf/CPU_CYCLES/ and cpu_cf/INSTRUCTIONS/
         identical to basic events CPU_CYCLES" and INSTRUCTIONS, since they
         address the same hardware.
      
       - Restore kcrash operation which was broken by commit 5d8de293
         ("vmcore: convert copy_oldmem_page() to take an iov_iter").
      
      * tag 's390-5.19-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/pai: Fix multiple concurrent event installation
        s390/pai: Prevent invalid event number for pai_crypto PMU
        s390/cpumf: Handle events cycles and instructions identical
        s390/crash: make copy_oldmem_page() return number of bytes copied
        s390/crash: add missing iterator advance in copy_oldmem_page()
      f6e9d014
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.19a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 2c39d612
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
      
       - A rare deadlock in Qubes-OS between the i915 driver and Xen grant
         unmapping, solved by making the unmapping fully asynchronous
      
       - A bug in the Xen blkfront driver caused by incomplete error handling
      
       - A fix for undefined behavior (shifting a signed int by 31 bits)
      
       - A fix in the Xen drmfront driver avoiding a WARN()
      
      * tag 'for-linus-5.19a-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/gntdev: Avoid blocking in unmap_grant_pages()
        drm/xen: Add missing VM_DONTEXPAND flag in mmap callback
        x86/xen: Remove undefined behavior in setup_features()
        xen-blkfront: Handle NULL gendisk
      2c39d612
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · e9465549
      Linus Torvalds authored
      Pull kvm fixes from Paolo Bonzini:
       "ARM64:
      
         - Fix a regression with pKVM when kmemleak is enabled
      
         - Add Oliver Upton as an official KVM/arm64 reviewer
      
        selftests:
      
         - deal with compiler optimizations around hypervisor exits
      
        x86:
      
         - MAINTAINERS reorganization
      
         - Two SEV fixes"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        KVM: SEV: Init target VMCBs in sev_migrate_from
        KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()
        MAINTAINERS: Reorganize KVM/x86 maintainership
        selftests: KVM: Handle compiler optimizations in ucall
        KVM: arm64: Add Oliver as a reviewer
        KVM: arm64: Prevent kmemleak from accessing pKVM memory
        tools/kvm_stat: fix display of error when multiple processes are found
      e9465549
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2022-06-24' of git://anongit.freedesktop.org/drm/drm · 38bc4ac4
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Fixes for this week, bit larger than normal, but I think the last
        couple have been quieter, and it's only rc4.
      
        There are a lot of small msm fixes, and a slightly larger set of vc4
        fixes. The vc4 fixes clean up a lot of crashes around the rPI4
        hardware differences from earlier ones, and problems in the page flip
        and modeset code which assumed earlier hw, so I thought it would be
        okay to keep them in.
      
        Otherwise, it's a few amdgpu, i915, sun4i and a panel quirk.
      
        amdgpu:
         - Adjust GTT size logic
         - eDP fix for RMB
         - DCN 3.15 fix
         - DP training fix
         - Color encoding fix for DCN2+
      
        sun4i:
         - multiple suspend fixes
      
        vc4:
         - rework driver split for rpi4, fixes mulitple crashers.
      
        panel:
         - quirk for Aya Neo Next
      
        i915:
         - Revert low voltage SKU check removal to fix display issues
         - Apply PLL DCO fraction workaround for ADL-S
         - Don't show engine classes not present in client fdinfo
      
        msm:
         - Workaround for parade DSI bridge power sequencing
         - Fix for multi-planar YUV format offsets
         - Limiting WB modes to max sspp linewidth
         - Fixing the supported rotations to add 180 back for IGT
         - Fix to handle pm_runtime_get_sync() errors to avoid unclocked
           access in the bind() path for dpu driver
         - Fix the irq_free() without request issue which was a being hit
           frequently in CI.
         - Fix to add minimum ICC vote in the msm_mdss pm_resume path to
           address bootup splats
         - Fix to avoid dereferencing without checking in WB encoder
         - Fix to avoid crash during suspend in DP driver by ensuring
           interrupt mask bits are updated
         - Remove unused code from dpu_encoder_virt_atomic_check()
         - Fix to remove redundant init of dsc variable
         - Fix to ensure mmap offset is initialized to avoid memory corruption
           from unpin/evict
         - Fix double runpm disable in probe-defer path
         - VMA fenced-unpin fixes
         - Fix for WB max-width
         - Fix for rare dp resolution change issue"
      
      * tag 'drm-fixes-2022-06-24' of git://anongit.freedesktop.org/drm/drm: (41 commits)
        amd/display/dc: Fix COLOR_ENCODING and COLOR_RANGE doing nothing for DCN20+
        drm/amd/display: Fix typo in override_lane_settings
        drm/amd/display: Fix DC warning at driver load
        drm/amd: Revert "drm/amd/display: keep eDP Vdd on when eDP stream is already enabled"
        drm/amdgpu: Adjust logic around GTT size (v3)
        drm/sun4i: Return if frontend is not present
        drm/vc4: fix error code in vc4_check_tex_size()
        drm/sun4i: Add DMA mask and segment size
        drm/vc4: hdmi: Fixed possible integer overflow
        drm/i915/display: Re-add check for low voltage sku for max dp source rate
        drm/i915/fdinfo: Don't show engine classes not present
        drm/i915: Implement w/a 22010492432 for adl-s
        drm: panel-orientation-quirks: Add quirk for Aya Neo Next
        drm/msm/dp: force link training for display resolution change
        drm/msm/dpu: limit wb modes based on max_mixer_width
        drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
        drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
        drm/msm: Don't overwrite hw fence in hw_init
        drm/msm: Drop update_fences()
        drm/vc4: Warn if some v3d code is run on BCM2711
        ...
      38bc4ac4
    • Linus Torvalds's avatar
      Merge tag 'for-5.19/dm-fixes-4' of... · cbe232ab
      Linus Torvalds authored
      Merge tag 'for-5.19/dm-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM era to commit metadata during suspend using drain_workqueue
         instead of flush_workqueue.
      
       - Fix DM core's dm_io_complete to not return early if io error is
         BLK_STS_AGAIN but bio polling is not in use.
      
       - Fix DM core's dm_io_complete BLK_STS_DM_REQUEUE handling when dm_io
         represents a split bio.
      
       - Fix recent DM mirror log regression by clearing bits up to
         BITS_PER_LONG boundary.
      
      * tag 'for-5.19/dm-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm mirror log: clear log bits up to BITS_PER_LONG boundary
        dm: fix BLK_STS_DM_REQUEUE handling when dm_io represents split bio
        dm: do not return early from dm_io_complete if BLK_STS_AGAIN without polling
        dm era: commit metadata in postsuspend after worker stops
      cbe232ab
    • Linus Torvalds's avatar
      Merge tag 'ata-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata · 43627618
      Linus Torvalds authored
      Pull ATA fix from Damien Le Moal:
      
       - a single patch to fix tracing of command completion (Edward)
      
      * tag 'ata-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata:
        ata: libata: add qc->flags in ata_qc_complete_template tracepoint
      43627618
    • Linus Torvalds's avatar
      Merge tag 'block-5.19-2022-06-24' of git://git.kernel.dk/linux-block · a237cfd6
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Series fixing issues with sysfs locking and name reuse (Christoph)
      
       - NVMe pull request via Christoph:
            - Fix the mixed up CRIMS/CRWMS constants (Joel Granados)
            - Add another broken identifier quirk (Leo Savernik)
            - Fix up a quirk because Samsung reuses PCI IDs over different
              products (Christoph Hellwig)
      
       - Remove old WARN_ON() that doesn't apply anymore (Li)
      
       - Fix for using a stale cached request value for rq-qos throttling
         mechanisms that may schedule(), like iocost (me)
      
       - Remove unused parameter to blk_independent_access_range() (Damien)
      
      * tag 'block-5.19-2022-06-24' of git://git.kernel.dk/linux-block:
        block: remove WARN_ON() from bd_link_disk_holder
        nvme: move the Samsung X5 quirk entry to the core quirks
        nvme: fix the CRIMS and CRWMS definitions to match the spec
        nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
        block: pop cached rq before potentially blocking rq_qos_throttle()
        block: remove queue from struct blk_independent_access_range
        block: freeze the queue earlier in del_gendisk
        block: remove per-disk debugfs files in blk_unregister_queue
        block: serialize all debugfs operations using q->debugfs_mutex
        block: disable the elevator int del_gendisk
      a237cfd6
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.19-2022-06-24' of git://git.kernel.dk/linux-block · 598f2404
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
       "A few fixes that should go into the 5.19 release. All are fixing
        issues that either happened in this release, or going to stable.
      
        In detail:
      
         - A small series of fixlets for the poll handling, all destined for
           stable (Pavel)
      
         - Fix a merge error from myself that caused a potential -EINVAL for
           the recv/recvmsg flag setting (me)
      
         - Fix a kbuf recycling issue for partial IO (me)
      
         - Use the original request for the inflight tracking (me)
      
         - Fix an issue introduced this merge window with trace points using a
           custom decoder function, which won't work for perf (Dylan)"
      
      * tag 'io_uring-5.19-2022-06-24' of git://git.kernel.dk/linux-block:
        io_uring: use original request task for inflight tracking
        io_uring: move io_uring_get_opcode out of TP_printk
        io_uring: fix double poll leak on repolling
        io_uring: fix wrong arm_poll error handling
        io_uring: fail links when poll fails
        io_uring: fix req->apoll_events
        io_uring: fix merge error in checking send/recv addr2 flags
        io_uring: mark reissue requests with REQ_F_PARTIAL_IO
      598f2404
    • Linus Torvalds's avatar
      Merge tag 'printk-for-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · 9d882352
      Linus Torvalds authored
      Pull printk kernel thread revert from Petr Mladek:
       "Revert printk console kthreads.
      
        The testing of 5.19 release candidates revealed issues that did not
        happen when all consoles were serialized using the console semaphore.
      
        More time is needed to check expectations of the existing console
        drivers and be confident that they can be safely used in parallel"
      
      * tag 'printk-for-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        Revert "printk: add functions to prefer direct printing"
        Revert "printk: add kthread console printers"
        Revert "printk: extend console_lock for per-console locking"
        Revert "printk: remove @console_locked"
        Revert "printk: Block console kthreads when direct printing will be required"
        Revert "printk: Wait for the global console lock when the system is going down"
      9d882352
    • Peter Gonda's avatar
      KVM: SEV: Init target VMCBs in sev_migrate_from · 6defa24d
      Peter Gonda authored
      The target VMCBs during an intra-host migration need to correctly setup
      for running SEV and SEV-ES guests. Add sev_init_vmcb() function and make
      sev_es_init_vmcb() static. sev_init_vmcb() uses the now private function
      to init SEV-ES guests VMCBs when needed.
      
      Fixes: 0b020f5a ("KVM: SEV: Add support for SEV-ES intra host migration")
      Fixes: b5663931 ("KVM: SEV: Add support for SEV intra host migration")
      Signed-off-by: default avatarPeter Gonda <pgonda@google.com>
      Cc: Marc Orr <marcorr@google.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Sean Christopherson <seanjc@google.com>
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Cc: kvm@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Message-Id: <20220623173406.744645-1-pgonda@google.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      6defa24d
    • Mingwei Zhang's avatar
      KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user() · ebdec859
      Mingwei Zhang authored
      Adding the accounting flag when allocating pages within the SEV function,
      since these memory pages should belong to individual VM.
      
      No functional change intended.
      Signed-off-by: default avatarMingwei Zhang <mizhang@google.com>
      Message-Id: <20220623171858.2083637-1-mizhang@google.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      ebdec859
    • Dave Airlie's avatar
      Merge tag 'drm-msm-fixes-2022-06-20' of https://gitlab.freedesktop.org/drm/msm into drm-fixes · 1e9124df
      Dave Airlie authored
      Fixes for v5.19-rc4
      
      - Workaround for parade DSI bridge power sequencing
      - Fix for multi-planar YUV format offsets
      - Limiting WB modes to max sspp linewidth
      - Fixing the supported rotations to add 180 back for IGT
      - Fix to handle pm_runtime_get_sync() errors to avoid unclocked access
        in the bind() path for dpu driver
      - Fix the irq_free() without request issue which was a being hit frequently
        in CI.
      - Fix to add minimum ICC vote in the msm_mdss pm_resume path to address
        bootup splats
      - Fix to avoid dereferencing without checking in WB encoder
      - Fix to avoid crash during suspend in DP driver by ensuring interrupt
        mask bits are updated
      - Remove unused code from dpu_encoder_virt_atomic_check()
      - Fix to remove redundant init of dsc variable
      - Fix to ensure mmap offset is initialized to avoid memory corruption
        from unpin/evict
      - Fix double runpm disable in probe-defer path
      - VMA fenced-unpin fixes
      - Fix for WB max-width
      - Fix for rare dp resolution change issue
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Rob Clark <robdclark@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGvdsOF1-+WfTWyEyu33XPcvxOCU00G-dz7EF2J+fdyUHg@mail.gmail.com
      1e9124df
  2. 23 Jun, 2022 27 commits