<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.linux.ports.ia64">
    <title>gmane.linux.ports.ia64</title>
    <link>http://blog.gmane.org/gmane.linux.ports.ia64</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22264"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22263"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22261"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22260"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22259"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22258"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22257"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22256"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22255"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22254"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22253"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22252"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22251"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22250"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22249"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22248"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22247"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22246"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22245"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.ia64/22244"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22264">
    <title>[PATCH v1] PCI,IA64: free associated resources when removing host bridges</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22264</link>
    <description>&lt;pre&gt;There are some resources associated with PCI host bridges on
IA 64 platforms, they should be released when removing host
bridges. Otherwise it will cause memory leak and other strange
behavior.

For example, PCI IO port address space are mapped into memory
address space on IA64. Those IO port resource should be released
when removing PCI host bridges. Otherwise host bridge hotplug
may cause duplicated entries in the iomem resource pool.
All "1fffffe400000-1fffffffffffe" are duplicated entries.

30fc000000-30ffffffff : reserved
1fffffc000000-1fffffc33dcf7 : PCI Bus 0000:00 I/O Ports 00000000-00000cf7
1fffffc400000-1fffffe3fffff : PCI Bus 0000:00 I/O Ports 00001000-00008fff
30fc000000-30ffffffff : reserved
1fffffc000000-1fffffc33dcf7 : PCI Bus 0000:00 I/O Ports 00000000-00000cf7
1fffffc400000-1fffffe3fffff : PCI Bus 0000:00 I/O Ports 00001000-00008fff
1fffffe400000-1fffffffffffe : PCI Bus 0000:40 I/O Ports 00009000-0000fffe
  1fffffe400000-1fffffffffffe : PCI Bus 0000:40 I/O Ports 00009000-0000fffe
    1fffffe400000-1fffffffffffe : PCI Bus 0000:40 I/O Ports 00009000-0000fffe

Signed-off-by: Jiang Liu &amp;lt;liuj97&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Yijing Wang &amp;lt;wangyijing&amp;lt; at &amp;gt;huawei.com&amp;gt;
---

This patch applies to
git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/next-3.5

---
 arch/ia64/include/asm/pci.h |    6 +++
 arch/ia64/pci/pci.c         |   80 +++++++++++++++++++++++++++++++++++--------
 2 files changed, 71 insertions(+), 15 deletions(-)

diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h
index 5e04b59..3939f00 100644
--- a/arch/ia64/include/asm/pci.h
+++ b/arch/ia64/include/asm/pci.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -94,6 +94,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct pci_window {
 u64 offset;
 };
 
+struct iospace_resource {
+struct list_head list;
+struct resource res;
+};
+
 struct pci_controller {
 void *acpi_handle;
 void *iommu;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -102,6 +107,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct pci_controller {
 
 unsigned int windows;
 struct pci_window *window;
+struct list_head io_resources;
 
 void *platform_data;
 };
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c
index d173a88..a66cba4 100644
--- a/arch/ia64/pci/pci.c
+++ b/arch/ia64/pci/pci.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -168,25 +168,20 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; new_space (u64 phys_base, int sparse)
 static u64 __devinit
 add_io_space (struct pci_root_info *info, struct acpi_resource_address64 *addr)
 {
+struct iospace_resource *iospace;
 struct resource *resource;
 char *name;
 unsigned long base, min, max, base_port;
 unsigned int sparse = 0, space_nr, len;
 
-resource = kzalloc(sizeof(*resource), GFP_KERNEL);
-if (!resource) {
+len = strlen(info-&amp;gt;name) + 32;
+iospace = kzalloc(sizeof(*iospace) + len, GFP_KERNEL);
+if (!iospace) {
 printk(KERN_ERR "PCI: No memory for %s I/O port space\n",
 info-&amp;gt;name);
 goto out;
 }
-
-len = strlen(info-&amp;gt;name) + 32;
-name = kzalloc(len, GFP_KERNEL);
-if (!name) {
-printk(KERN_ERR "PCI: No memory for %s I/O port space name\n",
-info-&amp;gt;name);
-goto free_resource;
-}
+name = (char *)(iospace + 1);
 
 min = addr-&amp;gt;minimum;
 max = min + addr-&amp;gt;address_length - 1;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -195,7 +190,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; add_io_space (struct pci_root_info *info, struct acpi_resource_address64 *addr)
 
 space_nr = new_space(addr-&amp;gt;translation_offset, sparse);
 if (space_nr == ~0)
-goto free_name;
+goto free_resource;
 
 base = __pa(io_space[space_nr].mmio_base);
 base_port = IO_SPACE_BASE(space_nr);
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -210,18 +205,24 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; add_io_space (struct pci_root_info *info, struct acpi_resource_address64 *addr)
 if (space_nr == 0)
 sparse = 1;
 
+resource = &amp;amp;iospace-&amp;gt;res;
 resource-&amp;gt;name  = name;
 resource-&amp;gt;flags = IORESOURCE_MEM;
 resource-&amp;gt;start = base + (sparse ? IO_SPACE_SPARSE_ENCODING(min) : min);
 resource-&amp;gt;end   = base + (sparse ? IO_SPACE_SPARSE_ENCODING(max) : max);
-insert_resource(&amp;amp;iomem_resource, resource);
+if (insert_resource(&amp;amp;iomem_resource, resource)) {
+dev_err(&amp;amp;info-&amp;gt;bridge-&amp;gt;dev,
+"can't allocate host bridge io space resource  %pR\n",
+resource);
+goto free_resource;
+}
+
+list_add_tail(&amp;amp;iospace-&amp;gt;list, &amp;amp;info-&amp;gt;controller-&amp;gt;io_resources);
 
 return base_port;
 
-free_name:
-kfree(name);
 free_resource:
-kfree(resource);
+kfree(iospace);
 out:
 return ~0;
 }
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -325,6 +326,51 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static __devinit acpi_status add_window(struct acpi_resource *res, void *data)
 return AE_OK;
 }
 
+static void shutdown_pci_controller(struct pci_host_bridge *bridge)
+{
+unsigned int i;
+struct resource *resource;
+struct iospace_resource *iospace;
+struct pci_controller *controller = bridge-&amp;gt;release_data;
+
+if (!controller)
+return;
+
+/* release io space resource */
+list_for_each_entry(iospace, &amp;amp;controller-&amp;gt;io_resources, list)
+release_resource(&amp;amp;iospace-&amp;gt;res);
+
+/* release root bus resource */
+for (i = 0; i &amp;lt; controller-&amp;gt;windows; i++) {
+resource = &amp;amp;controller-&amp;gt;window[i].resource;
+if (resource-&amp;gt;flags &amp;amp; (IORESOURCE_MEM | IORESOURCE_IO))
+if (resource-&amp;gt;parent)
+release_resource(resource);
+}
+}
+
+static void free_pci_controller(struct pci_host_bridge *bridge)
+{
+struct resource *resource;
+struct iospace_resource *iospace, *tmp;
+struct pci_controller *controller = bridge-&amp;gt;release_data;
+
+if (!controller)
+return;
+
+shutdown_pci_controller(bridge);
+
+list_for_each_entry_safe(iospace, tmp, &amp;amp;controller-&amp;gt;io_resources, list)
+kfree(iospace);
+
+if (controller-&amp;gt;window) {
+kfree(controller-&amp;gt;window-&amp;gt;resource.name);
+kfree(controller-&amp;gt;window);
+}
+
+kfree(controller);
+}
+
 struct pci_bus * __devinit
 pci_acpi_scan_root(struct acpi_pci_root *root)
 {
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -343,6 +389,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; pci_acpi_scan_root(struct acpi_pci_root *root)
 goto out1;
 
 controller-&amp;gt;acpi_handle = device-&amp;gt;handle;
+INIT_LIST_HEAD(&amp;amp;controller-&amp;gt;io_resources);
 
 pxm = acpi_get_pxm(controller-&amp;gt;acpi_handle);
 #ifdef CONFIG_NUMA
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -386,6 +433,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; pci_acpi_scan_root(struct acpi_pci_root *root)
 return NULL;
 }
 
+pci_set_host_bridge_release(to_pci_host_bridge(pbus-&amp;gt;bridge),
+free_pci_controller, controller);
+
 pci_scan_child_bus(pbus);
 return pbus;
 
&lt;/pre&gt;</description>
    <dc:creator>Jiang Liu</dc:creator>
    <dc:date>2012-05-25T07:23:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22263">
    <title>Re: [PATCH] swiotlb: add "dma_attrs" argument to alloc and free, to match dma_map_ops</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22263</link>
    <description>&lt;pre&gt;

Current linux-next. But it has been like this for a while. I had
the warning in sta2x11-fixup.c pending for a while, and yesterday
I raised the issue.


Do you refer to the swiotlb methods (I confirm they are changed, like
all their users) or something else? I'm only changing the two methods
in swiotlb, nothing else is affected.

Actually, I wanted to call them alloc and free, like the field they
are assigned to, but swiotlb_free is already there, to do something
else.
 

No, because xen implements the dma_map_ops with the proper prototypes.
I grepped for all users, and found these are not related.

Thank your for checking
/alessandro
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Alessandro Rubini</dc:creator>
    <dc:date>2012-05-24T18:53:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22261">
    <title>Re: [PATCH] swiotlb: add "dma_attrs" argument to alloc and free, to match dma_map_ops</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22261</link>
    <description>&lt;pre&gt;
This looks sane (although I haven't tested it).  For the OCTEON bits:

Acked-by: David Daney &amp;lt;david.daney&amp;lt; at &amp;gt;cavium.com&amp;gt;


--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>David Daney</dc:creator>
    <dc:date>2012-05-24T15:15:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22260">
    <title>Activate your free commission shop now Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22260</link>
    <description>&lt;pre&gt;Email        :kimtan&amp;lt; at &amp;gt;gmail.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

Hey,

Your commission shop is ready.
Activate your free commission shop now:

==&amp;gt; http://bit.ly/KUXNMS

In a few minutes, your commission shop will be ready, 
attracting buyers from all around the world.

And each shop is designed to suck commissions and sales 
for you automatically. 

This is the first time this revolutionary technique is applied.

So don't delay. Activate your commission shop now:

==&amp;gt; http://bit.ly/KUXNMS

Sincerely,
Kim Tan



--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>kimtan&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2012-05-24T12:01:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22259">
    <title>[PATCH] swiotlb: add "dma_attrs" argument to alloc and free, to match dma_map_ops</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22259</link>
    <description>&lt;pre&gt;The alloc and free pointers within "struct dma_map_ops" receive a
pointer to dma_attrs that was not present in the generic swiotlb
functions.  For this reason, a few files had a local wrapper for the
free function that just removes the attrs argument before calling the
generic function.

This patch adds the extra argument to generic functions and removes
such wrappers when they are no more needed.  This also fixes a
compiler warning for sta2x11-fixup.c, that would have required yet
another wrapper.

Signed-off-by: Alessandro Rubini &amp;lt;rubini&amp;lt; at &amp;gt;gnudd.com&amp;gt;
Acked-by: Giancarlo Asnaghi &amp;lt;giancarlo.asnaghi&amp;lt; at &amp;gt;st.com&amp;gt;
Cc: Tony Luck &amp;lt;tony.luck&amp;lt; at &amp;gt;intel.com&amp;gt;
Cc: Fenghua Yu &amp;lt;fenghua.yu&amp;lt; at &amp;gt;intel.com&amp;gt;
Cc: Ralf Baechle &amp;lt;ralf&amp;lt; at &amp;gt;linux-mips.org&amp;gt;
Cc: Guan Xuetao &amp;lt;gxt&amp;lt; at &amp;gt;mprc.pku.edu.cn&amp;gt;
Cc: Thomas Gleixner &amp;lt;tglx&amp;lt; at &amp;gt;linutronix.de&amp;gt;
Cc: Kyungmin Park &amp;lt;kyungmin.park&amp;lt; at &amp;gt;samsung.com&amp;gt;
Cc: FUJITA Tomonori &amp;lt;fujita.tomonori&amp;lt; at &amp;gt;lab.ntt.co.jp&amp;gt;
Cc: Konrad Rzeszutek Wilk &amp;lt;konrad.wilk&amp;lt; at &amp;gt;oracle.com&amp;gt;
---
 arch/ia64/kernel/pci-swiotlb.c       |   11 ++---------
 arch/mips/cavium-octeon/dma-octeon.c |    4 ++--
 arch/unicore32/mm/dma-swiotlb.c      |   22 ++--------------------
 arch/x86/kernel/pci-swiotlb.c        |   11 ++---------
 arch/x86/pci/sta2x11-fixup.c         |    3 ++-
 include/linux/swiotlb.h              |    7 ++++---
 lib/swiotlb.c                        |    5 +++--
 7 files changed, 17 insertions(+), 46 deletions(-)

diff --git a/arch/ia64/kernel/pci-swiotlb.c b/arch/ia64/kernel/pci-swiotlb.c
index 939260a..cc034c2 100644
--- a/arch/ia64/kernel/pci-swiotlb.c
+++ b/arch/ia64/kernel/pci-swiotlb.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -20,19 +20,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void *ia64_swiotlb_alloc_coherent(struct device *dev, size_t size,
 {
 if (dev-&amp;gt;coherent_dma_mask != DMA_BIT_MASK(64))
 gfp |= GFP_DMA;
-return swiotlb_alloc_coherent(dev, size, dma_handle, gfp);
-}
-
-static void ia64_swiotlb_free_coherent(struct device *dev, size_t size,
-       void *vaddr, dma_addr_t dma_addr,
-       struct dma_attrs *attrs)
-{
-swiotlb_free_coherent(dev, size, vaddr, dma_addr);
+return swiotlb_alloc_coherent(dev, size, dma_handle, gfp, attrs);
 }
 
 struct dma_map_ops swiotlb_dma_ops = {
 .alloc = ia64_swiotlb_alloc_coherent,
-.free = ia64_swiotlb_free_coherent,
+.free = swiotlb_free_coherent,
 .map_page = swiotlb_map_page,
 .unmap_page = swiotlb_unmap_page,
 .map_sg = swiotlb_map_sg_attrs,
diff --git a/arch/mips/cavium-octeon/dma-octeon.c b/arch/mips/cavium-octeon/dma-octeon.c
index 41dd0088..df70600 100644
--- a/arch/mips/cavium-octeon/dma-octeon.c
+++ b/arch/mips/cavium-octeon/dma-octeon.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -184,7 +184,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void *octeon_dma_alloc_coherent(struct device *dev, size_t size,
 /* Don't invoke OOM killer */
 gfp |= __GFP_NORETRY;
 
-ret = swiotlb_alloc_coherent(dev, size, dma_handle, gfp);
+ret = swiotlb_alloc_coherent(dev, size, dma_handle, gfp, attrs);
 
 mb();
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -199,7 +199,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void octeon_dma_free_coherent(struct device *dev, size_t size,
 if (dma_release_from_coherent(dev, order, vaddr))
 return;
 
-swiotlb_free_coherent(dev, size, vaddr, dma_handle);
+swiotlb_free_coherent(dev, size, vaddr, dma_handle, attrs);
 }
 
 static dma_addr_t octeon_unity_phys_to_dma(struct device *dev, phys_addr_t paddr)
diff --git a/arch/unicore32/mm/dma-swiotlb.c b/arch/unicore32/mm/dma-swiotlb.c
index 16c08b2..86eaae7 100644
--- a/arch/unicore32/mm/dma-swiotlb.c
+++ b/arch/unicore32/mm/dma-swiotlb.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -8,32 +8,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * Free Software Foundation;  either version 2 of the  License, or (at your
  * option) any later version.
  */
-#include &amp;lt;linux/pci.h&amp;gt;
-#include &amp;lt;linux/cache.h&amp;gt;
-#include &amp;lt;linux/module.h&amp;gt;
 #include &amp;lt;linux/dma-mapping.h&amp;gt;
 #include &amp;lt;linux/swiotlb.h&amp;gt;
-#include &amp;lt;linux/bootmem.h&amp;gt;
 
 #include &amp;lt;asm/dma.h&amp;gt;
 
-static void *unicore_swiotlb_alloc_coherent(struct device *dev, size_t size,
-    dma_addr_t *dma_handle, gfp_t flags,
-    struct dma_attrs *attrs)
-{
-return swiotlb_alloc_coherent(dev, size, dma_handle, flags);
-}
-
-static void unicore_swiotlb_free_coherent(struct device *dev, size_t size,
-  void *vaddr, dma_addr_t dma_addr,
-  struct dma_attrs *attrs)
-{
-swiotlb_free_coherent(dev, size, vaddr, dma_addr);
-}
-
 struct dma_map_ops swiotlb_dma_map_ops = {
-.alloc = unicore_swiotlb_alloc_coherent,
-.free = unicore_swiotlb_free_coherent,
+.alloc = swiotlb_alloc_coherent,
+.free = swiotlb_free_coherent,
 .map_sg = swiotlb_map_sg_attrs,
 .unmap_sg = swiotlb_unmap_sg_attrs,
 .dma_supported = swiotlb_dma_supported,
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c
index 6c483ba..fa462a3 100644
--- a/arch/x86/kernel/pci-swiotlb.c
+++ b/arch/x86/kernel/pci-swiotlb.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -25,20 +25,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void *x86_swiotlb_alloc_coherent(struct device *hwdev, size_t size,
 if (vaddr)
 return vaddr;
 
-return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags);
-}
-
-static void x86_swiotlb_free_coherent(struct device *dev, size_t size,
-      void *vaddr, dma_addr_t dma_addr,
-      struct dma_attrs *attrs)
-{
-swiotlb_free_coherent(dev, size, vaddr, dma_addr);
+return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags, attrs);
 }
 
 static struct dma_map_ops swiotlb_dma_ops = {
 .mapping_error = swiotlb_dma_mapping_error,
 .alloc = x86_swiotlb_alloc_coherent,
-.free = x86_swiotlb_free_coherent,
+.free = swiotlb_free_coherent,
 .sync_single_for_cpu = swiotlb_sync_single_for_cpu,
 .sync_single_for_device = swiotlb_sync_single_for_device,
 .sync_sg_for_cpu = swiotlb_sync_sg_for_cpu,
diff --git a/arch/x86/pci/sta2x11-fixup.c b/arch/x86/pci/sta2x11-fixup.c
index 9d8a509..5aaa434 100644
--- a/arch/x86/pci/sta2x11-fixup.c
+++ b/arch/x86/pci/sta2x11-fixup.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -175,7 +175,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void *sta2x11_swiotlb_alloc_coherent(struct device *dev,
 
 vaddr = dma_generic_alloc_coherent(dev, size, dma_handle, flags, attrs);
 if (!vaddr)
-vaddr = swiotlb_alloc_coherent(dev, size, dma_handle, flags);
+vaddr = swiotlb_alloc_coherent(dev, size, dma_handle, flags,
+       attrs);
 *dma_handle = p2a(*dma_handle, to_pci_dev(dev));
 return vaddr;
 }
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index e872526..5abe3fd 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -50,11 +50,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; extern void swiotlb_bounce(phys_addr_t phys, char *dma_addr, size_t size,
 
 extern void
 *swiotlb_alloc_coherent(struct device *hwdev, size_t size,
-dma_addr_t *dma_handle, gfp_t flags);
+dma_addr_t *dma_handle, gfp_t flags,
+struct dma_attrs *attrs);
 
 extern void
-swiotlb_free_coherent(struct device *hwdev, size_t size,
-      void *vaddr, dma_addr_t dma_handle);
+swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr,
+      dma_addr_t dma_handle, struct dma_attrs *attrs);
 
 extern dma_addr_t swiotlb_map_page(struct device *dev, struct page *page,
    unsigned long offset, size_t size,
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 45bc1f8..476b553 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -563,7 +563,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; EXPORT_SYMBOL_GPL(swiotlb_tbl_sync_single);
 
 void *
 swiotlb_alloc_coherent(struct device *hwdev, size_t size,
-       dma_addr_t *dma_handle, gfp_t flags)
+       dma_addr_t *dma_handle, gfp_t flags,
+       struct dma_attrs *attrs)
 {
 dma_addr_t dev_addr;
 void *ret;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -612,7 +613,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; EXPORT_SYMBOL(swiotlb_alloc_coherent);
 
 void
 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr,
-      dma_addr_t dev_addr)
+      dma_addr_t dev_addr, struct dma_attrs *attrs)
 {
 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr);
 
&lt;/pre&gt;</description>
    <dc:creator>Alessandro Rubini</dc:creator>
    <dc:date>2012-05-24T11:44:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22258">
    <title>Activate your free commission shop now Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22258</link>
    <description>&lt;pre&gt;Email        :kimtan&amp;lt; at &amp;gt;gmail.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

Hey,

Your commission shop is ready.
Activate your free commission shop now:

==&amp;gt; http://bit.ly/KUXNMS

In a few minutes, your commission shop will be ready, 
attracting buyers from all around the world.

And each shop is designed to suck commissions and sales 
for you automatically. 

This is the first time this revolutionary technique is applied.

So don't delay. Activate your commission shop now:

==&amp;gt; http://bit.ly/KUXNMS

Sincerely,
Kim Tan



--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>kimtan&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2012-05-24T06:03:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22257">
    <title>[Training] Here's how to profit $600 a day Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22257</link>
    <description>&lt;pre&gt;Email        :christian&amp;lt; at &amp;gt;aol.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

Hey,

I've got a treat for you today.

You're about to receive INSTANT
ACCESS to some free training on
how you can profit up to $600 a day

=&amp;gt; http://www.bank-blogging.com/?code=4fbce89b05ddc 


There is no cost. 

Talk Soon,

Christian



=&amp;gt; http://www.bank-blogging.com/?code=4fbce89b05ddc 



--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>christian&lt; at &gt;aol.com</dc:creator>
    <dc:date>2012-05-23T20:15:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22256">
    <title>[Training] Here's how to profit $600 a day Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22256</link>
    <description>&lt;pre&gt;Email        :christian&amp;lt; at &amp;gt;aol.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

Hey,

I've got a treat for you today.

You're about to receive INSTANT
ACCESS to some free training on
how you can profit up to $600 a day

=&amp;gt; http://www.bank-blogging.com/?code=4fbce89b05ddc 


There is no cost. 

Talk Soon,

Christian



=&amp;gt; http://www.bank-blogging.com/?code=4fbce89b05ddc 



--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>christian&lt; at &gt;aol.com</dc:creator>
    <dc:date>2012-05-23T16:36:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22255">
    <title>You have been chosen: (Potential Income) Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22255</link>
    <description>&lt;pre&gt;Email        :christine&amp;lt; at &amp;gt;yahoo.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

You have been picked to be an exclusive online profits case study.

You will be taught personally from a $2,192,289 online marketer.

This is the same EXACT system.


Never before has this been done.


If you want to be one of the lucky 30 students 

of master Jamie.. be one of 30 lucky actual case studies 

right now by signing up here: 


Christine Sarrosa

The sender of this email receives compensation
when products are purchased. Results will widely vary.
This is an advertisement.


--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>christine&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2012-05-23T08:23:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22254">
    <title>You have been chosen: (Potential Income) Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22254</link>
    <description>&lt;pre&gt;Email        :christine&amp;lt; at &amp;gt;yahoo.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

You have been picked to be an exclusive online profits case study.

You will be taught personally from a $2,192,289 online marketer.

This is the same EXACT system.


Never before has this been done.


If you want to be one of the lucky 30 students 

of master Jamie.. be one of 30 lucky actual case studies 

right now by signing up here: 


Christine Sarrosa

The sender of this email receives compensation
when products are purchased. Results will widely vary.
This is an advertisement.


--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>christine&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2012-05-22T14:09:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22253">
    <title>SHOCKING SYSTEM.(and one weird rule) Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22253</link>
    <description>&lt;pre&gt;Email        :ronrajan&amp;lt; at &amp;gt;yahoo.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :


Hi Friend,

Here's a controversial new system revealing

affiliate marketing's number one rule...

=======&amp;gt;  http://bit.ly/LarThw

During this revealing presentation, this crazy
underground affiliate reveals the BRUTAL TRUTH why
most beginner marketers DON'T make even one cent
online.

Ya, you might say it's a bit controversial...

.BUT if you want to discover the truth about
driving insane amounts of traffic the way the top
super affiliates do it, and find out the number
one rule that's been kept from you all along, then
you need to check out what this guy has to say:

=======&amp;gt;  http://bit.ly/LarThw

This WON'T be available forever so my best advice
is to go check it out right now.

Ron Rajan

P.S. If you've been looking for a STEP BY STEP
system for getting crazy amounts of laser targeted
traffic, then you'll certainly want to check this
out.

Just make sure you pay close attention to the
weird rule he outlines... it's different than most
have been suggesting, but it works like crazy:

=======&amp;gt;  http://bit.ly/LarThw













--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>ronrajan&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2012-05-21T19:20:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22252">
    <title>Hi Friend Your $997 Website Is Ready. Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22252</link>
    <description>&lt;pre&gt;Email        :janderson&amp;lt; at &amp;gt;yahoo.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :

Hi Friend,


Your $997 website is waiting for you!

----&amp;gt; http://bit.ly/KWaw4z

Your website is paid for...

Your hosting is paid for...

It's ready to take orders!

All you need to do is go here to get it!

----&amp;gt; http://bit.ly/KWaw4z

Talk soon

John Anderson



--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>janderson&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2012-05-21T18:19:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22251">
    <title>For your information</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22251</link>
    <description>&lt;pre&gt;Good day, 

My name is Eric Chua, Director at SWIFT Securities Markets, Asia Pacific China. This letter is written to you regarding a fixed investment account under our foreign investment policy.

Being mandatory that holder/beneficiary is periodically notified concerning financial status of account(s), I am writing to this effect since you share the same last name as this investment account. Upon your earliest reply, detail and necessary information will be made available for your reference.

Kind regards,
Eric Chua
SWIFT Securities Markets, 
Asia Pacific China
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Eric Chua</dc:creator>
    <dc:date>2012-05-21T13:23:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22250">
    <title>SHOCKING SYSTEM.(and one weird rule) Recommends Advanced Sports to you</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22250</link>
    <description>&lt;pre&gt;Email        :ronrajan&amp;lt; at &amp;gt;yahoo.com
Friend Name  :Friend
Friend Email :linux-ia64&amp;lt; at &amp;gt;vger.kernel.org
comment      :


Hi Friend,

Here's a controversial new system revealing

affiliate marketing's number one rule...

=======&amp;gt;  http://bit.ly/LarThw

During this revealing presentation, this crazy
underground affiliate reveals the BRUTAL TRUTH why
most beginner marketers DON'T make even one cent
online.

Ya, you might say it's a bit controversial...

.BUT if you want to discover the truth about
driving insane amounts of traffic the way the top
super affiliates do it, and find out the number
one rule that's been kept from you all along, then
you need to check out what this guy has to say:

=======&amp;gt;  http://bit.ly/LarThw

This WON'T be available forever so my best advice
is to go check it out right now.

Ron Rajan

P.S. If you've been looking for a STEP BY STEP
system for getting crazy amounts of laser targeted
traffic, then you'll certainly want to check this
out.

Just make sure you pay close attention to the
weird rule he outlines... it's different than most
have been suggesting, but it works like crazy:

=======&amp;gt;  http://bit.ly/LarThw













--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>ronrajan&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2012-05-21T07:12:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22249">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22249</link>
    <description>&lt;pre&gt;
Ugh, you are right, it is, I thought I had tried that, sorry for the
noise, I'll go apply it now...

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Greg KH</dc:creator>
    <dc:date>2012-05-19T00:53:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22248">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22248</link>
    <description>&lt;pre&gt;

The message you were replying to is such a backported version. :)

Thanks,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Jonathan Nieder</dc:creator>
    <dc:date>2012-05-18T19:37:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22247">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22247</link>
    <description>&lt;pre&gt;
I'd accept it for the 3.0-stable kernel, but it doesn't apply, care to
provide a backported version that does?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Greg KH</dc:creator>
    <dc:date>2012-05-18T19:28:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22246">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22246</link>
    <description>&lt;pre&gt;2012/5/18 Jonathan Nieder &amp;lt;jrnieder&amp;lt; at &amp;gt;gmail.com&amp;gt;:

I didn't understand you were talking about upstream. Thank you for the
clarification. And for pointing out that Gentoo is still alive ;-)

     Emeric
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Émeric Maschino</dc:creator>
    <dc:date>2012-05-18T09:07:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22245">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22245</link>
    <description>&lt;pre&gt;Hi Émeric,

Émeric Maschino wrote:


Gentoo and Linux From Scratch include support for Itanium.  It is also
not too unusual to upgrade some components (especially the kernel) on
an older system when one wants newer features.

My original message was proposing to include this patch in the 3.0.y
and 3.2.y kernels available from kernel.org.  Ben made that change for
3.2.y so it will be included in 3.2.18 (unless some problem comes up
before then).  Sorry for the lack of context.

Ciao,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Jonathan Nieder</dc:creator>
    <dc:date>2012-05-17T22:49:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22244">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22244</link>
    <description>&lt;pre&gt;2012/5/17 Ben Hutchings &amp;lt;ben&amp;lt; at &amp;gt;decadent.org.uk&amp;gt;:

Uh? I thought that Debian was the latest Linux distribution to support IA-64.

     Emeric
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Émeric Maschino</dc:creator>
    <dc:date>2012-05-17T22:11:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.ia64/22243">
    <title>Re: [PATCH 3.0.y, 3.2.y] ia64: Add accept4() syscall</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.ia64/22243</link>
    <description>&lt;pre&gt;[...]

Right, but this is not just for Debian.

Ben.

&lt;/pre&gt;</description>
    <dc:creator>Ben Hutchings</dc:creator>
    <dc:date>2012-05-17T11:46:55</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.ports.ia64">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.ports.ia64</link>
  </textinput>
</rdf:RDF>

