commit | 7e996890b88078011bfb55ce072712d464207dad | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 16 20:23:45 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 08 17:11:57 2019 -0700 |
tree | efe50f3b32fada0819709f90c604a258c7b09e8d | |
parent | 8668b38c1c7720baf76da15a7a7eef43ae0c65a4 [diff] |
sparc/iommu: fix __sbus_iommu_map_page for highmem pages __sbus_iommu_map_page currently assumes all pages are mapped into the kernel direct mapping. Switch to using physical address instead of virtual ones for all the normal mapping operations, and only use the virtual addresses for cache flushing when not operating on a highmem page. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>