All of lore.kernel.org
 help / color / mirror / Atom feed
* fixups for the dma_set_mask beahvior change in 5.1
@ 2019-05-21 12:47 ` Christoph Hellwig
  0 siblings, 0 replies; 20+ messages in thread
From: Christoph Hellwig @ 2019-05-21 12:47 UTC (permalink / raw)
  To: iommu, Russell King; +Cc: Marek Szyprowski, Robin Murphy, linux-kernel

Hi all,

in 5.1 I fixed up the DMA mapping API to always accept larger than
required DMA mask.  Except that I forgot about a check in the arm
code that is not required any more, and about the case where a
architecture only supports a 32-bit dma mask, but could potentially
generate large addresses due to offsets for the DMA address.

These two patches should fix up these issues (which were only found by
code inspection).

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

end of thread, other threads:[~2019-06-25  5:55 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 12:47 fixups for the dma_set_mask beahvior change in 5.1 Christoph Hellwig
2019-05-21 12:47 ` Christoph Hellwig
2019-05-21 12:47 ` [PATCH 1/2] dma-mapping: truncate dma masks to what dma_addr_t can hold Christoph Hellwig
2019-05-21 12:47   ` Christoph Hellwig
2019-05-21 13:04   ` Russell King - ARM Linux admin
2019-05-21 13:04     ` Russell King - ARM Linux admin
2019-05-21 13:15     ` Christoph Hellwig
2019-05-21 13:15       ` Christoph Hellwig
2019-05-29 12:22       ` Christoph Hellwig
2019-05-29 12:22         ` Christoph Hellwig
2019-06-14  7:46         ` Christoph Hellwig
2019-06-14  7:46           ` Christoph Hellwig
2019-06-25  5:54           ` Christoph Hellwig
2019-06-25  5:54             ` Christoph Hellwig
2019-05-21 12:47 ` [PATCH 2/2] ARM: dma-mapping: allow larger DMA mask than supported Christoph Hellwig
2019-05-21 12:47   ` Christoph Hellwig
2019-05-21 13:00   ` Russell King - ARM Linux admin
2019-05-21 13:00     ` Russell King - ARM Linux admin
2019-05-21 13:04     ` Christoph Hellwig
2019-05-21 13:04       ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.