Re: Race between MMIO writes and level IRQs

2019-06-06 Thread Russell King - ARM Linux admin
On Thu, Jun 06, 2019 at 11:53:05AM +0200, Marc Gonzalez wrote: > Hello everyone, > > There's something about interrupts I have never quite understood, > which I'd like to clear up once and for all. What I'm about to write > will probably sound trivial to anyone's who's already figured it out, > bu

Re: Race between MMIO writes and level IRQs

2019-06-06 Thread Mark Rutland
On Thu, Jun 06, 2019 at 11:53:05AM +0200, Marc Gonzalez wrote: > Hello everyone, > > There's something about interrupts I have never quite understood, > which I'd like to clear up once and for all. What I'm about to write > will probably sound trivial to anyone's who's already figured it out, > bu

Race between MMIO writes and level IRQs

2019-06-06 Thread Marc Gonzalez
Hello everyone, There's something about interrupts I have never quite understood, which I'd like to clear up once and for all. What I'm about to write will probably sound trivial to anyone's who's already figured it out, but I need to walk through it. Consider a device, living on some peripheral