Re: [PATCH 4/7] em: Improve access logic for software flag

2018-04-22 Thread Stefan Fritsch
Sorry for the late response. On Tue, 10 Apr 2018, Jonathan Gray wrote: > On Thu, Apr 05, 2018 at 09:57:20PM +0200, Stefan Fritsch wrote: > > Some em chips have a semaphore ("software flag") to synchronize access > > to certain registers between OS and firmware (ME/AMT). > > > > Make the logic

Re: [PATCH 4/7] em: Improve access logic for software flag

2018-04-09 Thread Jonathan Gray
On Thu, Apr 05, 2018 at 09:57:20PM +0200, Stefan Fritsch wrote: > Some em chips have a semaphore ("software flag") to synchronize access > to certain registers between OS and firmware (ME/AMT). > > Make the logic to get the flag match the logic in freebsd. This includes > higher timeouts and

[PATCH 4/7] em: Improve access logic for software flag

2018-04-05 Thread Stefan Fritsch
Some em chips have a semaphore ("software flag") to synchronize access to certain registers between OS and firmware (ME/AMT). Make the logic to get the flag match the logic in freebsd. This includes higher timeouts and waiting for a previous unlock to complete before trying a lock again. ---