diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-16 21:23:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-09 03:11:57 +0300 |
commit | 7e996890b88078011bfb55ce072712d464207dad (patch) | |
tree | efe50f3b32fada0819709f90c604a258c7b09e8d /arch/sparc/net | |
parent | 8668b38c1c7720baf76da15a7a7eef43ae0c65a4 (diff) | |
download | linux-7e996890b88078011bfb55ce072712d464207dad.tar.xz |
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>
Diffstat (limited to 'arch/sparc/net')
0 files changed, 0 insertions, 0 deletions