From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent Date: Tue, 22 Apr 2014 17:01:03 +0100 Message-ID: <20140422160103.GG10224@arm.com> References: <1397917972-6293-1-git-send-email-santosh.shilimkar@ti.com> <20140419182528.414b9b2e@skate> <201404221702.19842.arnd@arndb.de> <20140422152529.GE10224@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: Arnd Bergmann , Thomas Petazzoni , Santosh Shilimkar , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Grygorii Strashko , Russell King , Greg Kroah-Hartman , Linus Walleij , "grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , Rob Herring , Olof Johansson , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Gregory =?iso-8859-1?Q?Cl=E9ment?= , Ezequiel Garcia , Lior Amsalem , Tawfik Bayouk List-Id: devicetree@vger.kernel.org On Tue, Apr 22, 2014 at 04:30:36PM +0100, Rob Herring wrote: > On Tue, Apr 22, 2014 at 10:25 AM, Catalin Marinas > wrote: > > On Tue, Apr 22, 2014 at 04:02:19PM +0100, Arnd Bergmann wrote: > >> On Saturday 19 April 2014, Thomas Petazzoni wrote: > > [...] > > >> I would hope we can find a way to avoid the platform notifiers for > >> mvebu as well and come up with a generic way to express this > >> 'semi-coherent' mode. I believe x-gene has a similar issue, and > >> I wouldn't be surprised if there are others like this. > > > > The solution is for the snooping unit to detect the DSB instruction > > (which is propagated outside the CPU) and wait for the completion of the > > coherency work (but we need more information from the hardware guys). > > If the solution was fixing broken h/w, we'd all be retired (or h/w > designers). :) At least they could admit it's a hardware bug and hopefully won't do the same mistake in the future (wishful thinking ;)). -- Catalin -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html