diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 16:40:47 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 16:40:47 -0400 |
| commit | a0bfb673dca8a2b4324fe11e678ec6d6a9ad67e0 (patch) | |
| tree | b5a473c95d671e6a62fc4520d01a7a4721820794 /Documentation | |
| parent | 92b29b86fe2e183d44eb467e5e74a5f718ef2e43 (diff) | |
| parent | 96499871f45b9126157b1a5c512d6e30f1635225 (diff) | |
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6
* 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (41 commits)
PCI: fix pci_ioremap_bar() on s390
PCI: fix AER capability check
PCI: use pci_find_ext_capability everywhere
PCI: remove #ifdef DEBUG around dev_dbg call
PCI hotplug: fix get_##name return value problem
PCI: document the pcie_aspm kernel parameter
PCI: introduce an pci_ioremap(pdev, barnr) function
powerpc/PCI: Add legacy PCI access via sysfs
PCI: Add ability to mmap legacy_io on some platforms
PCI: probing debug message uniformization
PCI: support PCIe ARI capability
PCI: centralize the capabilities code in probe.c
PCI: centralize the capabilities code in pci-sysfs.c
PCI: fix 64-vbit prefetchable memory resource BARs
PCI: replace cfg space size (256/4096) by macros.
PCI: use resource_size() everywhere.
PCI: use same arg names in PCI_VDEVICE comment
PCI hotplug: rpaphp: make debug var unique
PCI: use %pF instead of print_fn_descriptor_symbol() in quirks.c
PCI: fix hotplug get_##name return value problem
...
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/MSI-HOWTO.txt | 6 | ||||
| -rw-r--r-- | Documentation/PCI/pci.txt | 4 | ||||
| -rw-r--r-- | Documentation/PCI/pcieaer-howto.txt | 11 | ||||
| -rw-r--r-- | Documentation/kernel-parameters.txt | 31 |
4 files changed, 28 insertions, 24 deletions
diff --git a/Documentation/MSI-HOWTO.txt b/Documentation/MSI-HOWTO.txt index a51f693c1541..256defd7e174 100644 --- a/Documentation/MSI-HOWTO.txt +++ b/Documentation/MSI-HOWTO.txt | |||
| @@ -236,10 +236,8 @@ software system can set different pages for controlling accesses to the | |||
| 236 | MSI-X structure. The implementation of MSI support requires the PCI | 236 | MSI-X structure. The implementation of MSI support requires the PCI |
| 237 | subsystem, not a device driver, to maintain full control of the MSI-X | 237 | subsystem, not a device driver, to maintain full control of the MSI-X |
| 238 | table/MSI-X PBA (Pending Bit Array) and MMIO address space of the MSI-X | 238 | table/MSI-X PBA (Pending Bit Array) and MMIO address space of the MSI-X |
| 239 | table/MSI-X PBA. A device driver is prohibited from requesting the MMIO | 239 | table/MSI-X PBA. A device driver should not access the MMIO address |
| 240 | address space of the MSI-X table/MSI-X PBA. Otherwise, the PCI subsystem | 240 | space of the MSI-X table/MSI-X PBA. |
| 241 | will fail enabling MSI-X on its hardware device when it calls the function | ||
| 242 | pci_enable_msix(). | ||
| 243 | 241 | ||
| 244 | 5.3.2 API pci_enable_msix | 242 | 5.3.2 API pci_enable_msix |
| 245 | 243 | ||
diff --git a/Documentation/PCI/pci.txt b/Documentation/PCI/pci.txt index 8d4dc6250c58..fd4907a2968c 100644 --- a/Documentation/PCI/pci.txt +++ b/Documentation/PCI/pci.txt | |||
| @@ -163,6 +163,10 @@ need pass only as many optional fields as necessary: | |||
| 163 | o class and classmask fields default to 0 | 163 | o class and classmask fields default to 0 |
| 164 | o driver_data defaults to 0UL. | 164 | o driver_data defaults to 0UL. |
| 165 | 165 | ||
| 166 | Note that driver_data must match the value used by any of the pci_device_id | ||
| 167 | entries defined in the driver. This makes the driver_data field mandatory | ||
| 168 | if all the pci_device_id entries have a non-zero driver_data value. | ||
| 169 | |||
| 166 | Once added, the driver probe routine will be invoked for any unclaimed | 170 | Once added, the driver probe routine will be invoked for any unclaimed |
| 167 | PCI devices listed in its (newly updated) pci_ids list. | 171 | PCI devices listed in its (newly updated) pci_ids list. |
| 168 | 172 | ||
diff --git a/Documentation/PCI/pcieaer-howto.txt b/Documentation/PCI/pcieaer-howto.txt index 16c251230c82..ddeb14beacc8 100644 --- a/Documentation/PCI/pcieaer-howto.txt +++ b/Documentation/PCI/pcieaer-howto.txt | |||
| @@ -203,22 +203,17 @@ to mmio_enabled. | |||
| 203 | 203 | ||
| 204 | 3.3 helper functions | 204 | 3.3 helper functions |
| 205 | 205 | ||
| 206 | 3.3.1 int pci_find_aer_capability(struct pci_dev *dev); | 206 | 3.3.1 int pci_enable_pcie_error_reporting(struct pci_dev *dev); |
| 207 | pci_find_aer_capability locates the PCI Express AER capability | ||
| 208 | in the device configuration space. If the device doesn't support | ||
| 209 | PCI-Express AER, the function returns 0. | ||
| 210 | |||
| 211 | 3.3.2 int pci_enable_pcie_error_reporting(struct pci_dev *dev); | ||
| 212 | pci_enable_pcie_error_reporting enables the device to send error | 207 | pci_enable_pcie_error_reporting enables the device to send error |
| 213 | messages to root port when an error is detected. Note that devices | 208 | messages to root port when an error is detected. Note that devices |
| 214 | don't enable the error reporting by default, so device drivers need | 209 | don't enable the error reporting by default, so device drivers need |
| 215 | call this function to enable it. | 210 | call this function to enable it. |
| 216 | 211 | ||
| 217 | 3.3.3 int pci_disable_pcie_error_reporting(struct pci_dev *dev); | 212 | 3.3.2 int pci_disable_pcie_error_reporting(struct pci_dev *dev); |
| 218 | pci_disable_pcie_error_reporting disables the device to send error | 213 | pci_disable_pcie_error_reporting disables the device to send error |
| 219 | messages to root port when an error is detected. | 214 | messages to root port when an error is detected. |
| 220 | 215 | ||
| 221 | 3.3.4 int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); | 216 | 3.3.3 int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev); |
| 222 | pci_cleanup_aer_uncorrect_error_status cleanups the uncorrectable | 217 | pci_cleanup_aer_uncorrect_error_status cleanups the uncorrectable |
| 223 | error status register. | 218 | error status register. |
| 224 | 219 | ||
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 0f1544f67400..53ba7c7d82b3 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
| @@ -101,6 +101,7 @@ parameter is applicable: | |||
| 101 | X86-64 X86-64 architecture is enabled. | 101 | X86-64 X86-64 architecture is enabled. |
| 102 | More X86-64 boot options can be found in | 102 | More X86-64 boot options can be found in |
| 103 | Documentation/x86_64/boot-options.txt . | 103 | Documentation/x86_64/boot-options.txt . |
| 104 | X86 Either 32bit or 64bit x86 (same as X86-32+X86-64) | ||
| 104 | 105 | ||
| 105 | In addition, the following text indicates that the option: | 106 | In addition, the following text indicates that the option: |
| 106 | 107 | ||
| @@ -1588,7 +1589,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 1588 | See also Documentation/paride.txt. | 1589 | See also Documentation/paride.txt. |
| 1589 | 1590 | ||
| 1590 | pci=option[,option...] [PCI] various PCI subsystem options: | 1591 | pci=option[,option...] [PCI] various PCI subsystem options: |
| 1591 | off [X86-32] don't probe for the PCI bus | 1592 | off [X86] don't probe for the PCI bus |
| 1592 | bios [X86-32] force use of PCI BIOS, don't access | 1593 | bios [X86-32] force use of PCI BIOS, don't access |
| 1593 | the hardware directly. Use this if your machine | 1594 | the hardware directly. Use this if your machine |
| 1594 | has a non-standard PCI host bridge. | 1595 | has a non-standard PCI host bridge. |
| @@ -1596,9 +1597,9 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 1596 | hardware access methods are allowed. Use this | 1597 | hardware access methods are allowed. Use this |
| 1597 | if you experience crashes upon bootup and you | 1598 | if you experience crashes upon bootup and you |
| 1598 | suspect they are caused by the BIOS. | 1599 | suspect they are caused by the BIOS. |
| 1599 | conf1 [X86-32] Force use of PCI Configuration | 1600 | conf1 [X86] Force use of PCI Configuration |
| 1600 | Mechanism 1. | 1601 | Mechanism 1. |
| 1601 | conf2 [X86-32] Force use of PCI Configuration | 1602 | conf2 [X86] Force use of PCI Configuration |
| 1602 | Mechanism 2. | 1603 | Mechanism 2. |
| 1603 | noaer [PCIE] If the PCIEAER kernel config parameter is | 1604 | noaer [PCIE] If the PCIEAER kernel config parameter is |
| 1604 | enabled, this kernel boot option can be used to | 1605 | enabled, this kernel boot option can be used to |
| @@ -1618,37 +1619,37 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 1618 | this option if the kernel is unable to allocate | 1619 | this option if the kernel is unable to allocate |
| 1619 | IRQs or discover secondary PCI buses on your | 1620 | IRQs or discover secondary PCI buses on your |
| 1620 | motherboard. | 1621 | motherboard. |
| 1621 | rom [X86-32] Assign address space to expansion ROMs. | 1622 | rom [X86] Assign address space to expansion ROMs. |
| 1622 | Use with caution as certain devices share | 1623 | Use with caution as certain devices share |
| 1623 | address decoders between ROMs and other | 1624 | address decoders between ROMs and other |
| 1624 | resources. | 1625 | resources. |
| 1625 | norom [X86-32,X86_64] Do not assign address space to | 1626 | norom [X86] Do not assign address space to |
| 1626 | expansion ROMs that do not already have | 1627 | expansion ROMs that do not already have |
| 1627 | BIOS assigned address ranges. | 1628 | BIOS assigned address ranges. |
| 1628 | irqmask=0xMMMM [X86-32] Set a bit mask of IRQs allowed to be | 1629 | irqmask=0xMMMM [X86] Set a bit mask of IRQs allowed to be |
| 1629 | assigned automatically to PCI devices. You can | 1630 | assigned automatically to PCI devices. You can |
| 1630 | make the kernel exclude IRQs of your ISA cards | 1631 | make the kernel exclude IRQs of your ISA cards |
| 1631 | this way. | 1632 | this way. |
| 1632 | pirqaddr=0xAAAAA [X86-32] Specify the physical address | 1633 | pirqaddr=0xAAAAA [X86] Specify the physical address |
| 1633 | of the PIRQ table (normally generated | 1634 | of the PIRQ table (normally generated |
| 1634 | by the BIOS) if it is outside the | 1635 | by the BIOS) if it is outside the |
| 1635 | F0000h-100000h range. | 1636 | F0000h-100000h range. |
| 1636 | lastbus=N [X86-32] Scan all buses thru bus #N. Can be | 1637 | lastbus=N [X86] Scan all buses thru bus #N. Can be |
| 1637 | useful if the kernel is unable to find your | 1638 | useful if the kernel is unable to find your |
| 1638 | secondary buses and you want to tell it | 1639 | secondary buses and you want to tell it |
| 1639 | explicitly which ones they are. | 1640 | explicitly which ones they are. |
| 1640 | assign-busses [X86-32] Always assign all PCI bus | 1641 | assign-busses [X86] Always assign all PCI bus |
| 1641 | numbers ourselves, overriding | 1642 | numbers ourselves, overriding |
| 1642 | whatever the firmware may have done. | 1643 | whatever the firmware may have done. |
| 1643 | usepirqmask [X86-32] Honor the possible IRQ mask stored | 1644 | usepirqmask [X86] Honor the possible IRQ mask stored |
| 1644 | in the BIOS $PIR table. This is needed on | 1645 | in the BIOS $PIR table. This is needed on |
| 1645 | some systems with broken BIOSes, notably | 1646 | some systems with broken BIOSes, notably |
| 1646 | some HP Pavilion N5400 and Omnibook XE3 | 1647 | some HP Pavilion N5400 and Omnibook XE3 |
| 1647 | notebooks. This will have no effect if ACPI | 1648 | notebooks. This will have no effect if ACPI |
| 1648 | IRQ routing is enabled. | 1649 | IRQ routing is enabled. |
| 1649 | noacpi [X86-32] Do not use ACPI for IRQ routing | 1650 | noacpi [X86] Do not use ACPI for IRQ routing |
| 1650 | or for PCI scanning. | 1651 | or for PCI scanning. |
| 1651 | use_crs [X86-32] Use _CRS for PCI resource | 1652 | use_crs [X86] Use _CRS for PCI resource |
| 1652 | allocation. | 1653 | allocation. |
| 1653 | routeirq Do IRQ routing for all PCI devices. | 1654 | routeirq Do IRQ routing for all PCI devices. |
| 1654 | This is normally done in pci_enable_device(), | 1655 | This is normally done in pci_enable_device(), |
| @@ -1677,6 +1678,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
| 1677 | reserved for the CardBus bridge's memory | 1678 | reserved for the CardBus bridge's memory |
| 1678 | window. The default value is 64 megabytes. | 1679 | window. The default value is 64 megabytes. |
| 1679 | 1680 | ||
| 1681 | pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power | ||
| 1682 | Management. | ||
| 1683 | off Disable ASPM. | ||
| 1684 | force Enable ASPM even on devices that claim not to support it. | ||
| 1685 | WARNING: Forcing ASPM on may cause system lockups. | ||
| 1686 | |||
| 1680 | pcmv= [HW,PCMCIA] BadgePAD 4 | 1687 | pcmv= [HW,PCMCIA] BadgePAD 4 |
| 1681 | 1688 | ||
| 1682 | pd. [PARIDE] | 1689 | pd. [PARIDE] |
