<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Documentation/PCI, branch v3.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-06-19T13:28:56Z</updated>
<entry>
<title>doc: replace "practise" with "practice" in Documentation</title>
<updated>2014-06-19T13:28:56Z</updated>
<author>
<name>Jeremiah Mahler</name>
<email>jmmahler@gmail.com</email>
</author>
<published>2014-05-22T07:04:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=305af08c5398bab6c7029da53eb15d85a53eef0e'/>
<id>urn:sha1:305af08c5398bab6c7029da53eb15d85a53eef0e</id>
<content type='text'>
To keep the Documentation consistent either
"practise" or "practice" should be used.

Since there are 3 lines with "practise"

  ~/linux/Documentation$ grep -r practise * | wc -l
  3

and 108 lines with "practice"

  ~/linux/Documentation$ grep -r practice * | wc -l
  108

this patch converts "practise" to "practice".

Signed-off-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'pci/dead-code' into next</title>
<updated>2014-02-20T21:32:34Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bhelgaas@google.com</email>
</author>
<published>2014-02-20T21:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=02a0947ae458837424c8c77f1922c54678283df7'/>
<id>urn:sha1:02a0947ae458837424c8c77f1922c54678283df7</id>
<content type='text'>
* pci/dead-code:
  PCI: Remove unused SR-IOV VF Migration support
  iommu/amd: Add include of &lt;linux/irqreturn.h&gt;
  mei: Add include of &lt;linux/irqreturn.h&gt;
  misc: mic: Add include of &lt;linux/irqreturn.h&gt;
</content>
</entry>
<entry>
<title>PCI: Remove unused SR-IOV VF Migration support</title>
<updated>2014-02-19T18:28:44Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bhelgaas@google.com</email>
</author>
<published>2014-01-30T18:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=46cb7b1bd86fc227a5325ba8fa4c8be70fade4e8'/>
<id>urn:sha1:46cb7b1bd86fc227a5325ba8fa4c8be70fade4e8</id>
<content type='text'>
This reverts commit 74bb1bcc7dbb ("PCI: handle SR-IOV Virtual Function
Migration"), removing this exported interface:

  pci_sriov_migration()

Since pci_sriov_migration() is unused, it is impossible to schedule
sriov_migration_task() or use any of the other migration infrastructure.

This is based on Stephen Hemminger's patch (see link below), but goes a bit
further.

Link: http://lkml.kernel.org/r/20131227132710.7190647c@nehalam.linuxnetplumber.net
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
CC: Stephen Hemminger &lt;stephen@networkplumber.org&gt;</content>
</entry>
<entry>
<title>PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()</title>
<updated>2014-02-13T17:45:05Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>agordeev@redhat.com</email>
</author>
<published>2014-02-13T14:25:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f7fc32cb2073902b3ee67d036656889ea75ffcb7'/>
<id>urn:sha1:f7fc32cb2073902b3ee67d036656889ea75ffcb7</id>
<content type='text'>
The new functions are special cases for pci_enable_msi_range() and
pci_enable_msix_range() when a particular number of MSI or MSI-X
is needed.

By contrast with pci_enable_msi_range() and pci_enable_msix_range()
functions, pci_enable_msi_exact() and pci_enable_msix_exact()
return zero in case of success, which indicates MSI or MSI-X
interrupts have been successfully allocated.

Signed-off-by: Alexander Gordeev &lt;agordeev@redhat.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>PCI/MSI: Fix cut-and-paste errors in documentation</title>
<updated>2014-02-13T17:45:01Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>agordeev@redhat.com</email>
</author>
<published>2014-02-12T10:35:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fef07277f87735d077c78e12e25639a28d9913ab'/>
<id>urn:sha1:fef07277f87735d077c78e12e25639a28d9913ab</id>
<content type='text'>
Function pci_enable_msi_range() is used in examples where
pci_enable_msix_range() should have been used instead.

Reported-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Alexander Gordeev &lt;agordeev@redhat.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>PCI/MSI: Add pci_enable_msi() documentation back</title>
<updated>2014-02-04T06:08:49Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>agordeev@redhat.com</email>
</author>
<published>2014-01-17T09:26:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9a8b0af9b1dacf1d865d4b8bff7360e5b318481a'/>
<id>urn:sha1:9a8b0af9b1dacf1d865d4b8bff7360e5b318481a</id>
<content type='text'>
We deprecated pci_enable_msi() in 302a2523c277 ("PCI/MSI: Add
pci_enable_msi_range() and pci_enable_msix_range()").

But we changed our minds after noticing that:

  - pci_enable_msi() doesn't have confusing return values like
    pci_enable_msi_block() and pci_enable_msix() did, and

  - pci_enable_msi() has a hundred or so callers that we don't want to
    change.

This adds back the pci_enable_msi() documentation.

[bhelgaas: changelog]
Signed-off-by: Alexander Gordeev &lt;agordeev@redhat.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>Merge branch 'pci/msi' into next</title>
<updated>2014-01-08T00:34:39Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bhelgaas@google.com</email>
</author>
<published>2014-01-08T00:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=04f982beb900f37bc216d63c9dbc5bdddb4a3d3a'/>
<id>urn:sha1:04f982beb900f37bc216d63c9dbc5bdddb4a3d3a</id>
<content type='text'>
* pci/msi:
  PCI/MSI: Add pci_enable_msi_range() and pci_enable_msix_range()
  PCI/MSI: Add pci_msix_vec_count()
  PCI/MSI: Remove pci_enable_msi_block_auto()
  PCI/MSI: Add pci_msi_vec_count()
</content>
</entry>
<entry>
<title>Merge branch 'pci/misc' into next</title>
<updated>2014-01-08T00:34:33Z</updated>
<author>
<name>Bjorn Helgaas</name>
<email>bhelgaas@google.com</email>
</author>
<published>2014-01-08T00:34:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ccb126545448136d36da8661f2941372554015d1'/>
<id>urn:sha1:ccb126545448136d36da8661f2941372554015d1</id>
<content type='text'>
* pci/misc:
  PCI: Update documentation 00-INDEX file
  PCI: Convert ioapic to be builtin only, not modular
</content>
</entry>
<entry>
<title>PCI: Update documentation 00-INDEX file</title>
<updated>2014-01-07T23:37:15Z</updated>
<author>
<name>Erik Ekman</name>
<email>erik@kryo.se</email>
</author>
<published>2014-01-01T21:15:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2a5a829e28c476880b5efc8755ab3b339fdc147'/>
<id>urn:sha1:c2a5a829e28c476880b5efc8755ab3b339fdc147</id>
<content type='text'>
The PCI-DMA-mapping.txt moved to general docs and became DMA-API-HOWTO.txt
in 5e07c2c7301b ("Documentation: rename PCI/PCI-DMA-mapping.txt to
DMA-API-HOWTO.txt").  Add new file about PCI Express I/O Virtualization.

Signed-off-by: Erik Ekman &lt;erik@kryo.se&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>PCI/MSI: Add pci_enable_msi_range() and pci_enable_msix_range()</title>
<updated>2014-01-04T00:17:55Z</updated>
<author>
<name>Alexander Gordeev</name>
<email>agordeev@redhat.com</email>
</author>
<published>2013-12-30T07:28:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=302a2523c277bea0bbe8340312b09507905849ed'/>
<id>urn:sha1:302a2523c277bea0bbe8340312b09507905849ed</id>
<content type='text'>
This adds pci_enable_msi_range(), which supersedes the pci_enable_msi()
and pci_enable_msi_block() MSI interfaces.

It also adds pci_enable_msix_range(), which supersedes the
pci_enable_msix() MSI-X interface.

The old interfaces have three categories of return values:

    negative: failure; caller should not retry
    positive: failure; value indicates number of interrupts that *could*
	have been allocated, and caller may retry with a smaller request
    zero: success; at least as many interrupts allocated as requested

It is error-prone to handle these three cases correctly in drivers.

The new functions return either a negative error code or a number of
successfully allocated MSI/MSI-X interrupts, which is expected to lead to
clearer device driver code.

pci_enable_msi(), pci_enable_msi_block() and pci_enable_msix() still exist
unchanged, but are deprecated and may be removed after callers are updated.

[bhelgaas: tweak changelog]
Suggested-by: Ben Hutchings &lt;bhutchings@solarflare.com&gt;
Signed-off-by: Alexander Gordeev &lt;agordeev@redhat.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Reviewed-by: Tejun Heo &lt;tj@kernel.org&gt;</content>
</entry>
</feed>
