Re: Ordering between PCI config space writes and MMIO reads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Matthew Wilcox <matthew@xxxxxx>, John Partridge <johnip@xxxxxxx>
- Subject: Re: Ordering between PCI config space writes and MMIO reads?
- From: Roland Dreier <rdreier@xxxxxxxxx>
- Date: Tue, 31 Oct 2006 14:30:13 -0800
- Authentication-results: sj-dkim-6.cisco.com; header.From=rdreier@xxxxxxxxx; dkim=pass ( sig from cisco.com verified; );
- Cc: "Richard B. Johnson" <jmodem@xxxxxxxxxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, jeff@xxxxxxxxxx, openib-general@xxxxxxxxxx, linux-pci@xxxxxxxxxxxxxxxxxxxxxxxx, David Miller <davem@xxxxxxxxxxxxx>
- In-reply-to: <20061031204717.GG26964@xxxxxxxxxxxxxxxx> (Matthew Wilcox's message of "Tue, 31 Oct 2006 13:47:17 -0700")
- References: <20061024214724.GS25210@xxxxxxxxxxxxxxxx> <adar6wxbcwt.fsf@xxxxxxxxx> <20061024223631.GT25210@xxxxxxxxxxxxxxxx> <20061024.154347.77057163.davem@xxxxxxxxxxxxx> <aday7r4a3d7.fsf@xxxxxxxxx> <adad588tijq.fsf@xxxxxxxxx> <20061031195312.GD5950@xxxxxxxxxxxxxx> <019301c6fd2c$044d7010$0732700a@djlaptop> <20061031204717.GG26964@xxxxxxxxxxxxxxxx>
- User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux)
> I'm beginning to think Michael Tsirkin has the only solution to this
> -- architectures need to check that their hardware blocks until the
> config write completion has occurred (and if not, simulate that it has
> in software).
OK, I guess I'm convinced. The vague language in the base PCI 3.0
spec about "dependencies" made me think that a read of a config
register had to wait until all previous writes to the same register
are done. So I'll drop this patch for now.
John, you'll need to try and come up with a way to solve this in the
Altix implementation of pci_write_config_xxx().
- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]