Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754493AbXIAJgQ (ORCPT ); Sat, 1 Sep 2007 05:36:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751859AbXIAJgB (ORCPT ); Sat, 1 Sep 2007 05:36:01 -0400 Received: from mk-filter-2-a-1.mail.uk.tiscali.com ([212.74.100.53]:55553 "EHLO mk-filter-2-a-4.mail.uk.tiscali.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751552AbXIAJgA (ORCPT ); Sat, 1 Sep 2007 05:36:00 -0400 X-Trace: 608074144-mk-filter-2.mail.uk.tiscali.com-B2C-$THROTTLED-DYNAMIC-CUSTOMER-DYNAMIC-IP X-SBRS: None X-RemoteIP: 81.1.76.128 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAOfO2EZRAUyA/2dsb2JhbACBVw Subject: Re: [PATCH] Patch pvr2 driver to allow development of maple bus driver From: Adrian McMenamin To: Mike Frysinger Cc: linuxsh-dev@lists.sourceforge.net, Adrian McMenamin , Paul Mundt , linux-kernel@vger.kernel.org, Mike Frysinger In-Reply-To: <200708312302.46542.vapier@gentoo.org> References: <8b67d60708311300k3ea67eadod531752cca253bbc@mail.gmail.com> <8bd0f97a0708311312n78f1c163o20aa17214bfe3702@mail.gmail.com> <8b67d60708311314p39c7be30v630e97189d656abf@mail.gmail.com> <200708312302.46542.vapier@gentoo.org> Content-Type: text/plain Date: Sat, 01 Sep 2007 10:35:27 +0100 Message-Id: <1188639327.5992.3.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1028 Lines: 21 On Fri, 2007-08-31 at 23:02 -0400, Mike Frysinger wrote: > i really dont know how the maple bus works or what piece of hardware is wired > up to the same interrupt line. my point is that if the other device fires an > interrupt, the pvr interrupt handler may be executed and attempt to do work > when in reality the pvr was not the source of the interrupt. > -mike The interrupt is *always* fired by the PVR - it is the VBLANK - ie essentially screen refresh. It is *never* generated by the maple bus. However, the maple bus is/can be hardware synced - which means once that setting is made then the hardware will *always* be polled on the VBLANK. In other words there is no need to check which device is interrupt is for, because it is *always* going to be for both of them. - 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/