Quoting Roland Dreier <rdreier at cisco.com>: > I don't know what the precise ordering requirements > for commands through the UAR are, but you need explicit wmb()s for > __raw_writel() to guarantee order. All writes must be done in-order, same as doorbell. -- Michael S. Tsirkin Staff Engineer, Mellanox Technologies