diff options
author | Omer Shpigelman <oshpigelman@habana.ai> | 2019-03-14 16:54:45 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-03-14 16:54:45 +0200 |
commit | d12a5e2458d49aad2b7d25766794eec95ae8f6f1 (patch) | |
tree | e4875f149c268052985d72e5b4b8b175a46f6189 /drivers/misc/ibmasm | |
parent | f650a95b71026f5940804f273f9c36b60634131f (diff) |
habanalabs: fix mapping with page size bigger than 4KB
This patch fixes the mapping of virtual address to physical addresses on
architectures where PAGE_SIZE is bigger than 4KB.
The break down to the device page size was done only for the virtual
address while it should have been done for the physical address as well.
As a result virtual addresses were mapped to wrong physical address.
The fix is to apply the break down for the physical addresses as well in
order to get correct mappings.
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/ibmasm')
0 files changed, 0 insertions, 0 deletions