[PATCH 2/3] net: emaclite: fix xemaclite_alignedread/write functions

Michal Simek michal.simek at amd.com
Fri Sep 23 11:36:12 CEST 2022


Hi,

On 9/23/22 11:17, Samuel Obuch wrote:
> Hi, I tested both versions to be sure, but the results are as can be expected:
> 
> 1. both __raw_readl/__raw_writel and readl/writel functions work ok on riscv - 
> only the original nonvolatile accesses were problematic
> 2. the additional barrier in readl/writel functions can introduce noticeable 
> slowdown - e.g. with our setup, download speed over tftp for the same image 
> decreased from 460 KiB/s to 118 KiB/s
> 
> Can we conclude to keep the raw versions in the patch?

I prefer raw versions too.

M


More information about the U-Boot mailing list