lkml.org 
[lkml]   [2021]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 0/4] char: xillybus: Remove usage of the deprecated 'pci-dma-compat.h' API
On 27/08/21 20:17, Christophe JAILLET wrote:
> In [1], Christoph Hellwig has proposed to remove the wrappers in
> include/linux/pci-dma-compat.h.
>
Xillybus' driver is an example for why this is a good idea. But has this
been decided upon? Are we sure that there isn't a single platform where
the DMA mapping for PCI is different from non-PCI, and that such
platform will never be?

If so, is there any reference to that decision?

I think the best way is to put a comment at the top of pci-dma-compat.h
saying that the functions in that header file are deprecated and will go
away soon. That would, more than anything else, convince people like me
to get rid of those PCI-DMA function calls.

The bonus is that the discussion on the patch inserting that comment,
along with the decision to apply or reject it, will become the
authoritative word on this matter.

Thanks,
Eli

\
 
 \ /
  Last update: 2021-08-28 17:07    [W:0.084 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site