Home
last modified time | relevance | path

Searched hist:"34 dc0ea6bc960f1f57b2148f01a3f4da23f87013" (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/arch/ia64/kernel/
H A Ddma-mapping.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/mips/mm/
H A Ddma-noncoherent.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/kernel/dma/
H A Dremap.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
H A Dmapping.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
H A Ddirect.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/include/linux/
H A Ddma-direct.hdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/microblaze/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/arc/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/powerpc/platforms/
H A DKconfig.cputypediff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/ia64/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.cdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/arm64/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/mips/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
/openbmc/linux/arch/arm/
H A DKconfigdiff 34dc0ea6bc960f1f57b2148f01a3f4da23f87013 Tue Oct 29 05:01:37 CDT 2019 Christoph Hellwig <hch@lst.de> dma-direct: provide mmap and get_sgtable method overrides

For dma-direct we know that the DMA address is an encoding of the
physical address that we can trivially decode. Use that fact to
provide implementations that do not need the arch_dma_coherent_to_pfn
architecture hook. Note that we still can only support mmap of
non-coherent memory only if the architecture provides a way to set an
uncached bit in the page tables. This must be true for architectures
that use the generic remap helpers, but other architectures can also
manually select it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>