Re: [PATCH 13/16] switchtec_ntb: implement doorbell registers

From: Bjorn Helgaas
Date: Wed Jul 05 2017 - 15:42:35 EST


On Wed, Jun 28, 2017 at 09:26:45PM -0600, Logan Gunthorpe wrote:
> Pretty straightforward implementation of doorbell registers.
> The shift and mask were setup in an earlier patch and this just hooks
> up the approprirate portion of the idb register as the local doorbells
> and the opposite portion of odb as the peer doorbells. The db mask is
> protected by a spinlock to avoid concurrent read-modify-write accesses.

s/approprirate/appropriate/