[openib-general] Race in mthca_cmd_post()
Michael S. Tsirkin
mst at mellanox.co.il
Tue Oct 24 00:33:46 PDT 2006
Quoting r. Jason Gunthorpe <jgunthorpe at obsidianresearch.com>:
> After thinking about it some more, there are more cases in the kernel
> than just the one in mthca. For instance there are paths in the pci
> core than manipulate BAR registers without a barrier. It would be bad
> to change a bar via config write and issue a MMIO operation to the new
> address without waiting for the split to return. I also know of a
> fibre channel chip that has a similar strong requirement of order in
> the reset sequence like mthca.
Interesting. So maybe pci config access commands should include
the barrier instead of sticking these things in mthca?
--
MST
More information about the general
mailing list