Re: [PATCH 2/2] Initial generic hypertransport interrupt support.



Andi Kleen <ak@xxxxxxx> writes:

ebiederm@xxxxxxxxxxxx (Eric W. Biederman) writes:

This patch implements two functions ht_create_irq and ht_destroy_irq
for use by drivers. Several other functions are implemented as helpers
for arch specific irq_chip handlers.

What do you want to use it for? Normally all HT configuration should be handled
by the BIOS and not messed with by the kernel.

I don't believe this is a typical HT configuration as you are thinking of it.

There is a hypertransport capability that implements a rough equivalent
of a per device ioapic. It is quite similar to MSI but with a different
register level interface.

Since native hypertransport devices do not implement a pin emulation mode
as native pci express devices do so if you want an interrupt you must support
the native hypertransport method.

The pathscale ipath-ht400 driver already in the kernel tree uses these
and uses so an ugly hack to make work that broke in the last round of
the msi cleanups. I also know of a driver under development for a
device that uses these as well.

So I want to use this so I can get irqs from native hypertransport
devices.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: /dev/input/mice doesnt work in test9?
    ... specific driver. ... >> If you are using hotplug, both should be loaded by hotplug. ... and modified hotplug package that supports input handlers. ... hotplug initscript emulates plugging in USB mouse) hotplug calls USB agent. ...
    (Linux-Kernel)
  • Re: ipw2100 wireless driver
    ... support wpa yet. ... We're also using the stack for the ipw2200 project (which we hope to get another ... fragments to the driver for transmission. ... handlers for exposing that information. ...
    (Linux-Kernel)
  • Re: nobody cared about IRQ 19 (firewire, on a HP 2510p notebook)
    ... Martin Michlmayr wrote: ... in the kernel config and use the ohci1394 driver instead. ... I tend to believe it is a problem to be addressed in the x86 platform support, not a driver problem. ...
    (Linux-Kernel)
  • Re: [PATCH 2/2] Initial generic hypertransport interrupt support.
    ... for arch specific irq_chip handlers. ... The driver for the card I tested this on isn't yet ready to be merged. ... the only PPCs with HT interrupts that I know are 970 ... home made HT APIC or standard HT APICs in PCI-X/E tunnels. ...
    (Linux-Kernel)