)]}'
{
  "log": [
    {
      "commit": "42d7c5e353cef9062129b0de3ec9ddf10567b9ca",
      "tree": "4467abd8266c4ca8830e128dca6e838d912bb6d8",
      "parents": [
        "380d687833aee098c4a2c3b35beaefe1c1f48d01"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:21 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:38 2009 +0200"
      },
      "message": "swiotlb: change swiotlb_bus_to[phys,virt] prototypes\n\nAdd a hwdev argument that is needed on some architectures\nin order to access a per-device offset that is taken into\naccount when producing a physical address (also needed to\nget from bus address to virtual address because the physical\naddress is an intermediate step).\n\nAlso make swiotlb_bus_to_virt weak so architectures can\noverride it.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-8-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "380d687833aee098c4a2c3b35beaefe1c1f48d01",
      "tree": "e021403a737ccd040621a17be9d8e545f8d76ea0",
      "parents": [
        "7fcebbd2d984eac3fdd6da2f4453e7c43d32de89"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:20 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:37 2009 +0200"
      },
      "message": "swiotlb: use swiotlb_sync_single instead of duplicating code\n\nRight now both swiotlb_sync_single_range and swiotlb_sync_sg\nwere duplicating the code in swiotlb_sync_single.  Just call it\ninstead.  Also rearrange the sync_single code for readability.\n\nNote that the swiotlb_sync_sg code was previously doing\na complicated comparison to determine if an addresses needed\nto be unmapped where a simple is_swiotlb_buffer() call\nwould have sufficed.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-7-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "7fcebbd2d984eac3fdd6da2f4453e7c43d32de89",
      "tree": "0ebf481563b44a82688418eb6e607984591b1963",
      "parents": [
        "ef5722f698bde01cfec2b98fff733a48663ebf55"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:19 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:37 2009 +0200"
      },
      "message": "swiotlb: rename unmap_single to do_unmap_single\n\nPreviously, swiotlb_unmap_page and swiotlb_unmap_sg were\nduplicating very similar code.  Refactor that code into a\nnew unmap_single and unmap_single use do_unmap_single.\n\nNote that the swiotlb_unmap_sg code was previously doing\na complicated comparison to determine if an addresses needed\nto be unmapped where a simple is_swiotlb_buffer() call\nwould have sufficed.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-6-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ef5722f698bde01cfec2b98fff733a48663ebf55",
      "tree": "80eba1195866f2643d1343b318d9caa2b81aa347",
      "parents": [
        "dd6b02fe427f30520d0adc94aa52352367227873"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:18 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:36 2009 +0200"
      },
      "message": "swiotlb: allow arch override of address_needs_mapping\n\nSome architectures require additional checking to determine\nif a device can dma to an address and need to provide their\nown address_needs_mapping..\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-5-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "dd6b02fe427f30520d0adc94aa52352367227873",
      "tree": "9b62f386e7d3e58aa45c679823820b0e5c28f31f",
      "parents": [
        "67131ad0514d7105b55003a0506209cf1bba3f00"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:17 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:36 2009 +0200"
      },
      "message": "swiotlb: map_page fix for highmem systems\n\nThe current code calls virt_to_phys() on address that might\nbe in highmem, which is bad.  This wasn\u0027t needed, anyway, because\nwe already have the physical address we need.\n\nGet rid of the now-unused virtual address as well.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-4-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "67131ad0514d7105b55003a0506209cf1bba3f00",
      "tree": "90eae2a0abf10029ec098b068b92db95feba6c50",
      "parents": [
        "ceb5ac3264686e75e6951de6a18d4baa9bdecb92"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:16 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:35 2009 +0200"
      },
      "message": "swiotlb: fix compile warning\n\nSquash a build warning seen on 32-bit powerpc caused by\ncalling min() with 2 different types. Use min_t() instead.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-3-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ceb5ac3264686e75e6951de6a18d4baa9bdecb92",
      "tree": "7e4f70b16dbb548ec8a428a701430da3acd896ec",
      "parents": [
        "577c9c456f0e1371cbade38eaf91ae8e8a308555"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Wed Apr 08 09:09:15 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 08 16:18:35 2009 +0200"
      },
      "message": "swiotlb: comment corrections\n\nImpact: cleanup\n\nswiotlb_map/unmap_single are now swiotlb_map/unmap_page;\ntrivially change all the comments to reference new names.\n\nAlso, there were some comments that should have been\nreferring to just plain old map_single, not swiotlb_map_single;\nfix those as well.\n\nAlso change a use of the word \"pointer\", when what is\nreferred to is actually a dma/physical address.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nAcked-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\nCc: jeremy@goop.org\nCc: ian.campbell@citrix.com\nLKML-Reference: \u003c1239199761-22886-2-git-send-email-galak@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "284901a90a9e0b812ca3f5f852cbbfb60d10249d",
      "tree": "06c1b5a0f83c90cfb662f756e7781977ce739ce8",
      "parents": [
        "6afd142fd0dfba497246d0fab236c20a7b4bf778"
      ],
      "author": {
        "name": "Yang Hongyang",
        "email": "yanghy@cn.fujitsu.com",
        "time": "Mon Apr 06 19:01:15 2009 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Apr 07 08:31:11 2009 -0700"
      },
      "message": "dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)\n\nReplace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)\n\nSigned-off-by: Yang Hongyang\u003cyanghy@cn.fujitsu.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "961d7d0ee5150e0197cc81c2a8884ecb230276e2",
      "tree": "9980af6f35dc7f1cb016e0892b57a4b38e319631",
      "parents": [
        "0b8698ab5847cbe25775083659f00c658a8161c9"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "Ian.Campbell@citrix.com",
        "time": "Fri Jan 09 18:32:10 2009 +0000"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Jan 11 04:54:34 2009 +0100"
      },
      "message": "swiotlb: do not use sg_virt()\n\nScatterlists containing HighMem pages do not have a useful virtual\naddress. Use the physical address instead.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0b8698ab5847cbe25775083659f00c658a8161c9",
      "tree": "045bd39ac0d8c3bdd67d35bb5517f6b885183f57",
      "parents": [
        "0811a433c61e85f895018239c4466a36311cd5de"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "Ian.Campbell@citrix.com",
        "time": "Fri Jan 09 18:32:09 2009 +0000"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Jan 11 04:54:34 2009 +0100"
      },
      "message": "swiotlb: range_needs_mapping should take a physical address.\n\nThe swiotlb_arch_range_needs_mapping() hook should take a physical\naddress rather than a virtual address in order to support highmem pages.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0811a433c61e85f895018239c4466a36311cd5de",
      "tree": "276933e518e5525d24ae37b02df2db9909679260",
      "parents": [
        "c299030765292434b73572f9bcfe84951ff06614",
        "3d14bdad40315b54470cb7812293d14c8af2bf7d"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Jan 11 00:51:06 2009 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Jan 11 00:51:06 2009 +0100"
      },
      "message": "Merge branch \u0027linus\u0027 into core/iommu\n"
    },
    {
      "commit": "f94181da7192f4ed8ccb1b633ea4ce56954df130",
      "tree": "2e28785f2df447573a11fbdd611dc19eb3fcb794",
      "parents": [
        "932adbed6d99cc373fc3433d701b3a594fea872c",
        "fdbc0450df12cc9cb397f3497db4b0cad7c1a8ff"
      ],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Jan 06 17:10:04 2009 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Jan 06 17:10:04 2009 -0800"
      },
      "message": "Merge branch \u0027core-fixes-for-linus\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip\n\n* \u0027core-fixes-for-linus\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:\n  rcu: fix rcutorture bug\n  rcu: eliminate synchronize_rcu_xxx macro\n  rcu: make treercu safe for suspend and resume\n  rcu: fix rcutree grace-period-latency bug on small systems\n  futex: catch certain assymetric (get|put)_futex_key calls\n  futex: make futex_(get|put)_key() calls symmetric\n  locking, percpu counters: introduce separate lock classes\n  swiotlb: clean up EXPORT_SYMBOL usage\n  swiotlb: remove unnecessary declaration\n  swiotlb: replace architecture-specific swiotlb.h with linux/swiotlb.h\n  swiotlb: add support for systems with highmem\n  swiotlb: store phys address in io_tlb_orig_addr array\n  swiotlb: add hwdev to swiotlb_phys_to_bus() / swiotlb_sg_to_bus()\n"
    },
    {
      "commit": "94b324864ef2a8e461f3933ab99638255299e9f0",
      "tree": "ec1283aa0ff00d774284137525cfdd8a458c71d4",
      "parents": [
        "354655ea9714e5b0e8d23c90a5382986815687e0"
      ],
      "author": {
        "name": "Kay Sievers",
        "email": "kay.sievers@vrfy.org",
        "time": "Tue Jan 06 10:44:37 2009 -0800"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Tue Jan 06 10:44:37 2009 -0800"
      },
      "message": "swiotlb: struct device - replace bus_id with dev_name(), dev_set_name()\n\nSigned-off-by: Kay Sievers \u003ckay.sievers@vrfy.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n"
    },
    {
      "commit": "f98eee8ea99fe74ee9c4e867ba178ec3072793be",
      "tree": "67843fb8a25630dfdaaac8471423a9682cb0c390",
      "parents": [
        "160c1d8e40866edfeae7d68816b7005d70acf391"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Jan 05 23:59:03 2009 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Jan 06 14:06:58 2009 +0100"
      },
      "message": "x86, ia64: remove duplicated swiotlb code\n\nThis adds swiotlb_map_page and swiotlb_unmap_page to lib/swiotlb.c and\nremove IA64 and X86\u0027s swiotlb_map_page and swiotlb_unmap_page.\n\nThis also removes unnecessary swiotlb_map_single, swiotlb_map_single_attrs,\nswiotlb_unmap_single and swiotlb_unmap_single_attrs.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Tony Luck \u003ctony.luck@intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "160c1d8e40866edfeae7d68816b7005d70acf391",
      "tree": "37dd78b2ea28a3953a46d401bd9657005eb444d7",
      "parents": [
        "f0402a262e1a4c03fc66b83659823bdcaac3c41a"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Jan 05 23:59:02 2009 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Jan 06 14:06:57 2009 +0100"
      },
      "message": "x86, ia64: convert to use generic dma_map_ops struct\n\nThis converts X86 and IA64 to use include/linux/dma-mapping.h.\n\nIt\u0027s a bit large but pretty boring. The major change for X86 is\nconverting \u0027int dir\u0027 to \u0027enum dma_data_direction dir\u0027 in DMA mapping\noperations. The major changes for IA64 is using map_page and\nunmap_page instead of map_single and unmap_single.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Tony Luck \u003ctony.luck@intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "46483d10e5123d78cf9abf37577aa8e75f18b8a4",
      "tree": "ffb646db8023433588ce87797a9428c90ec118bc",
      "parents": [
        "c59ab97e9ecdee9084d2da09e5a8ceea9a396508",
        "874d6a9555516cbac828131d573ce3d16ce47164"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Jan 05 14:17:24 2009 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Jan 05 14:17:24 2009 +0100"
      },
      "message": "Merge branch \u0027core/iommu\u0027 into core/urgent\n\nConflicts:\n\tlib/swiotlb.c\n"
    },
    {
      "commit": "52942b6b16c6ebb25f4dd4df0208d840ba0cbc5c",
      "tree": "36a2b80f6ab77e53b49c9b454296e39abbbcfedf",
      "parents": [
        "c66b9906f863696159e05890bb7123269bb9a9de"
      ],
      "author": {
        "name": "Jesper Juhl",
        "email": "jj@chaosbits.net",
        "time": "Sat Jan 03 00:16:03 2009 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Jan 04 12:25:16 2009 +0100"
      },
      "message": "swiotlb: Don\u0027t include linux/swiotlb.h twice in lib/swiotlb.c\n\nThere\u0027s no point in including the linux/swiotlb.h header twice in\nlib/swiotlb.c - this patch gets rid of the unneeded include.\n\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "79ff56ebd3edfb16f8badc558cb439b203a3298f",
      "tree": "4d235b9c173f7593ff240930478c987ec3c90bef",
      "parents": [
        "b840d79631c882786925303c2b0f4fefc31845ed"
      ],
      "author": {
        "name": "Roland Dreier",
        "email": "rdreier@cisco.com",
        "time": "Tue Dec 30 20:18:00 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Jan 02 21:52:39 2009 +0100"
      },
      "message": "swiotlb: add missing __init annotations\n\nImpact: cleanup, reduce kernel size a bit\n\nThe current kernel build warns:\n\n    WARNING: vmlinux.o(.text+0x11458): Section mismatch in reference from the function swiotlb_alloc_boot() to the function .init.text:__alloc_bootmem_low()\n    The function swiotlb_alloc_boot() references\n    the function __init __alloc_bootmem_low().\n    This is often because swiotlb_alloc_boot lacks a __init\n    annotation or the annotation of __alloc_bootmem_low is wrong.\n\n    WARNING: vmlinux.o(.text+0x1011f2): Section mismatch in reference from the function swiotlb_late_init_with_default_size() to the function .init.text:__alloc_bootmem_low()\n    The function swiotlb_late_init_with_default_size() references\n    the function __init __alloc_bootmem_low().\n    This is often because swiotlb_late_init_with_default_size lacks a __init\n    annotation or the annotation of __alloc_bootmem_low is wrong.\n\nand indeed the functions calling __alloc_bootmem_low() can be marked\n__init as well.\n\nSigned-off-by: Roland Dreier \u003crolandd@cisco.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "874d6a9555516cbac828131d573ce3d16ce47164",
      "tree": "c902d40ef400cb84dcc246b5c82ebec7d2a4c6dc",
      "parents": [
        "ac86ccc637458dea53077823f98bc3e1b874d478"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Sun Dec 28 15:02:07 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 28 10:04:01 2008 +0100"
      },
      "message": "swiotlb: clean up EXPORT_SYMBOL usage\n\nImpact: cleanup\n\nswiotlb uses EXPORT_SYMBOL in an inconsistent way. Some functions use\nEXPORT_SYMBOL at the end of functions. Some use it at the end of\nswiotlb.c.\n\nThis cleans up swiotlb to use EXPORT_SYMBOL in a consistent way (at\nthe end of functions).\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ac86ccc637458dea53077823f98bc3e1b874d478",
      "tree": "5634291a08e8b673c197b160bcf950ea8a7a3b4f",
      "parents": [
        "1da4f9894c243a9c58c505fd8f3e6cc0709a8825"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Sun Dec 28 15:02:06 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 28 10:04:00 2008 +0100"
      },
      "message": "swiotlb: remove unnecessary declaration\n\nImpact: cleanup\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "fb05a37929e0cd99016b4f5e5a5ef077fb10a947",
      "tree": "154b9d0d3b984a03480f54d00f82f56fb3407d2f",
      "parents": [
        "bc40ac66988a7721f2a244b6df65f8c13d16479c"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Mon Dec 22 10:26:09 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 28 10:06:47 2008 +0100"
      },
      "message": "swiotlb: add support for systems with highmem\n\nImpact: extend code for highmem - existing users unaffected\n\nOn highmem systems, the original dma buffer might not\nhave a virtual mapping - we need to kmap it in to perform\nthe bounce.  Extract the code that does the actual\ncopy into a function that does the kmap if highmem\nis enabled, and default to the normal swiotlb memcpy\nif not.\n\n[ ported by Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e ]\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "bc40ac66988a7721f2a244b6df65f8c13d16479c",
      "tree": "581396233451acf0b372df0ba75b3d9014e991e9",
      "parents": [
        "70a7d3cc1308a55104fbe505d76f2aca8a4cf53e"
      ],
      "author": {
        "name": "Becky Bruce",
        "email": "beckyb@kernel.crashing.org",
        "time": "Mon Dec 22 10:26:08 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 28 10:03:12 2008 +0100"
      },
      "message": "swiotlb: store phys address in io_tlb_orig_addr array\n\nImpact: refactor code, cleanup\n\nWhen we enable swiotlb for platforms that support HIGHMEM, we\ncan no longer store the virtual address of the original dma\nbuffer, because that buffer might not have a permament mapping.\n\nChange the swiotlb code to instead store the physical address of\nthe original buffer.\n\nSigned-off-by: Becky Bruce \u003cbeckyb@kernel.crashing.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "70a7d3cc1308a55104fbe505d76f2aca8a4cf53e",
      "tree": "2e4542f668d8b431140f0682c9d1aebbe7bf30eb",
      "parents": [
        "a08636690d06b2e36cfb4c2b3ee133a81c47e1e0"
      ],
      "author": {
        "name": "Jeremy Fitzhardinge",
        "email": "jeremy@goop.org",
        "time": "Mon Dec 22 10:26:05 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 28 09:54:52 2008 +0100"
      },
      "message": "swiotlb: add hwdev to swiotlb_phys_to_bus() / swiotlb_sg_to_bus()\n\nImpact: extend functions with a (yet unused) parameter, update callsites\n\nSome architectures need it - in preparation for highmem swiotlb.\n\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2e5b2b86b65fe36bb8401e5608eb0b7603aa1cab",
      "tree": "a407d13491a0758607347bd7fa6dd5a31d64ad41",
      "parents": [
        "ef9b189352f2eb78f14e52996f4780a523b04a49"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "ian.campbell@citrix.com",
        "time": "Tue Dec 16 12:17:34 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:58:17 2008 +0100"
      },
      "message": "swiotlb: consolidate swiotlb info message printing\n\nImpact: clean up swiotlb printks\n\nRemove duplicated swiotlb info printing, and make it more detailed.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ef9b189352f2eb78f14e52996f4780a523b04a49",
      "tree": "801c230f291d36db2f86404a91c1443bf6636f56",
      "parents": [
        "1b548f667c1487d92e794a9f7a67788f49b952d8"
      ],
      "author": {
        "name": "Jeremy Fitzhardinge",
        "email": "jeremy@goop.org",
        "time": "Tue Dec 16 12:17:33 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:58:15 2008 +0100"
      },
      "message": "swiotlb: support bouncing of HighMem pages\n\nImpact: prepare the swiotlb code for HighMem struct pages\n\nThis requires us to treat DMA regions in terms of page+offset rather\nthan virtual addressing since a HighMem page may not have a mapping.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1b548f667c1487d92e794a9f7a67788f49b952d8",
      "tree": "5d3dc337430be7a13ab0235e44e8ee3697608113",
      "parents": [
        "b81ea27b2329bf44b30c427800954f845896d476"
      ],
      "author": {
        "name": "Jeremy Fitzhardinge",
        "email": "jeremy@goop.org",
        "time": "Tue Dec 16 12:17:32 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:58:14 2008 +0100"
      },
      "message": "swiotlb: factor out copy to/from device\n\nImpact: generalize IO bounce memcpys\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b81ea27b2329bf44b30c427800954f845896d476",
      "tree": "84bbfc80477c3561ee601c1c05dcc0917ced196b",
      "parents": [
        "e08e1f7adba522378e8d2ae941bf25443866136d"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "ian.campbell@citrix.com",
        "time": "Tue Dec 16 12:17:31 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:58:13 2008 +0100"
      },
      "message": "swiotlb: add arch hook to force mapping\n\nImpact: generalize the sw-IOTLB range checks\n\nSome architectures require special rules to determine whether a range\nneeds mapping or not.  This adds a weak function for architectures to\noverride.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "e08e1f7adba522378e8d2ae941bf25443866136d",
      "tree": "4410e414d856dc03d77a0c654d6b9672f6e69f36",
      "parents": [
        "a5ddde4a558b3bd1e3dc50e274a0db2ea7a8fd06"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "ian.campbell@citrix.com",
        "time": "Tue Dec 16 12:17:30 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:58:09 2008 +0100"
      },
      "message": "swiotlb: allow architectures to override phys\u003c-\u003ebus\u003c-\u003ephys conversions\n\nImpact: generalize phys\u003c-\u003ebus\u003c-\u003ephys conversions in the swiotlb code\n\nArchitectures may need to override these conversions. Implement a\n__weak hook point containing the default implementation.\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a5ddde4a558b3bd1e3dc50e274a0db2ea7a8fd06",
      "tree": "e304335e81bc43942c00bb0d1c9f51f9286ebab6",
      "parents": [
        "0016fdee927f7aa0f428494bcf11ae60c7470a02"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "ian.campbell@citrix.com",
        "time": "Tue Dec 16 12:17:29 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 17 18:57:02 2008 +0100"
      },
      "message": "swiotlb: add comment where we handle the overflow of a dma mask on 32 bit\n\nImpact: cleanup\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0016fdee927f7aa0f428494bcf11ae60c7470a02",
      "tree": "ca1080f691efe9c6f76965d38fface872fb856ac",
      "parents": [
        "8c5df16bec8a60bb8589fc232b9e26cac0ed4b2c"
      ],
      "author": {
        "name": "Ian Campbell",
        "email": "ian.campbell@citrix.com",
        "time": "Tue Dec 16 12:17:27 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 16 21:31:40 2008 +0100"
      },
      "message": "swiotlb: move some definitions to header\n\nImpact: cleanup\n\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8c5df16bec8a60bb8589fc232b9e26cac0ed4b2c",
      "tree": "b85d46d552ba86da332ebad328761998171332c5",
      "parents": [
        "a79b7a2a758c39315344f0d86b5adb21d90d786e"
      ],
      "author": {
        "name": "Jeremy Fitzhardinge",
        "email": "jeremy@goop.org",
        "time": "Tue Dec 16 12:17:26 2008 -0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 16 21:31:38 2008 +0100"
      },
      "message": "swiotlb: allow architectures to override swiotlb pool allocation\n\nImpact: generalize swiotlb allocation code\n\nArchitectures may need to allocate memory specially for use with\nthe swiotlb.  Create the weak function swiotlb_alloc_boot() and\nswiotlb_alloc() defaulting to the current behaviour.\n\nSigned-off-by: Jeremy Fitzhardinge \u003cjeremy.fitzhardinge@citrix.com\u003e\nSigned-off-by: Ian Campbell \u003cian.campbell@citrix.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1e74f3000b86969de421ca0da08f42e7d21cbd99",
      "tree": "45dd090997526dbe31f0a2ac781195580772067a",
      "parents": [
        "e47411b1f4456480d6c60ebdc7a733e81ccd5d66"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Nov 17 16:24:34 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Nov 17 09:12:02 2008 +0100"
      },
      "message": "swiotlb: use coherent_dma_mask in alloc_coherent\n\nImpact: fix DMA buffer allocation coherency bug in certain configs\n\nThis patch fixes swiotlb to use dev-\u003ecoherent_dma_mask in\nswiotlb_alloc_coherent().\n\ncoherent_dma_mask is a subset of dma_mask (equal to it most of\nthe time), enumerating the address range that a given device\nis able to DMA to/from in a cache-coherent way.\n\nBut currently, swiotlb uses dev-\u003edma_mask in alloc_coherent()\nimplicitly via address_needs_mapping(), but alloc_coherent is really\nsupposed to use coherent_dma_mask.\n\nThis bug could break drivers that uses smaller coherent_dma_mask than\ndma_mask (though the current code works for the majority that use the\nsame mask for coherent_dma_mask and dma_mask).\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: tony.luck@intel.com\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a2b89b596c5a0b288adac84b17bdda6bde8d144e",
      "tree": "cb33305ff4f30ceaba1c5cbd0eef84d68edca942",
      "parents": [
        "ff3c536291ce96ef6f45704cd37eaed71127dd42"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Thu Oct 23 18:42:03 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 23 21:54:38 2008 +0200"
      },
      "message": "swiotlb: remove panic for alloc_coherent failure\n\nswiotlb_alloc_coherent calls panic() when allocated swiotlb pages is\nnot fit for a device\u0027s dma mask. However, alloc_coherent failure is\nnot a disaster at all. AFAIK, none of other x86 and IA64 IOMMU\nimplementations don\u0027t crash in case of alloc_coherent failure.\n\nThere are some drivers that don\u0027t check alloc_coherent failure but not\nmany (about ten and I\u0027ve already started to fix some of\nthem). alloc_coherent returns NULL in case of failure so it\u0027s likely\nthat these guilty drivers crash immediately. So swiotlb doesn\u0027t need\nto call panic() just for them.\n\nReported-by: Takashi Iwai \u003ctiwai@suse.de\u003e\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nTested-by: Takashi Iwai \u003ctiwai@suse.de\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "07a2c01a0c2a0cb4581a67d50d4f17cb4d2457c4",
      "tree": "2c01e2ee314cf62e5a96cf7c6bde49a377a446df",
      "parents": [
        "f6a32a36ab96016675cd414802904feb288d7899"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Fri Sep 19 02:02:05 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 19 10:20:41 2008 +0200"
      },
      "message": "convert swiotlb to use dma_get_mask\n\nswiotlb can use dma_get_mask() instead of the homegrown function.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: tony.luck@intel.com\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2797982ed93c10d5585ee1842ab298cb11326ff5",
      "tree": "4215ac50f4ac4ed6349be469b76ab45e4f839d78",
      "parents": [
        "49fbf4e9f982c704dc365698c5b5efa780aadcb5"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Wed Sep 10 01:06:49 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 10 11:33:45 2008 +0200"
      },
      "message": "swiotlb: convert swiotlb to use is_buffer_dma_capable helper function\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Joerg Roedel \u003cjoerg.roedel@amd.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "640aebfe014554ced9c38d2564e38862e488d0eb",
      "tree": "64ce0e7ae61fd7707d2ea8f1c68661c92769197a",
      "parents": [
        "21f6c4de4c25c4bdd88c75bc97a78e7fbeebac4d"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Sep 08 18:53:50 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 08 15:53:31 2008 +0200"
      },
      "message": "swiotlb: add is_swiotlb_buffer helper function\n\nThis adds is_swiotlb_buffer() helper function to see whether a buffer\nbelongs to the swiotlb buffer or not.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "21f6c4de4c25c4bdd88c75bc97a78e7fbeebac4d",
      "tree": "02a53e938323b2542935951352f0436d640347c7",
      "parents": [
        "9dfda12b8b769e224ca4efbc35ace4524b9c017b"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Sep 08 18:53:49 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 08 15:53:31 2008 +0200"
      },
      "message": "swiotlb: use unmap_single instead of swiotlb_unmap_single in swiotlb_free_coherent\n\nWe don\u0027t need any check in swiotlb_unmap_single here. unmap_single is\nappropriate.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "9dfda12b8b769e224ca4efbc35ace4524b9c017b",
      "tree": "f8a0e5fa2377038df3017d8e4af9f3cdb5267177",
      "parents": [
        "68e91d61346db4359464d06617500141cfd1442a"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Sep 08 18:53:48 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 08 15:53:30 2008 +0200"
      },
      "message": "swiotlb: use map_single instead of swiotlb_map_single in swiotlb_alloc_coherent\n\nWe always need swiotlb memory here so address_needs_mapping and\nswiotlb_force testings are irrelevant. map_single should be used here\ninstead of swiotlb_map_single.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "68e91d61346db4359464d06617500141cfd1442a",
      "tree": "98d9c471df5980ded654cc5ed91bf63588e87e6d",
      "parents": [
        "823e7e8c6ef12cd1943dc42fe7595ca74e8cc3d7"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Mon Sep 08 18:10:14 2008 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 08 15:50:07 2008 +0200"
      },
      "message": "swiotlb: remove GFP_DMA hack in swiotlb_alloc_coherent\n\nThe callers are supposed to set up the gfp flags appropriately.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nAcked-by: Joerg Roedel \u003cjoerg.roedel@amd.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06",
      "tree": "64090a84f4c4466f9f30ff46c993e0cede379052",
      "parents": [
        "c485b465a031b6f9b9a51300e0ee1f86efc6db87"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Fri Jul 25 19:44:49 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Sat Jul 26 12:00:03 2008 -0700"
      },
      "message": "dma-mapping: add the device argument to dma_mapping_error()\n\nAdd per-device dma_mapping_ops support for CONFIG_X86_64 as POWER\narchitecture does:\n\nThis enables us to cleanly fix the Calgary IOMMU issue that some devices\nare not behind the IOMMU (http://lkml.org/lkml/2008/5/8/423).\n\nI think that per-device dma_mapping_ops support would be also helpful for\nKVM people to support PCI passthrough but Andi thinks that this makes it\ndifficult to support the PCI passthrough (see the above thread).  So I\nCC\u0027ed this to KVM camp.  Comments are appreciated.\n\nA pointer to dma_mapping_ops to struct dev_archdata is added.  If the\npointer is non NULL, DMA operations in asm/dma-mapping.h use it.  If it\u0027s\nNULL, the system-wide dma_ops pointer is used as before.\n\nIf it\u0027s useful for KVM people, I plan to implement a mechanism to register\na hook called when a new pci (or dma capable) device is created (it works\nwith hot plugging).  It enables IOMMUs to set up an appropriate\ndma_mapping_ops per device.\n\nThe major obstacle is that dma_mapping_error doesn\u0027t take a pointer to the\ndevice unlike other DMA operations.  So x86 can\u0027t have dma_mapping_ops per\ndevice.  Note all the POWER IOMMUs use the same dma_mapping_error function\nso this is not a problem for POWER but x86 IOMMUs use different\ndma_mapping_error functions.\n\nThe first patch adds the device argument to dma_mapping_error.  The patch\nis trivial but large since it touches lots of drivers and dma-mapping.h in\nall the architecture.\n\nThis patch:\n\ndma_mapping_error() doesn\u0027t take a pointer to the device unlike other DMA\noperations.  So we can\u0027t have dma_mapping_ops per device.\n\nNote that POWER already has dma_mapping_ops per device but all the POWER\nIOMMUs use the same dma_mapping_error function.  x86 IOMMUs use device\nargument.\n\n[akpm@linux-foundation.org: fix sge]\n[akpm@linux-foundation.org: fix svc_rdma]\n[akpm@linux-foundation.org: build fix]\n[akpm@linux-foundation.org: fix bnx2x]\n[akpm@linux-foundation.org: fix s2io]\n[akpm@linux-foundation.org: fix pasemi_mac]\n[akpm@linux-foundation.org: fix sdhci]\n[akpm@linux-foundation.org: build fix]\n[akpm@linux-foundation.org: fix sparc]\n[akpm@linux-foundation.org: fix ibmvscsi]\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: Muli Ben-Yehuda \u003cmuli@il.ibm.com\u003e\nCc: Andi Kleen \u003candi@firstfloor.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Avi Kivity \u003cavi@qumranet.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "309df0c503c35fbb5a09537fcbb1f4967b9ca489",
      "tree": "56a9df627a229bd64b934608b5f84d20bdaabf3a",
      "parents": [
        "a75b0a2f68d3937f96ed39525e4750601483e3b4"
      ],
      "author": {
        "name": "Arthur Kepner",
        "email": "akepner@sgi.com",
        "time": "Tue Apr 29 01:00:32 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Apr 29 08:06:12 2008 -0700"
      },
      "message": "dma/ia64: update ia64 machvecs, swiotlb.c\n\nChange all ia64 machvecs to use the new dma_*map*_attrs() interfaces.\nImplement the old dma_*map_*() interfaces in terms of the corresponding new\ninterfaces.  For ia64/sn, make use of one dma attribute,\nDMA_ATTR_WRITE_BARRIER.  Introduce swiotlb_*map*_attrs() functions.\n\nSigned-off-by: Arthur Kepner \u003cakepner@sgi.com\u003e\nCc: Tony Luck \u003ctony.luck@intel.com\u003e\nCc: Jesse Barnes \u003cjbarnes@virtuousgeek.org\u003e\nCc: Jes Sorensen \u003cjes@sgi.com\u003e\nCc: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nCc: Roland Dreier \u003crdreier@cisco.com\u003e\nCc: James Bottomley \u003cJames.Bottomley@HansenPartnership.com\u003e\nCc: David Miller \u003cdavem@davemloft.net\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: Grant Grundler \u003cgrundler@parisc-linux.org\u003e\nCc: Michael Ellerman \u003cmichael@ellerman.id.au\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "a8522509200b460443a7ca59138dc63bec1b690a",
      "tree": "d3da544c245a40740018080e9e451fc9096aedb3",
      "parents": [
        "a7133a15587b8921af8b074e0d3fe1606cbe5597"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Tue Apr 29 00:59:36 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Apr 29 08:06:05 2008 -0700"
      },
      "message": "swiotlb: use iommu_is_span_boundary helper function\n\niommu_is_span_boundary in lib/iommu-helper.c was exported for PARISC IOMMUs\n(commit 3715863aa142c4f4c5208f5f3e5e9bac06006d2f).  SWIOTLB can use it instead\nof the homegrown function.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Ingo Molnar \u003cmingo@redhat.com\u003e\nCc: H. Peter Anvin \u003chpa@zytor.com\u003e\nCc: Tony Luck \u003ctony.luck@intel.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "a7133a15587b8921af8b074e0d3fe1606cbe5597",
      "tree": "129706734260468ac6aac966584ffeca31adf471",
      "parents": [
        "9a3be324e3d9da08219d81d6765f445a726cf962"
      ],
      "author": {
        "name": "Andrew Morton",
        "email": "akpm@linux-foundation.org",
        "time": "Tue Apr 29 00:59:36 2008 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Tue Apr 29 08:06:05 2008 -0700"
      },
      "message": "lib/swiotlb.c: cleanups\n\nThere\u0027s a pointlessly braced block of code in there.  Remove the braces and\nsave a tabstop.\n\nCc: Andi Kleen \u003cak@suse.de\u003e\nCc: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: Jan Beulich \u003cjbeulich@novell.com\u003e\nCc: Tony Luck \u003ctony.luck@intel.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "b15a3891c916f32a29832886a053a48be2741d4d",
      "tree": "59971b1f3b1961b7c13a170b1a3617431db03ac5",
      "parents": [
        "96e31022a1b6e7cb173cbb3dce1fde7ba548860a"
      ],
      "author": {
        "name": "Jan Beulich",
        "email": "jbeulich@novell.com",
        "time": "Thu Mar 13 09:13:30 2008 +0000"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@linux-foundation.org",
        "time": "Thu Mar 13 13:15:52 2008 -0700"
      },
      "message": "avoid endless loops in lib/swiotlb.c\n\nCommit 681cc5cd3efbeafca6386114070e0bfb5012e249 (\"iommu sg merging:\nswiotlb: respect the segment boundary limits\") introduced two\npossibilities for entering an endless loop in lib/swiotlb.c:\n\n - if max_slots is zero (possible if mask is ~0UL)\n - if the number of slots requested fits into a swiotlb segment, but is\n   too large for the part of a segment which remains after considering\n   offset_slots\n\nThis fixes them\n\nSigned-off-by: Jan Beulich \u003cjbeulich@novell.com\u003e\nCc: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "681cc5cd3efbeafca6386114070e0bfb5012e249",
      "tree": "21249148cf78175e1d099999784053a14dc2fc50",
      "parents": [
        "59fc67dedb46c29442989e52af39da67aea52512"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "tomof@acm.org",
        "time": "Mon Feb 04 22:28:16 2008 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Tue Feb 05 09:44:12 2008 -0800"
      },
      "message": "iommu sg merging: swiotlb: respect the segment boundary limits\n\nThis patch makes swiotlb not allocate a memory area spanning LLD\u0027s segment\nboundary.\n\nis_span_boundary() judges whether a memory area spans LLD\u0027s segment boundary.\nIf map_single finds such a area, map_single tries to find the next available\nmemory area.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nCc: James Bottomley \u003cJames.Bottomley@steeleye.com\u003e\nCc: Jens Axboe \u003cjens.axboe@oracle.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nCc: Jeff Garzik \u003cjeff@garzik.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "f9527f121bd42c5d300815fbf12216bc1a63f60f",
      "tree": "209cb67705a13b511f76ddf4423abbb6664a7d28",
      "parents": [
        "fa05f1286be25a8ce915c5dd492aea61126b3f33"
      ],
      "author": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Mon Oct 22 19:44:53 2007 +0200"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Mon Oct 22 21:19:58 2007 +0200"
      },
      "message": "Update swiotlb to use sg helpers\n\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "9e91fdb32d449a6b57f8236a793ae2f3df79b4d8",
      "tree": "a375e906206970bbd09b6d0b91138d1f66cc7de5",
      "parents": [
        "24c31eede658c30e4fcc93505589fd519c3aa4b8"
      ],
      "author": {
        "name": "FUJITA Tomonori",
        "email": "fujita.tomonori@lab.ntt.co.jp",
        "time": "Wed Oct 17 10:06:18 2007 +0200"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Wed Oct 17 10:06:18 2007 +0200"
      },
      "message": "swiotlb: fix map_sg failure handling\n\nsg list elements might not be continuous.\n\nSigned-off-by: FUJITA Tomonori \u003cfujita.tomonori@lab.ntt.co.jp\u003e\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "dbfd49fe9dd7d234a4e195c6ed422cafa25813f2",
      "tree": "56e393bc6df0e7f7f660be50d9c60183fde5e689",
      "parents": [
        "38d375561f0f89e76f28ed9e69706bb2c980200f"
      ],
      "author": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Fri May 11 14:56:18 2007 +0200"
      },
      "committer": {
        "name": "Jens Axboe",
        "email": "jens.axboe@oracle.com",
        "time": "Tue Oct 16 11:26:01 2007 +0200"
      },
      "message": "swiotlb: sg chaining support\n\nSigned-off-by: Jens Axboe \u003cjens.axboe@oracle.com\u003e\n"
    },
    {
      "commit": "aa24886e379d2b641c5117e178b15ce1d5d366ba",
      "tree": "c0934ff01f7c7a18ec5f86896735286f413cd06e",
      "parents": [
        "fa007d8bebc5d812a445c48664b5bcad81f1351c"
      ],
      "author": {
        "name": "David Brownell",
        "email": "david-b@pacbell.net",
        "time": "Fri Aug 10 13:10:27 2007 -0700"
      },
      "committer": {
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@suse.de",
        "time": "Fri Oct 12 15:03:15 2007 -0700"
      },
      "message": "dma_free_coherent() needs irqs enabled (sigh)\n\nOn at least ARM (and I\u0027m told MIPS too) dma_free_coherent() has a newish\ncall context requirement: unlike its dma_alloc_coherent() sibling, it may\nnot be called with IRQs disabled.  (This was new behavior on ARM as of late\n2005, caused by ARM SMP updates.) This little surprise can be annoyingly\ndriver-visible.\n\nSince it looks like that restriction won\u0027t be removed, this patch changes\nthe definition of the API to include that requirement.  Also, to help catch\nnonportable drivers, it updates the x86 and swiotlb versions to include the\nrelevant warnings.  (I already observed that it trips on the\nbus_reset_tasklet of the new firewire_ohci driver.)\n\nSigned-off-by: David Brownell \u003cdbrownell@users.sourceforge.net\u003e\nCc: David Miller \u003cdavem@davemloft.net\u003e\nAcked-by: Russell King \u003crmk@arm.linux.org.uk\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n\n"
    },
    {
      "commit": "df336d1c7b6fd510fa6d3a028f999e7586c7026e",
      "tree": "d393ccb7b9051e8e491136f7a4a1786d5bf4f1e8",
      "parents": [
        "28de7948a896763bc97ccd416bba5b9422158350"
      ],
      "author": {
        "name": "Keir Fraser",
        "email": "Keir.Fraser@cl.cam.ac.uk",
        "time": "Sat Jul 21 04:37:24 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Sat Jul 21 17:49:14 2007 -0700"
      },
      "message": "Fix swiotlb_sync_single_range()\n\nIf the swiotlb maps a multi-slab region, swiotlb_sync_single_range() can be\ninvoked to sync a sub-region which does not include the first slab.\nUnfortunately io_tlb_orig_addr[] is only initialised for the first slab,\nand hence the call to sync_single() will read a garbage orig_addr in this\ncase.\n\nThis patch fixes the issue by initialising all mapped slabs in\nio_tlb_orig_addr[].  It also correctly adjusts the buffer pointer in\nsync_single() to handle the case that the given dma_addr is not aligned on\na slab boundary.\n\nSigned-off-by: Keir Fraser \u003ckeir.fraser@cl.cam.ac.uk\u003e\nCc: \"Luck, Tony\" \u003ctony.luck@intel.com\u003e\nAcked-by: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "b2ead6e012e2b2ab31851c288e0dd7872884a8a3",
      "tree": "8f1420e1d420e5fd96ef85a622f638615c67302c",
      "parents": [
        "3c308798a337d75d846773dd64155860852931fc"
      ],
      "author": {
        "name": "Sam Ravnborg",
        "email": "sam@ravnborg.org",
        "time": "Tue May 08 00:24:42 2007 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Tue May 08 11:14:59 2007 -0700"
      },
      "message": "fix section mismatch warning in lib/swiotlb.c\n\nkbuild spits outs following warning on a\ndefconfig x86_64 build:\nWARNING: swiotlb.o - Section mismatch: reference to .init.text:swiotlb_init from __ksymtab between \u0027__ksymtab_swiotlb_init\u0027 (at offset 0xa0) and \u0027__ksymtab_swiotlb_free_coherent\u0027\n\nThis warning happens because the function swiotlb_init is marked __init and\nEXPORT_SYMBOL().  A \u0027git grep swiotlb_init\u0027 showed no users in drivers/ so\nremove the EXPORT_SYMBOL.\n\nSigned-off-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nCc: \"Luck, Tony\" \u003ctony.luck@intel.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "25667d675454f2cd258c5fa798a2281af1ef2ae9",
      "tree": "9724ea546a5976dc0d9c4de9263b8a2a82254123",
      "parents": [
        "c3442e296517aee733d62fc3fe03211598902c7d"
      ],
      "author": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Tue Mar 06 13:31:45 2007 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Tue Mar 06 13:31:45 2007 -0800"
      },
      "message": "Revert \"[IA64] swiotlb abstraction (e.g. for Xen)\"\n\nThis reverts commit 51099005ab8e09d68a13fea8d55bc739c1040ca6.\n"
    },
    {
      "commit": "be6b026785414033aac36887cb9ea0ee1244254c",
      "tree": "b0c792d6d2b7dc037af5a21cf19f5cce6c4ea60d",
      "parents": [
        "544fc7283cd6902831d660bd8e1181602bd2b4d2"
      ],
      "author": {
        "name": "Andrew Morton",
        "email": "akpm@linux-foundation.org",
        "time": "Mon Feb 12 00:52:17 2007 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@woody.linux-foundation.org",
        "time": "Mon Feb 12 09:48:29 2007 -0800"
      },
      "message": "[PATCH] swiotlb uninlinings\n\nOptimise swiotlb.c for size.\n\n   text    data     bss     dec     hex filename\n   5009      89      64    5162    142a lib/swiotlb.o-before\n   4666      89      64    4819    12d3 lib/swiotlb.o-after\n\nFor some reason my gcc (4.0.2) doesn\u0027t want to tailcall these things.\n\nswiotlb_sync_sg_for_device:\n\tpushq\t%rbp\t#\n\tmovl\t$1, %r8d\t#,\n\tmovq\t%rsp, %rbp\t#,\n\tcall\tswiotlb_sync_sg\t#\n\tleave\n\tret\n\t.size\tswiotlb_sync_sg_for_device, .-swiotlb_sync_sg_for_device\n\t.section\t.text.swiotlb_sync_sg_for_cpu,\"ax\",@progbits\n.globl swiotlb_sync_sg_for_cpu\n\t.type\tswiotlb_sync_sg_for_cpu, @function\nswiotlb_sync_sg_for_cpu:\n\tpushq\t%rbp\t#\n\txorl\t%r8d, %r8d\t#\n\tmovq\t%rsp, %rbp\t#,\n\tcall\tswiotlb_sync_sg\t#\n\tleave\n\tret\n\nCc: Jan Beulich \u003cjbeulich@novell.com\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nCc: \"Luck, Tony\" \u003ctony.luck@intel.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n"
    },
    {
      "commit": "51099005ab8e09d68a13fea8d55bc739c1040ca6",
      "tree": "865519c98fada85e5ae2ba4f617dea27e63aee56",
      "parents": [
        "563aaf064f3776623ff5e7aef511ac2eb7e5f0bb"
      ],
      "author": {
        "name": "Jan Beulich",
        "email": "jbeulich@novell.com",
        "time": "Mon Feb 05 18:53:04 2007 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Feb 05 18:53:04 2007 -0800"
      },
      "message": "[IA64] swiotlb abstraction (e.g. for Xen)\n\nAdd abstraction so that the file can be used by environments other than IA64\nand EM64T, namely for Xen.\n\nSigned-off-by: Jan Beulich \u003cjbeulich@novell.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "563aaf064f3776623ff5e7aef511ac2eb7e5f0bb",
      "tree": "0ae2565cf94dc705a58984f804d0c2046339abf9",
      "parents": [
        "93fbff63e62b87fe450814db41f859d60b048fb8"
      ],
      "author": {
        "name": "Jan Beulich",
        "email": "jbeulich@novell.com",
        "time": "Mon Feb 05 18:51:25 2007 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Feb 05 18:51:25 2007 -0800"
      },
      "message": "[IA64] swiotlb cleanup\n\n- add proper __init decoration to swiotlb\u0027s init code (and the code calling\n  it, where not already the case)\n\n- replace uses of \u0027unsigned long\u0027 with dma_addr_t where appropriate\n\n- do miscellaneous simplicfication and cleanup\n\nSigned-off-by: Jan Beulich \u003cjbeulich@novell.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "93fbff63e62b87fe450814db41f859d60b048fb8",
      "tree": "3a806003e88a1270820f6a1aa1e60e28b994277e",
      "parents": [
        "cde14bbfb3aa79b479db35bd29e6c083513d8614"
      ],
      "author": {
        "name": "Jan Beulich",
        "email": "jbeulich@novell.com",
        "time": "Mon Feb 05 18:49:45 2007 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Feb 05 18:49:45 2007 -0800"
      },
      "message": "[IA64] make swiotlb use bus_to_virt/virt_to_bus\n\nConvert all phys_to_virt/virt_to_phys uses to bus_to_virt/virt_to_bus, as is\nwhat is meant and what is needed in (at least) some virtualized environments\nlike Xen.\n\nSigned-off-by: Jan Beulich \u003cjbeulich@novell.com\u003e\nAcked-by: Muli Ben-Yehuda \u003cmuli@il.ibm.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "cde14bbfb3aa79b479db35bd29e6c083513d8614",
      "tree": "68b2d66d1eee3067051f4a6e4df8ace461bf440f",
      "parents": [
        "86afa9eb88af2248bcc91d5b3568c63fdea65d6c"
      ],
      "author": {
        "name": "Jan Beulich",
        "email": "jbeulich@novell.com",
        "time": "Mon Feb 05 18:46:40 2007 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Feb 05 18:46:40 2007 -0800"
      },
      "message": "[IA64] swiotlb bug fixes\n\nThis patch fixes\n- marking I-cache clean of pages DMAed to now only done for IA64\n- broken multiple inclusion in include/asm-x86_64/swiotlb.h\n- missing call to mark_clean in swiotlb_sync_sg()\n- a (perhaps only theoretical) issue in swiotlb_dma_supported() when\nio_tlb_end is exactly at the end of memory\n\nSigned-off-by: Jan Beulich \u003cjbeulich@novell.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "34814545890db603b7648ea2ea477d1f83b61297",
      "tree": "dcf8b60a50bbcbe8bf0ee29ea0d428c2435a895e",
      "parents": [
        "6978c7052f2e22c6c40781cdd4eba5c4bce9a789"
      ],
      "author": {
        "name": "Eric Sesterhenn",
        "email": "snakebyte@gmx.de",
        "time": "Fri Mar 24 18:47:11 2006 +0100"
      },
      "committer": {
        "name": "Adrian Bunk",
        "email": "bunk@stusta.de",
        "time": "Fri Mar 24 18:47:11 2006 +0100"
      },
      "message": "BUG_ON() Conversion in lib/swiotlb.c\n\nthis changes if() BUG(); constructs to BUG_ON() which is\ncleaner, contains unlikely() and can better optimized away.\n\nSigned-off-by: Eric Sesterhenn \u003csnakebyte@gmx.de\u003e\nSigned-off-by: Adrian Bunk \u003cbunk@stusta.de\u003e\n"
    },
    {
      "commit": "17a941d854a3f7b0bb916fdeee4c9ffdcc19d8d3",
      "tree": "b6b3b55318336adf769bf57141a01a9defbbb202",
      "parents": [
        "8a6fdd3e912e0ce6f723431d66baf704bf8a1d26"
      ],
      "author": {
        "name": "Muli Ben-Yehuda",
        "email": "mulix@mulix.org",
        "time": "Wed Jan 11 22:44:42 2006 +0100"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Wed Jan 11 19:04:55 2006 -0800"
      },
      "message": "[PATCH] x86_64: Use function pointers to call DMA mapping functions\n\nAK: I hacked Muli\u0027s original patch a lot and there were a lot\nof changes - all bugs are probably to blame on me now.\nThere were also some changes in the fall back behaviour\nfor swiotlb - in particular it doesn\u0027t try to use GFP_DMA\nnow anymore. Also all DMA mapping operations use the\nsame core dma_alloc_coherent code with proper fallbacks now.\nAnd various other changes and cleanups.\n\nKnown problems: iommu\u003dforce swiotlb\u003dforce together breaks\n                needs more testing.\n\nThis patch cleans up x86_64\u0027s DMA mapping dispatching code. Right now\nwe have three possible IOMMU types: AGP GART, swiotlb and nommu, and\nin the future we will also have Xen\u0027s x86_64 swiotlb and other HW\nIOMMUs for x86_64. In order to support all of them cleanly, this\npatch:\n\n- introduces a struct dma_mapping_ops with function pointers for each\n  of the DMA mapping operations of gart (AMD HW IOMMU), swiotlb\n  (software IOMMU) and nommu (no IOMMU).\n\n- gets rid of:\n\n  if (swiotlb)\n      return swiotlb_xxx();\n\n- PCI_DMA_BUS_IS_PHYS is now checked against the dma_ops being set\nThis makes swiotlb faster by avoiding double copying in some cases.\n\nSigned-Off-By: Muli Ben-Yehuda \u003cmulix@mulix.org\u003e\nSigned-Off-By: Jon D. Mason \u003cjdmason@us.ibm.com\u003e\nSigned-off-by: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "008857c1a49ccffc31a54c3ea7e182833bd61304",
      "tree": "ba65452db097f57e05d2e3df550d55d45feabc94",
      "parents": [
        "085cc7d5de3cc662da7ea78296464a0d52f3f01f"
      ],
      "author": {
        "name": "Ravikiran G Thirumalai",
        "email": "kiran@scalex86.org",
        "time": "Fri Jan 06 00:11:01 2006 -0800"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Fri Jan 06 08:33:26 2006 -0800"
      },
      "message": "[PATCH] Cleanup bootmem allocator and fix alloc_bootmem_low\n\nPatch cleans up the alloc_bootmem fix for swiotlb.  Patch removes\nalloc_bootmem_*_limit api and fixes alloc_boot_*low api to do the right\nthing -- allocate from low32 memory.\n\nSigned-off-by: Ravikiran Thirumalai \u003ckiran@scalex86.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "7e8702334841b6da4b8f564dc1771ca17c59a621",
      "tree": "73f52ad8b0b61a5d863b324041bcc519d7cc5242",
      "parents": [
        "7ca0b3bf695632003a2a0f98b9fc1451b0483346"
      ],
      "author": {
        "name": "Andi Kleen",
        "email": "ak@muc.de",
        "time": "Tue Dec 20 14:45:19 2005 +0100"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@g5.osdl.org",
        "time": "Tue Dec 20 10:13:54 2005 -0800"
      },
      "message": "[PATCH] Fix swiotlb pci_map_sg error handling\n\nThe overflow checking condition in lib/swiotlb.c was wrong.\nIt would first run a NULL pointer through virt_to_phys before\ntesting it. Since pci_map_sg overflow is not that uncommon\nand causes data corruption (including broken file systems) when not\nproperly detected I think it\u0027s better to fix it in 2.6.15.\n\nThis affects x86-64 and IA64.\n\nSigned-off-by: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n"
    },
    {
      "commit": "c7fb577e2a6cb04732541f2dc402bd46747f7558",
      "tree": "df3b1a1922ed13bfbcc45d08650c38beeb1a7bd1",
      "parents": [
        "9cec58dc138d6fcad9f447a19c8ff69f6540e667",
        "581c1b14394aee60aff46ea67d05483261ed6527"
      ],
      "author": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Oct 31 10:51:57 2005 -0800"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Mon Oct 31 10:51:57 2005 -0800"
      },
      "message": "manual update from upstream:\n\nApplied Al\u0027s change 06a544971fad0992fe8b92c5647538d573089dd4\nto new location of swiotlb.c\n\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "9cec58dc138d6fcad9f447a19c8ff69f6540e667",
      "tree": "4fe1cca94fdba8b705c87615bee06d3346f687ce",
      "parents": [
        "17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38",
        "ac9b9c667c2e1194e22ebe0a441ae1c37aaa9b90"
      ],
      "author": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Oct 20 10:41:44 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Oct 20 10:41:44 2005 -0700"
      },
      "message": "Update from upstream with manual merge of Yasunori Goto\u0027s\nchanges to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341\nsince this file has been moved from arch/ia64/lib/swiotlb.c to\nlib/swiotlb.c\n\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38",
      "tree": "6193cf97426634ce00df43e81aa953426aca4e99",
      "parents": [
        "8d15d19e44d2e903d00ae4b70da917ac77921239"
      ],
      "author": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 15:52:13 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 15:52:13 2005 -0700"
      },
      "message": "[PATCH] Removed remaining PCI specific references from swiotlb.c\n\nMatthew Wilcox pointed out that swiotlb.c implements a generic\ninterface that is not tied to just PCI.  Remove includes of\n\u003clinux/pci.h\u003e, \u003casm/pci.h\u003e.  Fix comments and printk() messages\nto no longer refer to PCI.\n\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "569c8bf5d8eeeeb9f5250d5b7991007874f0fef2",
      "tree": "ad351d1db69a1b5655d049e253eaa147ff632f7b",
      "parents": [
        "de69e0f0b38a467d881e138a302b005bf31c8400"
      ],
      "author": {
        "name": "John W. Linville",
        "email": "linville@tuxdriver.com",
        "time": "Thu Sep 29 14:45:24 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 14:45:24 2005 -0700"
      },
      "message": "[PATCH] swiotlb: file header comments\n\nChange comment at top of swiotlb.c to reflect that the code is shared\nwith EM64T (i.e. Intel x86_64). Also add an entry for myself so that\nif I \"broke it\", everyone knows who \"bought it\"... :-)\n\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "de69e0f0b38a467d881e138a302b005bf31c8400",
      "tree": "cce186614aafa090de860c65855c90600b300c56",
      "parents": [
        "878a97cfd7014b01285db09f52f9881ffe4cb608"
      ],
      "author": {
        "name": "John W. Linville",
        "email": "linville@tuxdriver.com",
        "time": "Thu Sep 29 14:44:57 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 14:44:57 2005 -0700"
      },
      "message": "[PATCH] swiotlb: support syncing DMA_BIDIRECTIONAL mappings\n\nThe current implementation of sync_single in swiotlb.c chokes on\nDMA_BIDIRECTIONAL mappings. This patch adds the capability to sync\nthose mappings, and optimizes other syncs by accounting for the\nsync target (i.e. cpu or device) in addition to the DMA direction of\nthe mapping.\n\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "878a97cfd7014b01285db09f52f9881ffe4cb608",
      "tree": "19f19873602a559a351d669ee09988e8ce8bfa6e",
      "parents": [
        "8270f3f1a605c83b3aa516c1eaed209fe0884e84"
      ],
      "author": {
        "name": "John W. Linville",
        "email": "linville@tuxdriver.com",
        "time": "Thu Sep 29 14:44:23 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 14:44:23 2005 -0700"
      },
      "message": "[PATCH] swiotlb: support syncing sub-ranges of mappings\n\nThis patch implements swiotlb_sync_single_range_for_{cpu,device}. This\nis intended to support an x86_64 implementation of\ndma_sync_single_range_for_{cpu,device}.\n\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "8270f3f1a605c83b3aa516c1eaed209fe0884e84",
      "tree": "dbe49f6263658cd9b7ace81fed257009140c0b9e",
      "parents": [
        "6c654b5fdf093cd05f35f7c9c2a00182fa5636dc"
      ],
      "author": {
        "name": "John W. Linville",
        "email": "linville@tuxdriver.com",
        "time": "Thu Sep 29 14:43:32 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 14:43:32 2005 -0700"
      },
      "message": "[PATCH] swiotlb: cleanup some code duplication cruft\n\nThe implementations of swiotlb_sync_single_for_{cpu,device} are\nidentical. Likewise for swiotlb_syng_sg_for_{cpu,device}. This patch\nmove the guts of those functions to two new inline functions, and\ncalls the appropriate one from the bodies of those functions.\n\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "6c654b5fdf093cd05f35f7c9c2a00182fa5636dc",
      "tree": "7aa16a41d64b906c6e7e5248897f88027428d12a",
      "parents": [
        "0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc"
      ],
      "author": {
        "name": "John W. Linville",
        "email": "linville@tuxdriver.com",
        "time": "Thu Sep 29 14:42:42 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Sep 29 14:42:42 2005 -0700"
      },
      "message": "[PATCH] swiotlb: move from arch/ia64/lib/ to lib/\n\nThe swiotlb implementation is shared by both IA-64 and EM64T. However,\nthe source itself lives under arch/ia64. This patch moves swiotlb.c\nfrom arch/ia64/lib to lib/ and fixes-up the appropriate Makefile and\nKconfig files. No actual changes are made to swiotlb.c.\n\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc",
      "tree": "95f55e1219eed9c3fd2458ddbf960307c631114e",
      "parents": [
        "1619cca2921f6927f4240e03f413d4165c7002fc"
      ],
      "author": {
        "name": "Alex Williamson",
        "email": "alex.williamson@hp.com",
        "time": "Tue Sep 06 11:20:49 2005 -0600"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Wed Sep 14 16:22:11 2005 -0700"
      },
      "message": "[IA64] more robust zx1/sx1000 machvec support\n\nMachine vector selection has always been a bit of a hack given how\nearly in system boot it needs to be done.  Services like ACPI namespace\nare not available and there are non-trivial problems to moving them to\nearly boot.  However, there\u0027s no reason we can\u0027t change to a different\nmachvec later in boot when the services we need are available.  By\nadding a entry point for later initialization of the swiotlb, we can add\nan error path for the hpzx1 machevec initialization and fall back to the\nDIG machine vector if IOMMU hardware isn\u0027t found in the system.  Since\nia64 uses 4GB for zone DMA (no ISA support), it\u0027s trivial to allocate a\ncontiguous range from the slab for bounce buffer usage.\n\nSigned-off-by: Alex Williamson \u003calex.williamson@hp.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "e8579e72ca240f3fbaa669f09a9d610436505366",
      "tree": "8b2cca8bedf9305dc9686e25d90b4f15752b88fc",
      "parents": [
        "30d5b64b63fa69af31b2cba32e6d71d68526eec9"
      ],
      "author": {
        "name": "Alex Williamson",
        "email": "alex.williamson@hp.com",
        "time": "Thu Aug 04 13:06:00 2005 -0700"
      },
      "committer": {
        "name": "Tony Luck",
        "email": "tony.luck@intel.com",
        "time": "Thu Aug 18 16:33:28 2005 -0700"
      },
      "message": "[IA64, X86_64] fix swiotlb sizing\n\n   Fix swiotlb sizing to match what the comments and the kernel\nparameters documentation indicate.  Given a default 16k page size kernel\n(ia64) and a 2k swiotlb page size, we\u0027re off by a multiple of 8 trying\nto size the swiotlb.  When specified on the boot line, the swiotlb is\nmade 8x bigger than requested.  When left to the default value, it\u0027s 8x\nsmaller than the comments indicate.  For x86_64 the multiplier would be\n2x.  The patch below fixes this.  Now, what\u0027s a good default swiotlb\nsize?  Apparently we don\u0027t really need 64MB.\n\nSigned-off-by: Alex Williamson \u003calex.williamson@hp.com\u003e\nSigned-off-by: Tony Luck \u003ctony.luck@intel.com\u003e\n"
    },
    {
      "commit": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
      "tree": "0bba044c4ce775e45a88a51686b5d9f90697ea9d",
      "parents": [],
      "author": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "committer": {
        "name": "Linus Torvalds",
        "email": "torvalds@ppc970.osdl.org",
        "time": "Sat Apr 16 15:20:36 2005 -0700"
      },
      "message": "Linux-2.6.12-rc2\n\nInitial git repository build. I\u0027m not bothering with the full history,\neven though we have it. We can create a separate \"historical\" git\narchive of that later if we want to, and in the meantime it\u0027s about\n3.2GB when imported into git - space that would just make the early\ngit days unnecessarily complicated, when we don\u0027t have a lot of good\ninfrastructure for it.\n\nLet it rip!\n"
    }
  ]
}
