From patchwork Mon May 11 10:49:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Mundt X-Patchwork-Id: 22931 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4BAtUSx022559 for ; Mon, 11 May 2009 10:55:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754533AbZEKKym (ORCPT ); Mon, 11 May 2009 06:54:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754308AbZEKKym (ORCPT ); Mon, 11 May 2009 06:54:42 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:50373 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbZEKKym (ORCPT ); Mon, 11 May 2009 06:54:42 -0400 Received: from localhost (unknown [127.0.0.1]) by master.linux-sh.org (Postfix) with ESMTP id C9FF263754; Mon, 11 May 2009 10:49:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at linux-sh.org Received: from master.linux-sh.org ([127.0.0.1]) by localhost (master.linux-sh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zeqDBky9EyLW; Mon, 11 May 2009 19:49:04 +0900 (JST) Received: by master.linux-sh.org (Postfix, from userid 500) id 849CD63758; Mon, 11 May 2009 19:49:04 +0900 (JST) Date: Mon, 11 May 2009 19:49:04 +0900 From: Paul Mundt To: Manuel Lauss Cc: Magnus Damm , linux-sh@vger.kernel.org Subject: Re: [PATCH] sh: multiple vectors per irq - sh7760 Message-ID: <20090511104904.GA12104@linux-sh.org> Mail-Followup-To: Paul Mundt , Manuel Lauss , Magnus Damm , linux-sh@vger.kernel.org References: <20090511090108.32745.14458.sendpatchset@rx1.opensource.se> <20090511094448.GB25527@roarinelk.homelinux.net> <20090511101517.GA25889@roarinelk.homelinux.net> <20090511105143.GB25889@roarinelk.homelinux.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20090511105143.GB25889@roarinelk.homelinux.net> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org On Mon, May 11, 2009 at 12:51:43PM +0200, Manuel Lauss wrote: > On Mon, May 11, 2009 at 07:32:03PM +0900, Magnus Damm wrote: > > So with this patch all DMA channels must use a single linux interrupt. > > Requesting interrupt 34 should be ok in this case (the first DMAC > > vector with value 0x640) but all other interrupt sources are disabled. > > Interrupt 34 becomes a shared interrupt. We did similar changes for a > > bunch of other processor models earlier this year, but we somehow > > missed sh7760 then. Or ignored may be a better word, this since > > there's no sh7760 hardware on my desk. =) > > Disabling DMAC solves this. The TMU patch also seems to work fine. > > > > If you have a little time to spend on this, then feel free to test by > > #ifdefing out various INTC_VECT() to check which vector that makes the > > boot fail. A good start may be to disable all DMA users and see if > > that helps. > > I'll try to figure it out if I can find some more free time. > Try with this: --- -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/sh/drivers/dma/Kconfig b/arch/sh/drivers/dma/Kconfig index 666713a..63e9dd3 100644 --- a/arch/sh/drivers/dma/Kconfig +++ b/arch/sh/drivers/dma/Kconfig @@ -16,7 +16,8 @@ config SH_DMA_IRQ_MULTI CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \ CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \ CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \ - CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 + CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ + CPU_SUBTYPE_SH7760 config NR_ONCHIP_DMA_CHANNELS int