summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorOded Gabbay2019-05-31 17:25:20 +0200
committerOded Gabbay2019-05-31 17:25:20 +0200
commit747bf88c61772ec1e670ee04f4db6af15398c2ef (patch)
tree3e80ab5855fcd6773e0d14fd05e3c246379b82ba /Documentation/ABI
parenthabanalabs: remove DMA mask hack for Goya (diff)
downloadkernel-qcow2-linux-747bf88c61772ec1e670ee04f4db6af15398c2ef.tar.gz
kernel-qcow2-linux-747bf88c61772ec1e670ee04f4db6af15398c2ef.tar.xz
kernel-qcow2-linux-747bf88c61772ec1e670ee04f4db6af15398c2ef.zip
habanalabs: add WARN in case of bad MMU mapping
This patch checks if an MMU mapping is erroneous in that the physical address that is being mapped is NOT divisible by the page size. If that thing happens, then the H/W will issue a transaction which will be translated to a wrong address, because part of the address will not be taken (the remainder of address/page size). Because the physical address is being handled by the driver, a WARN is suitable here as it implies a bug in the driver code itself and not a user bug. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions