From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse Date: Sun, 14 Aug 2011 12:35:52 +0100 Subject: [PATCH] b43: Mask out unwanted bits of RX slot address In-Reply-To: References: <1311114796.3062.9.camel@shinybook.infradead.org> <1313113295.27274.53.camel@i7.infradead.org> <1313144109.27274.71.camel@i7.infradead.org> Message-ID: <1313321754.28740.2.camel@i7.infradead.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: b43-dev@lists.infradead.org On Sun, 2011-08-14 at 13:17 +0200, Rafa? Mi?ecki wrote: > I wanted to check if firmware ever uses 0x1000 for addressing > purposes. To test that I've increased RX ring size to 257 and waited > for 8 KiB aligned ring address (to avoid copying 0x1000 bit from > address). Erm, if you increase the ring size to 257, don't you have to allocate 8KiB for the ring buffer? If you're still allocating only 4KiB you'll be scribbling off the end of it. And if you allocate 8KiB there'll be no waiting; it'll *always* be aligned to 8KiB. -- dwmw2