Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/swiotlb: Fix off by one in determining boundary of which ops …
…to use When we compare the devices DMA mask to the amount of memory we need to make sure we treat the DMA mask as an address boundary. For example if the DMA_MASK(32) and we have 4G of memory we'd incorrectly set the dma ops to swiotlb. We need to add one to the dma mask when we convert it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
- Loading branch information