mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/9] firewire: ohci: adoption of device managed resource
@ 2023-06-04  5:44 Takashi Sakamoto
  2023-06-04  5:44 ` [PATCH 1/9] firewire: ohci: use devres for memory object of ohci structure Takashi Sakamoto
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Takashi Sakamoto @ 2023-06-04  5:44 UTC (permalink / raw)
  To: linux1394-devel, linux-kernel

Hi,

Linux FireWire subsystem includes a driver (firewire-ohci) for 1394 OHCI
controller. The code of driver is mostly written at the time when device
managed resource (devres) was not widely used. Nowadays the usage of
devres is standard when writing drivers. The series is an adoption of
devres for firewire-ohci.

I note that MSI-related operation is left as is. The hardware vendors
forms their products of extension card with 1394 OHCI controller
connected to PCIe bus by several ways. If chip of 1394 OHCI controller has
PCIe interface (e.g. VIA VT6315, LSI FW643), it is just connected to PCIe
bus. If the chip has PCI interface only, it is connected to PCIe bus via
PCI/PCIe bridge chip (e.g. VIA VT6307 + asmedia ASM1083). There is some
chip of 1394 OHCI controller integrated with the bus bridge (e.g. TI
XIO2213, XIO2221). The MSI-related operation should cover the above
forms as well as module option, while it is still unclear that the
operation from pci device driver to the bus bridge.

Takashi Sakamoto (9):
  firewire: ohci: use devres for memory object of ohci structure
  firewire: ohci: use devres for PCI-related resources
  firewire: ohci: use devres for MMIO region mapping
  firewire: ohci: use devres for misc DMA buffer
  firewire: ohci: use devres for requested IRQ
  firewire: ohci: use devres for list of isochronous contexts
  firewire: ohci: use devres for IT, IR, AT/receive, and AT/request
    contexts
  firewire: ohci: use devres for content of configuration ROM
  firewire: ohci: release buffer for AR req/resp contexts when managed
    resource is released

 drivers/firewire/ohci.c | 174 +++++++++++++++-------------------------
 1 file changed, 63 insertions(+), 111 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-06-05 22:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-04  5:44 [PATCH 0/9] firewire: ohci: adoption of device managed resource Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 1/9] firewire: ohci: use devres for memory object of ohci structure Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 2/9] firewire: ohci: use devres for PCI-related resources Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 3/9] firewire: ohci: use devres for MMIO region mapping Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 4/9] firewire: ohci: use devres for misc DMA buffer Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 5/9] firewire: ohci: use devres for requested IRQ Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 6/9] firewire: ohci: use devres for list of isochronous contexts Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 7/9] firewire: ohci: use devres for IT, IR, AT/receive, and AT/request contexts Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 8/9] firewire: ohci: use devres for content of configuration ROM Takashi Sakamoto
2023-06-04  5:44 ` [PATCH 9/9] firewire: ohci: release buffer for AR req/resp contexts when managed resource is released Takashi Sakamoto
2023-06-05 22:56 ` [PATCH 0/9] firewire: ohci: adoption of device managed resource Takashi Sakamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®