Re: [U-Boot] [PATCH 2/3] arm: introduce _relaxed MMIO accessors

2019-02-06 Thread Philipp Tomsich
> On 06.02.2019, at 22:53, André Przywara wrote: > > On 06/02/2019 12:46, Philipp Tomsich wrote: >> On 11.01.2019, at 01:31, Andre Przywara > > wrote: > > Hi, > >>> >>> The normal MMIO accessor macros (readX/writeX) guarantee a strong ordering, >>> even with no

Re: [U-Boot] [PATCH 2/3] arm: introduce _relaxed MMIO accessors

2019-02-06 Thread André Przywara
On 06/02/2019 12:46, Philipp Tomsich wrote: > On 11.01.2019, at 01:31, Andre Przywara wrote: Hi, >> >> The normal MMIO accessor macros (readX/writeX) guarantee a strong ordering, >> even with normal memory accesses [1]. >> For some MMIO operations (framebuffers being a prominent example) this is

Re: [U-Boot] [PATCH 2/3] arm: introduce _relaxed MMIO accessors

2019-02-06 Thread Philipp Tomsich
On 11.01.2019, at 01:31, Andre Przywara wrote: > > The normal MMIO accessor macros (readX/writeX) guarantee a strong ordering, > even with normal memory accesses [1]. > For some MMIO operations (framebuffers being a prominent example) this is > not needed, and the rather costly barrier inserted o

[U-Boot] [PATCH 2/3] arm: introduce _relaxed MMIO accessors

2019-01-10 Thread Andre Przywara
The normal MMIO accessor macros (readX/writeX) guarantee a strong ordering, even with normal memory accesses [1]. For some MMIO operations (framebuffers being a prominent example) this is not needed, and the rather costly barrier inserted on weakly ordered systems like ARM costs some performance. T