From: Johannes Berg Date: Wed, 11 Mar 2009 18:13:46 +0100 Subject: [ath9k-devel] [PATCH v5 1/4] ath9k: implement IO serialization In-Reply-To: <20090311160740.GB5669@tesla> References: <1236739953-17701-1-git-send-email-lrodriguez@atheros.com> <1236739953-17701-2-git-send-email-lrodriguez@atheros.com> <1236762611.9658.87.camel@johannes.local> <20090311160740.GB5669@tesla> Message-ID: <1236791626.20266.37.camel@johannes.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, 2009-03-11 at 09:07 -0700, Luis R. Rodriguez wrote: > > This is utterly insane. Just make it _always_ do the spinlock, and get > > rid of the hotplug notifier and all that crap. > > That is certainly an option as well but we would obviously be incurring > the lock on all reads/writes regardless of what bus you use which is > not necessary. We'll review this and determine whether its worth it. Hmm. I really don't understand this at all. Most operations won't be single writes and reads, and if you need multiple like a write+read for indirect register accesses then I'm sure you need to serialise them against each other in some other way too, no? johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090311/e1e4b774/attachment.pgp