lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 08 Aug 2007 15:40:39 -0400 From: Jeff Garzik <jeff@...zik.org> To: Michael Buesch <mb@...sch.de> CC: Roland Dreier <rdreier@...co.com>, Andi Kleen <andi@...stfloor.org>, ggrundstrom@...effect.com, ewg@...ts.openfabrics.org, netdev@...r.kernel.org Subject: Re: [PATCH 2/14] nes: device structures and defines Michael Buesch wrote: > On Wednesday 08 August 2007 18:59:08 Jeff Garzik wrote: >> Michael Buesch wrote: >>> writel doesn't guarantee flushing either. >>> readl does. >> >> Not quite -- there are multiple kinds of flushing. You're thinking >> about flushing across PCI bridges, which is correct, but you also have >> CPU write posting and CPU write ordering and such. >> >> Without taking all that into account, you might be tempted to think that >> __raw_readl() will perform all flushes necessary following a >> __raw_writel() -- but that would be incorrect. > > So, kind of... > Better use writel(swab32(... > unless you like being shot into the foot. Correct. Jeff - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists