Re: PCI bridges & interrupts

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 09/25/03

  • Next message: Mohamed Shahil Mooradun: "installation panic"
    Date: Thu, 25 Sep 2003 15:09:35 -0400 (EDT)
    To: Bernd Walter <ticso@cicely12.cicely.de>
    
    

    On 25-Sep-2003 Bernd Walter wrote:
    > On Wed, Sep 24, 2003 at 06:17:43PM -0400, John Baldwin wrote:
    >>
    >> On 24-Sep-2003 M. Warner Losh wrote:
    >> > You might want to make sure that you have an up to date stable. There
    >> > was a fix to the PCI bridge interrupt swizzle.
    >>
    >> Ah yes, that's true. However, it doesn't seem that his interrupt is
    >> being routed, but I could be wrong. Also, there is another bug in the
    >> $PIR handling that I committed at BSDCon that also might fix the
    >> problem.
    >
    > Is your $PIR fix for the everthing gets IRQ4 case?

    Well, when using 'pci_cfgintr_linked' we would get things wrong.

    > lcvs diff -u -kk -r1.104 -r1.105 pci_cfgreg.c
    Index: pci_cfgreg.c
    ===================================================================
    RCS file: /usr/cvs/src/sys/i386/pci/pci_cfgreg.c,v
    retrieving revision 1.104
    retrieving revision 1.105
    diff -u -r1.104 -r1.105
    --- pci_cfgreg.c 2 Aug 2003 05:14:17 -0000 1.104
    +++ pci_cfgreg.c 10 Sep 2003 06:00:53 -0000 1.105
    @@ -445,7 +445,7 @@
                             * table entry
                             */
                            irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device,
    - j, pin);
    + j + 1, pin);
                            if (irq != PCI_INVALID_IRQ)
                                    return(irq);
                    }

    -- 
    John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
    "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Mohamed Shahil Mooradun: "installation panic"

    Relevant Pages

    • Re: [PATCH][2.6] Hotplug cpu: Fix APIC queued timer vector race
      ... On Sun, 22 Aug 2004, Rusty Russell wrote: ... >> Some timer interrupt vectors were queued on the Local APIC and were being ... >> interrupt load with higher priority vectors queued. ... retrieving revision 1.1.1.1 ...
      (Linux-Kernel)
    • Re: [PATCH] Hotplug CPU toy for i386
      ... We could setup an offline cpu idt with nop type interrupt stubs, ... retrieving revision 1.2 ... +#ifdef CONFIG_HOTPLUG_CPU ...
      (Linux-Kernel)
    • Re: Losing interrupts
      ... >> Lee Revel, could you please sent me the changes you made for measuring ... > the time the last interrupt occurred, and the time elapsed between the ... > retrieving revision 1.43 ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)