1. 11 3月, 2008 2 次提交
  2. 05 3月, 2008 1 次提交
    • J
      PCI: Add DECLARE_PCI_DEVICE_TABLE macro · 90a1ba0c
      Jonas Bonn 提交于
      The definitions of struct pci_device_id arrays should generally follow
      the same pattern across the entire kernel.  This macro defines this
      array as const and puts it into the __devinitconst section.
      
      There are currently many definitions scattered about the kernel that
      omit the __devinitdata modifier despite the documentation stating that
      it should always be there.  These definitions really also should have
      been const, which wasn't possible before but has become so with the
      addition of the __devinitconst attribute.
      
      Furthermore, there are definitions that use "const" and __devinitdata,
      which is explicitly wrong but the compiler doesn't catch section
      mismatches if there's only one such one case in the module (which is
      often the case).
      
      Adding the __devinitconst modifier where there was nothing before buys
      us memory.  Adding the const modifier gives the compiler a chance to do
      its thing.  Changing __devinitdata to __devinitconst where it was wrong
      actually fixes some compiler errors in older (mid-release) kernels that
      were patched over by "removing" the section attribute altogether (which
      wastes memory).
      
      This macro makes it pretty difficult to get this definition wrong in
      the future...
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      90a1ba0c
  3. 11 2月, 2008 1 次提交
  4. 06 2月, 2008 2 次提交
  5. 03 2月, 2008 1 次提交
  6. 02 2月, 2008 11 次提交
  7. 29 1月, 2008 1 次提交
  8. 06 11月, 2007 3 次提交
  9. 22 10月, 2007 1 次提交
    • K
      Intel IOMMU: PCI generic helper function · 994a65e2
      Keshavamurthy, Anil S 提交于
      When devices are under a p2p bridge, upstream transactions get replaced by the
      device id of the bridge as it owns the PCIE transaction.  Hence its necessary
      to setup translations on behalf of the bridge as well.  Due to this limitation
      all devices under a p2p share the same domain in a DMAR.
      
      We just cache the type of device, if its a native PCIe device
      or not for later use.
      
      [akpm@linux-foundation.org: BUG_ON -> WARN_ON+recover]
      Signed-off-by: NAnil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Muli Ben-Yehuda <muli@il.ibm.com>
      Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
      Cc: Arjan van de Ven <arjan@infradead.org>
      Cc: Ashok Raj <ashok.raj@intel.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Christoph Lameter <clameter@sgi.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      994a65e2
  10. 13 10月, 2007 1 次提交
  11. 23 8月, 2007 2 次提交
  12. 01 8月, 2007 1 次提交
  13. 25 7月, 2007 1 次提交
  14. 17 7月, 2007 1 次提交
  15. 12 7月, 2007 8 次提交
  16. 10 7月, 2007 1 次提交
  17. 02 7月, 2007 1 次提交
  18. 03 5月, 2007 1 次提交