summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>2011-09-20 03:07:24 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-23 10:27:03 +1000
commitd12b524f8b2f4e45cabe8bc1501e8b967d543111 (patch)
treef19127f7d644ed9f009466aad57bceb8e0404f15 /drivers/gpio
parent25c29f9e3242071bca1bee7ad919baf1888ae436 (diff)
downloadtalos-op-linux-d12b524f8b2f4e45cabe8bc1501e8b967d543111.tar.gz
talos-op-linux-d12b524f8b2f4e45cabe8bc1501e8b967d543111.zip
powerpc: Reserve iommu page 0
Some devices have a dma-window that starts at the address 0. This allows DMA addresses to be mapped to this address and returned to drivers as a valid DMA address. Some drivers may not behave well in this case, since the address 0 is considered an error or not allocated. The solution to avoid this kind of error from happening is reserve the page addressed as 0 so it cannot be allocated for a DMA mapping. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud