Skip to content
Commit d8ad5553 authored by Lucas Stach's avatar Lucas Stach Committed by Christoph Hellwig
Browse files

dma-direct: don't truncate dma_required_mask to bus addressing capabilities



The dma required_mask needs to reflect the actual addressing capabilities
needed to handle the whole system RAM. When truncated down to the bus
addressing capabilities dma_addressing_limited() will incorrectly signal
no limitations for devices which are restricted by the bus_dma_mask.

Fixes: b4ebe606 (dma-direct: implement complete bus_dma_mask handling)
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarAtish Patra <atish.patra@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent cf14be0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment