1. 06 Mar, 2024 1 commit
    • Edmund Raile's avatar
      firewire: ohci: prevent leak of left-over IRQ on unbind · 57580166
      Edmund Raile authored
      Commit 5a95f1de ("firewire: ohci: use devres for requested IRQ")
      also removed the call to free_irq() in pci_remove(), leading to a
      leftover irq of devm_request_irq() at pci_disable_msi() in pci_remove()
      when unbinding the driver from the device
      
      remove_proc_entry: removing non-empty directory 'irq/136', leaking at
      least 'firewire_ohci'
      Call Trace:
       ? remove_proc_entry+0x19c/0x1c0
       ? __warn+0x81/0x130
       ? remove_proc_entry+0x19c/0x1c0
       ? report_bug+0x171/0x1a0
       ? console_unlock+0x78/0x120
       ? handle_bug+0x3c/0x80
       ? exc_invalid_op+0x17/0x70
       ? asm_exc_invalid_op+0x1a/0x20
       ? remove_proc_entry+0x19c/0x1c0
       unregister_irq_proc+0xf4/0x120
       free_desc+0x3d/0xe0
       ? kfree+0x29f/0x2f0
       irq_free_descs+0x47/0x70
       msi_domain_free_locked.part.0+0x19d/0x1d0
       msi_domain_free_irqs_all_locked+0x81/0xc0
       pci_free_msi_irqs+0x12/0x40
       pci_disable_msi+0x4c/0x60
       pci_remove+0x9d/0xc0 [firewire_ohci
           01b483699bebf9cb07a3d69df0aa2bee71db1b26]
       pci_device_remove+0x37/0xa0
       device_release_driver_internal+0x19f/0x200
       unbind_store+0xa1/0xb0
      
      remove irq with devm_free_irq() before pci_disable_msi()
      also remove it in fail_msi: of pci_probe() as this would lead to
      an identical leak
      
      Cc: stable@vger.kernel.org
      Fixes: 5a95f1de ("firewire: ohci: use devres for requested IRQ")
      Signed-off-by: default avatarEdmund Raile <edmund.raile@proton.me>
      Link: https://lore.kernel.org/r/20240229144723.13047-2-edmund.raile@proton.meSigned-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      57580166
  2. 03 Mar, 2024 5 commits
    • Linus Torvalds's avatar
      Linux 6.8-rc7 · 90d35da6
      Linus Torvalds authored
      90d35da6
    • Linus Torvalds's avatar
      Merge tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · 58c806d8
      Linus Torvalds authored
      Pull phy fixes from Vinod Koul:
      
        - qcom: m31 pointer err fix, eusb2 fix redundant zero-out loop and v3
          offset fix on qmp-usb
      
        - freescale: fix for dphy alias
      
      * tag 'phy-fixes2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy:
        phy: qcom-qmp-usb: fix v3 offsets data
        phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop
        phy: qcom: phy-qcom-m31: fix wrong pointer pass to PTR_ERR()
        phy: freescale: phy-fsl-imx8-mipi-dphy: Fix alias name to use dashes
      58c806d8
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · d57dd2d2
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
      
       - dw-edma fixes to improve driver and remote HDMA setup
      
       - fsl-edma fixes for SoC hange, irq init and byte calculations and
         sparse fixes
      
       - idxd: safe user copy of completion record fix
      
       - ptdma: consistent DMA mask fix
      
      * tag 'dmaengine-fix2-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine:
        dmaengine: ptdma: use consistent DMA masks
        dmaengine: fsl-qdma: add __iomem and struct in union to fix sparse warning
        dmaengine: idxd: Ensure safe user copy of completion record
        dmaengine: fsl-edma: correct max_segment_size setting
        dmaengine: idxd: Remove shadow Event Log head stored in idxd
        dmaengine: fsl-edma: correct calculation of 'nbytes' in multi-fifo scenario
        dmaengine: fsl-qdma: init irq after reg initialization
        dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
        dmaengine: dw-edma: eDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: HDMA: Add sync read before starting the DMA transfer in remote setup
        dmaengine: dw-edma: Add HDMA remote interrupt configuration
        dmaengine: dw-edma: HDMA_V0_REMOTEL_STOP_INT_EN typo fix
        dmaengine: dw-edma: Fix wrong interrupt bit set for HDMA
        dmaengine: dw-edma: Fix the ch_count hdma callback
      d57dd2d2
    • Linus Torvalds's avatar
      Merge tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · e4f79000
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Fix IOMMU table initialisation when doing kdump over SR-IOV
      
       - Fix incorrect RTAS function name for resetting TCE tables
      
       - Fix fpu_signal selftest failures since a recent change
      
      Thanks to Gaurav Batra and Nathan Lynch.
      
      * tag 'powerpc-6.8-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        selftests/powerpc: Fix fpu_signal failures
        powerpc/rtas: use correct function name for resetting TCE tables
        powerpc/pseries/iommu: IOMMU table is not initialized for kdump over SR-IOV
      e4f79000
    • Linus Torvalds's avatar
      Merge tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 73d35f83
      Linus Torvalds authored
      Pull x86 fixes from Borislav Petkov:
      
       - Do not reserve SETUP_RNG_SEED setup data in the e820 map as it should
         be used by kexec only
      
       - Make sure MKTME feature detection happens at an earlier time in the
         boot process so that the physical address size supported by the CPU
         is properly corrected and MTRR masks are programmed properly, leading
         to TDX systems booting without disable_mtrr_cleanup on the cmdline
      
       - Make sure the different address sizes supported by the CPU are read
         out as early as possible
      
      * tag 'x86_urgent_for_v6.8_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/e820: Don't reserve SETUP_RNG_SEED in e820
        x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
        x86/cpu: Allow reducing x86_phys_bits during early_identify_cpu()
      73d35f83
  3. 02 Mar, 2024 8 commits
  4. 01 Mar, 2024 26 commits