diff options
author | Lucas Stach <[email protected]> | 2019-08-05 17:51:53 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2019-08-10 19:52:45 +0200 |
commit | d8ad55538abe443919e20e0bb996561bca9cad84 (patch) | |
tree | a61652692adef23d8d1e8c6dafb83cc238039fde /lib/test_overflow.c | |
parent | cf14be0b41c659ede89abef3f7ec0e98e6cfea5b (diff) |
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: b4ebe6063204 (dma-direct: implement complete bus_dma_mask handling)
Signed-off-by: Lucas Stach <[email protected]>
Tested-by: Atish Patra <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions