Skip to content
  1. Sep 20, 2022
  2. Sep 19, 2022
  3. Sep 15, 2022
  4. Sep 14, 2022
  5. Sep 13, 2022
  6. Sep 12, 2022
  7. Sep 11, 2022
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 087aa69a
      Linus Torvalds authored
      Pull arm64 fixes from Will Deacon:
       "Three small arm64 fixes, all related to optional architecture
        extensions: BTI, SME and 52-bit virtual addressing:
      
         - Disable in-kernel BTI when compiling with GCC, as it makes invalid
           assumptions about the distance between functions which has led to
           crashes when calling modules on a CPU with BTI support
      
         - Remove bogus TIF_SME flag management if memory allocation fails in
           the ptrace code
      
         - Fix the resume path when configured for 52-bit virtual addressing"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: mm: fix resume for 52-bit enabled builds
        arm64/ptrace: Don't clear calling process' TIF_SME on OOM
        arm64/bti: Disable in kernel BTI when cross section thunks are broken
      087aa69a
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 6429883a
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Only documentation and DT binding fixes and improvements"
      
      * tag 'i2c-for-6.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        dt-bindings: i2c: renesas,riic: Fix 'unevaluatedProperties' warnings
        docs: i2c: piix4: Fix typos, add markup, drop link
        docs: i2c: i2c-topology: reorder sections more logically
        docs: i2c: i2c-topology: fix incorrect heading
        docs: i2c: i2c-topology: fix typo
      6429883a
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-v6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 2ccd4502
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Intel VT-d fixes from Lu Baolu:
           - Boot kdump kernels with VT-d scalable mode on
           - Calculate the right page table levels
           - Fix two recursive locking issues
           - Fix a lockdep splat issue
      
       - AMD IOMMU fixes:
           - Fix for completion-wait command to use full 64 bits of data
           - Fix PASID related issue where GPU sound devices failed to
             initialize
      
       - Fix for Virtio-IOMMU to report correct caching behavior, needed for
         use with VFIO
      
      * tag 'iommu-fixes-v6.0-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu: Fix false ownership failure on AMD systems with PASID activated
        iommu/vt-d: Fix possible recursive locking in intel_iommu_init()
        iommu/virtio: Fix interaction with VFIO
        iommu/vt-d: Fix lockdep splat due to klist iteration in atomic context
        iommu/vt-d: Fix recursive lock issue in iommu_flush_dev_iotlb()
        iommu/vt-d: Correctly calculate sagaw value of IOMMU
        iommu/vt-d: Fix kdump kernels boot failure with scalable mode
        iommu/amd: use full 64-bit value in build_completion_wait()
      2ccd4502
    • Linus Torvalds's avatar
      Merge tag 'mips-fixes_6.0_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 134984db
      Linus Torvalds authored
      Pull MIPS fixes from Thomas Bogendoerfer:
      
       - fix for loongson32 starup hang
      
       - fix for octeon irq setup problem
      
       - fix compiler warning for new CONFIG option
      
       - switch to SPARSEMEM_EXTREME for all platforms selecting SPARSEMEM
      
      * tag 'mips-fixes_6.0_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        mips: Select SPARSEMEM_EXTREME
        MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
        MIPS: octeon: Get rid of preprocessor directives around RESERVE32
        MIPS: loongson32: ls1c: Fix hang during startup
      134984db
    • Jason Gunthorpe's avatar
      iommu: Fix false ownership failure on AMD systems with PASID activated · 2380f1e8
      Jason Gunthorpe authored
      The AMD IOMMU driver cannot activate PASID mode on a RID without the RID's
      translation being set to IDENTITY. Further it requires changing the RID's
      page table layout from the normal v1 IOMMU_DOMAIN_IDENTITY layout to a
      different v2 layout.
      
      It does this by creating a new iommu_domain, configuring that domain for
      v2 identity operation and then attaching it to the group, from within the
      driver. This logic assumes the group is already set to the IDENTITY domain
      and is being used by the DMA API.
      
      However, since the ownership logic is based on the group's domain pointer
      equaling the default domain to detect DMA API ownership, this causes it to
      look like the group is not attached to the DMA API any more. This blocks
      attaching drivers to any other devices in the group.
      
      In a real system this manifests itself as the HD-audio devices on some AMD
      platforms losing their device drivers.
      
      Work around this unique behavior of the AMD driver by checking for
      equality of IDENTITY domains based on their type, not their pointer
      value. This allows the AMD driver to have two IDENTITY domains for
      internal purposes without breaking the check.
      
      Have the AMD driver properly declare that the special domain it created is
      actually an IDENTITY domain.
      
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: stable@vger.kernel.org
      Fixes: 512881ea
      
       ("bus: platform,amba,fsl-mc,PCI: Add device DMA ownership management")
      Reported-by: default avatarTakashi Iwai <tiwai@suse.de>
      Tested-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Link: https://lore.kernel.org/r/0-v1-ea566e16b06b+811-amd_owner_jgg@nvidia.com
      
      
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      2380f1e8