12 Oct, 2010

1 commit


09 Nov, 2006

2 commits

  • This patch adds a variant of ht_create_irq __ht_create_irq that takes an
    aditional parameter update that is a function that is called whenever we want
    to write to a drivers htirq configuration registers.

    This is needed to support the ipath_iba6110 because it's registers in the
    proper location are not actually conected to the hardware that controlls
    interrupt delivery.

    [bos@serpentine.com: fixes]
    Signed-off-by: Eric W. Biederman
    Cc: Andi Kleen
    Cc:
    Cc: Roland Dreier
    Signed-off-by: Bryan O'Sullivan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • This refactoring actually optimizes the code a little by caching the value
    that we think the device is programmed with instead of reading it back from
    the hardware. Which simplifies the code a little and should speed things up a
    bit.

    This patch introduces the concept of a ht_irq_msg and modifies the
    architecture read/write routines to update this code.

    There is a minor consistency fix here as well as x86_64 forgot to initialize
    the htirq as masked.

    Signed-off-by: Eric W. Biederman
    Cc: Andi Kleen
    Acked-by: Bryan O'Sullivan
    Cc:
    Cc: Roland Dreier
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     

04 Oct, 2006

1 commit

  • This moves the declarations for the architecture helpers into
    include/linux/htirq.h from the generic include/linux/pci.h. Hopefully this
    will make this distinction clearer.

    htirq.h is included where it is needed.

    The dependency on the msi code is fixed and removed.

    The Makefile is tidied up.

    Signed-off-by: Eric W. Biederman
    Cc: Ingo Molnar
    Cc: Tony Luck
    Cc: Andi Kleen
    Cc: Thomas Gleixner
    Cc: Greg KH
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric W. Biederman