lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 4 Apr 2010 19:03:09 +0900 From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp> To: vladz@...adcom.com Cc: davem@...emloft.net, fujita.tomonori@....ntt.co.jp, netdev@...r.kernel.org, eilong@...adcom.com Subject: RE: [PATCH] bnx2x: use the dma state API instead of the pci equivalents On Sun, 4 Apr 2010 02:15:52 -0700 "Vladislav Zolotarov" <vladz@...adcom.com> wrote: > According to the changes in a PCI-DMA-mapping.txt it sounds like the > trend is to stop using the pci_dma_* API and start using the dma_* > API instead. Does this mean that using the pci_dma_* API is > deprecated? Sorry that I didn't put the enough information in the patch description. In the long term, I want to remove the pci_dma_* API. We had the various bus-specific DMA API (pci, sbus, etc). It was the headache for driver writers that handle multiple bus devices. So we invented the generic DMA API long ago. Now we have only two bus specific APIs: pci and ssb so I want to remove them and make sure that driver writers are always able to use the generic DMA API with any bus. http://lwn.net/Articles/374137/ I don't plan to convert the whole tree to use the DMA API over the PCI DMA API all together. I convert the drivers gradually. I already removed the PCI DMA API from the docs under Documentation/. It would be nice if some driver maintainers (or others) convert their drivers. The patchset convert only the pci state API (such as DECLARE_PCI_UNMAP_ADDR) because akpm complained of the API and I promised him to clean up it: http://lkml.org/lkml/2010/2/12/415 I'll send a patch if you like me to convert bnx2x to use the the DMA API completely. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists