mirror of https://gitee.com/openkylin/linux.git
747bf88c61
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> |
||
---|---|---|
.. | ||
goya | ||
include | ||
Kconfig | ||
Makefile | ||
asid.c | ||
command_buffer.c | ||
command_submission.c | ||
context.c | ||
debugfs.c | ||
device.c | ||
firmware_if.c | ||
habanalabs.h | ||
habanalabs_drv.c | ||
habanalabs_ioctl.c | ||
hw_queue.c | ||
hwmon.c | ||
irq.c | ||
memory.c | ||
mmu.c | ||
pci.c | ||
sysfs.c |