Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932338Ab2HFSJs (ORCPT ); Mon, 6 Aug 2012 14:09:48 -0400 Received: from mail-qa0-f46.google.com ([209.85.216.46]:59063 "EHLO mail-qa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932247Ab2HFSJr (ORCPT ); Mon, 6 Aug 2012 14:09:47 -0400 MIME-Version: 1.0 In-Reply-To: <20120806154951.GQ16861@opensource.wolfsonmicro.com> References: <20120805230238.GA1663@lizard> <1344207819-3415-4-git-send-email-anton.vorontsov@linaro.org> <20120806154951.GQ16861@opensource.wolfsonmicro.com> From: Matt Sealey Date: Mon, 6 Aug 2012 13:09:26 -0500 Message-ID: Subject: Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls To: Mark Brown Cc: Anton Vorontsov , Russell King , John Stultz , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, Sascha Hauer Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2198 Lines: 52 On Mon, Aug 6, 2012 at 10:49 AM, Mark Brown wrote: > On Mon, Aug 06, 2012 at 10:19:50AM -0500, Matt Sealey wrote: > >> it's not compiled in unless absolutely necessary. However, there was a >> rumble that this code may disappear or be reworked in the future >> making this also quite redundant. Since it's not in the > > There's no point in the FIQ driver if the DMA drivers are supported. http://patchwork.ozlabs.org/patch/128853/ Russell's sage advise; "It's worth pointing out that people end up using FIQs for certain things because the hardware requires you to do it. So if a platform is using them, they're probably not doing it out of choice, but are doing it because it's a baseline requirement to get something working." I don't recall Sascha's response to this, I thought it was on the ML but it may have been in private, but something is broken on the MX27/28 SSI FIFO which means FIQ is the only way to get reliable audio since the DMA unit cannot get accurate alarms (this seems a common bug in Freescale processors :) - I'll let him elaborate since I've never even seen an MX28 let alone booted one, and our MX27 board never got tested without the FIQ code if I recall correctly. So that needs to stay, the issue here is why did nobody catch ssi-fiq.S breaking in testing MX51 Babbage and building a Thumb2 kernel, for example? Why did nobody notice it was building when configuring for MX3/5/6 boards (which do actually have working SSI and DMA, as you assume, and do not need this code, nor build the imx-pcm-dma-fiq part of the driver anyway)? I'm willing to fix all of the above, but if there's an obvious deficiency in testing at some point we need to fix that too.. Of course if Sascha says the fiq dma hack can disappear forever that's absolutely fine, I'm also willing to be the one to delete it... :) -- Matt Sealey Product Development Analyst, Genesi USA, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/