Re: [PATCH v3 5/5] reset: simple: read back to make sure changes are applied

2017-08-21 Thread Philipp Zabel
Hi Alexandru, On Wed, 2017-08-16 at 14:00 -0700, Alexandru Gagniuc wrote: > > On 08/16/2017 02:47 AM, Philipp Zabel wrote: > > Read back the register after setting or clearing a reset bit to make > > sure that the changes are applied to the reset controller hardware. > > Theoretically, this avoid

Re: [PATCH v3 5/5] reset: simple: read back to make sure changes are applied

2017-08-16 Thread Alexandru Gagniuc
On 08/16/2017 02:47 AM, Philipp Zabel wrote: Read back the register after setting or clearing a reset bit to make sure that the changes are applied to the reset controller hardware. Theoretically, this avoids the write to stay stuck in a store buffer Is there hardware where this has been o

[PATCH v3 5/5] reset: simple: read back to make sure changes are applied

2017-08-16 Thread Philipp Zabel
Read back the register after setting or clearing a reset bit to make sure that the changes are applied to the reset controller hardware. Theoretically, this avoids the write to stay stuck in a store buffer during the delay of an assert-delay-deassert sequence, and makes sure that the reset really i