2024-03-09 04:01:58

by Takashi Sakamoto

[permalink] [raw]
Subject: [GIT PULL] firewire fixes for v6.8-final

Hi Linus,

Please accept this PR to your tree. It includes a bug fix relevant to an
allocated IRQ in PCI driver for 1394 OHCI hardware. The bug appears in
kernel v6.5 or later, therefore I expect the maintainers to apply the
fix to stable and longterm kernels as well.


The following changes since commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72:

Linux 6.8-rc7 (2024-03-03 13:02:52 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-fixes-6.8-final

for you to fetch changes up to 575801663c7dc38f826212b39e3b91a4a8661c33:

firewire: ohci: prevent leak of left-over IRQ on unbind (2024-03-06 22:35:22 +0900)

----------------------------------------------------------------
firewire-fixes-6.8-final

A fix to suppress warning about unreleased IRQ for 1394 OHCI hardware when
disabling MSI

In Linux kernel v6.5, a PCI driver for 1394 OHCI hardware was optimized
into the managed device resources. Edmund Raile points out that the change
brings the warning about unreleased IRQ at the call of pci_disable_msi(),
since the API expects that the relevant IRQ has already been released in
advance.

As long as the API is called in .remove callback of PCI device operation,
it is prohibited to maintain the IRQ as the part of managed device
resource. As a workaround, the IRQ is explicitly released at .remove
callback, before the call of pci_disable_msi().

The pci_disable_msi() is legacy API nowadays in PCI MSI implementation. I
have a plan to replace it with the modern API in the development for the
future version of Linux kernel. So at present I keep them as is.

----------------------------------------------------------------
Edmund Raile (1):
firewire: ohci: prevent leak of left-over IRQ on unbind

drivers/firewire/ohci.c | 2 ++
1 file changed, 2 insertions(+)


Thanks

Takashi Sakamoto


2024-03-09 18:35:17

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] firewire fixes for v6.8-final

The pull request you sent on Sat, 9 Mar 2024 13:01:42 +0900:

> git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git tags/firewire-fixes-6.8-final

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/66695e7d94fc499f26411044e07cc1386e4f3aa7

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html