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

Ramon Fried rfried.dev at gmail.com
Wed Oct 5 04:09:19 CEST 2022


On Fri, Sep 23, 2022 at 12:36 PM Michal Simek <michal.simek at amd.com> wrote:
>
> 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.
>
>
Let's keep it raw.


More information about the U-Boot mailing list