android_kernel_xiaomi_sm8350/drivers/serial/cpm_uart
Vitaly Bordug 09b03b6c29 [PATCH] ppc32 CPM_UART: Fixed odd address translations
Current address translation methods can produce wrong results, because
virt_to_bus and vice versa may not produce correct offsets on dma-allocated
memory. The right way is, while tracking both phys and virt address of the
window that has been allocated for boffer descriptors, and use those
numbers to compute the offset and make translation properly.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-04-28 21:11:33 +10:00
..
cpm_uart_core.c [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
cpm_uart_cpm1.c [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
cpm_uart_cpm1.h
cpm_uart_cpm2.c [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
cpm_uart_cpm2.h
cpm_uart.h [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
Makefile