1. 02 Jul, 2004 4 commits
    • Linas Vepstas's avatar
      [PATCH] PCI Hotplug: RPAPHP structure size/performance · e1480b69
      Linas Vepstas authored
      Please review and apply the following patch if you find it agreeable.
      
      This patch does not make any functional changes, but does improve
      both performance and memory usage by rearranging structure elements.
      
      The need for these changes became appearent during a code review of
      the disassembly involving this structure. The memory footprint of this
      structure is made smaller by grouping the byte fields next to each other.
      The access of the list_head can be simplified by making it the first element
      of the structure, thus avoiding a needless add-immediate without negatively
      impacting any of the other accesses.
      Signed-off-by: default avatarLinas Vepstas <linas@linas.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      e1480b69
    • Linas Vepstas's avatar
      [PATCH] PCI Hotplug: rpaphp null pointer deref · 1d52fdc0
      Linas Vepstas authored
      This patch fixes a null-pointer dereference when hot-plug operations
      are performed on a machine that has virtual-io devices in it.
      Virtual i/o devices to not have pci bridges associated with them.
      It also corrects an ordering problem during hotplug remove.
      
      This patch was previously reviewed/tested by Linda Xie, the current
      rpaphp maintainer.
      Signed-off-by: default avatarLinas Vepstas <linas@linas.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      1d52fdc0
    • Roland Dreier's avatar
      [PATCH] PCI: Add some PCI Express constants to pci.h · ab4038ad
      Roland Dreier authored
      This patch adds some PCI Express register constants to <linux/pci.h>
      
      For my device, setting the Max_Read_Request_Size value in the PCI
      Express device control register makes a huge performance difference.
      I wanted my driver code that does this to be a little more
      self-documenting than:
      
      	pci_read_config_word(mdev->pdev, cap + 8, &val);
      	val = (val & ~(5 << 12)) | (5 << 12);
      
      I went a little overboard and added all the basic device register
      fields.  If desired I could go even further overboard and add the
      link, slot and root registers as well.
      
      This patch is based on Matthew Wilcox's patch for pciutils, corrected
      for some PCI Express spec 1.0a changes.
      Signed-off-by: default avatarRoland Dreier <roland@topspin.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      ab4038ad
    • Linda Xie's avatar
      [PATCH] PCI: export pci_scan_child_bus for the pci hotplug drivers to use · f423c7aa
      Linda Xie authored
      Signed-off-by: Linda Xie lxie@us.ibm.com
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      f423c7aa
  2. 01 Jul, 2004 12 commits
  3. 30 Jun, 2004 24 commits