Shared interrupts XScale

From: bytekeeper (ov_at_KARO-electronics.de)
Date: 12/07/04


Date: Tue, 7 Dec 2004 14:30:28 +0100

Hi.

Since I can't find any simple solution under WinCE to use edge driven
interupts in the
GPIO2_XXX range, I'm going to move to shared interrupts. I hope this will
help to
catch all GPIO2_XXX interrupts without of missing edges (as adviced some MS
guys here).

Ok. The majority of drivers from the PUBLIC/COMMON/OAK/DRIVERS/ do not have
support for interrupt sharing: starting with VMINI and finishing with
different MDDs!!!
THEY DO NOT SUPPORT INTERRUPT SHARING!!!
They just use simple InterruptInitialize(SYSINTR, event, ...) to attach
interrupts ...
Touch MDD, PC-CARD MDD, SD-CARD MDD, VMINI, ect etc etc - all use
separate interrupt sources.

Ok, the question is: can I copy this drivers to my BSP directory and
modify for using with shared interrupts without to break any licencing?

Also it's absolutely not clear why IST is always implemented in the MDD?
Since interrut handling is "platform dependent" thing, why IST is always
implemented in the MDD (Model Driver) and not in the PDD
(Platfrom Dependent Driver)? Is it any reason for this, may be some
deep idea that I can't get?

Thanks



Relevant Pages

  • Re: High resolution timer on kernel mode
    ... The problem I have is that this driver is ... interrupts then do your work in the interrupt handler ... ... timer all of the time ... ... So for me if the packets are coming in very slowly ... ...
    (microsoft.public.development.device.drivers)
  • [RFC/PATCH] Kdump: Disabling PCI interrupts in capture kernel
    ... In kdump, sometimes, general driver initialization issues seems to be cropping ... devices are sending interrupts while second kernel is booting and drivers are ... not expecting any interrupts yet. ... we need something generic which disables interrupt generation from device ...
    (Linux-Kernel)
  • Re: Handling PCI interrupts
    ... That makes sense but it also means the 'software interrupts' only occur on ... Your driver will probably be in a stack of its own. ... The DSP has standard PCI interrupts, but in addition ... driver by flipping bits in a separate register. ...
    (microsoft.public.development.device.drivers)
  • [PATCH] Removal of the deprecated cli() sti() functions.
    ... info on Computone Intelliport II/Plus Multiport Serial Driver. ... -handlers via a cli(), but from now on other, more lightweight methods ... -drivers that want to disable local interrupts (interrupts on the ... -(local_irq_save can save both irqs on and irqs off state, ...
    (Linux-Kernel)
  • Re: [PATCH 2/4 v4] i.MX31: Image Processing Unit DMA and IRQ drivers
    ... Asynchronous Display Controller, Image Converter, Post-Filter ... This driver serves IDMAC and IG. ... they also must specify which channels they ... My concern is that of these 137 interrupts only 7 are ...
    (Linux-Kernel)