On Mon, 2008-05-26 at 18:40 -0700, David Miller wrote:Some of them. USB comes to mind. I'd be happy to make it "the rule" and document that MMIO vs. coherent access aren't implicitely ordered. I would still keep them ordered on powerpc for a little while tho until I'm happy enough with driver auditing. But heh, it's you who was telling me that it would be a bad engineering decision and we had to make everybody look like x86 & fully ordered :-) I decided to agree back then and stuck all those nasty heavy barriers in the powerpc variants of readl/writel/... Now, however, that x86 -is- also affected by the problem to some extent (ie. compiler re-ordering, not CPU but similar), this is why I'm asking what's people opinion is. I'm happy to do patches updating memory-barriers.txt and others, and do some driver auditing (though I won't do all of them), if the general opinion is that it's the right direction to go. If not, then shouldn't we remove the existing spurrious wmb/rmb/mb from drivers and slap a "memory" clobber on all archs readl/writel/... ? Cheers, Ben. --
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 014/196] kobject: remove incorrect comment in kobject_rename |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Stephen Rothwell | Re: Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Radu Rendec | htb parallelism on multi-core platforms |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
