]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 20 Jul 2023 11:37:27 +0000 (19:37 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 03:02:32 +0000 (11:02 +0800)
commit309484516576d74e0868ac6399b36e56e9d30a3e
treeb8b56966ecd07e6b65f8bb16a6eb524d21472346
parenta6a0d6a19121c722a263714eae4d511bb2580f3c
net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V

For RISC-V architeture, hardware maintain the dcache coherency.
Software do not flush the cache. So even cache-line size larger
than descriptor size, driver can work.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/net/rtl8169.c