17 Jun, 2009
3 commits
-
Debugging PCIE AER code can be very difficult because it is hard
to trigger various real hardware errors. This patch provide a
software based error injection tool, which can fake various PCIE
errors with a user space helper tool named "aer-inject". Which
can be gotten from:http://www.kernel.org/pub/linux/kernel/people/yhuang/
The patch fakes AER error by faking some PCIE AER related
registers and an AER interrupt for specified the PCIE device.Signed-off-by: Huang Ying
Signed-off-by: Jesse Barnes -
When the bus id part of error source id is equal to 0 or nosourceid=1,
make the kernel probe the AER status registers of all devices under the
root port to find the initial error reporter.Reviewed-by: Andrew Patterson
Signed-off-by: Zhang Yanmin
Signed-off-by: Jesse Barnes -
This patch adds a minimal HOWTO for PCIE AER software error injection
in Documentation/PCI/pcieaer-howto.txt.Signed-off-by: Huang Ying
Signed-off-by: Jesse Barnes
21 Mar, 2009
4 commits
-
Encourage driver writers to think about supporting a variable number
of MSI-X interrupts, and give an example of how to do such a
request.Acked-by: Matthew Wilcox
Signed-off-by: Michael Ellerman
Signed-off-by: Jesse Barnes -
Reviewed-by: Randy Dunlap
Reviewed-by: Matthew Wilcox
Signed-off-by: Yu Zhao
Signed-off-by: Jesse Barnes -
Add the new API pci_enable_msi_block() to allow drivers to
request multiple MSI and reimplement pci_enable_msi in terms of
pci_enable_msi_block. Ensure that the architecture back ends don't
have to know about multiple MSI.Signed-off-by: Matthew Wilcox
Signed-off-by: Jesse Barnes -
I didn't find the previous version very useful, so I rewrote it.
Signed-off-by: Matthew Wilcox
Reviewed-by: Randy Dunlap
Reviewed-by: Grant Grundler
Signed-off-by: Jesse Barnes
14 Feb, 2009
1 commit
-
Update doc to correctly refer to replacing the pci_register_driver API,
and not the non-existent "pci_module_init" API.Signed-off-by: Alex Chiang
Signed-off-by: Jesse Barnes
08 Jan, 2009
1 commit
-
During an online device reset it may be useful to disable bus-mastering.
pci_disable_device() does that, and far more besides, so is not suitable
for an online reset.Add pci_clear_master() which does just this.
Signed-off-by: Ben Hutchings
Reviewed-by: Matthew Wilcox
Signed-off-by: Jesse Barnes
15 Nov, 2008
1 commit
-
Create Documentation/blockdev/ sub-directory and populate it.
Populate the Documentation/serial/ sub-directory.
Move MSI-HOWTO.txt to Documentation/PCI/.
Move ioctl-number.txt to Documentation/ioctl/.
Update all relevant 00-INDEX files.
Update all relevant Kconfig files and source files.Signed-off-by: Randy Dunlap
21 Oct, 2008
2 commits
-
The 'use pci_find_ext_capability everywhere' cleanup brought a new bug,
which makes the AER stop working. Fix it by actually using find_ext_cap
instead of just find_cap. Drop the unused config space size define while
we're at it.Signed-off-by: Yu Zhao
Signed-off-by: Jesse Barnes -
Only accept dynids whose driver_data value matches one of the driver's
pci_driver_id entries. This prevents the user from accidentally passing
values the drivers do not expect.Cc: Milton Miller
Acked-by: Greg Kroah-Hartman
Signed-off-by: Jean Delvare
Signed-off-by: Jesse Barnes
21 Apr, 2008
1 commit
-
Create Documentation/PCI/ and move PCI-related files to it.
Fix a few instances of trailing whitespace.
Update references to the new file locations.Signed-off-by: Randy Dunlap
Cc: Jesse Barnes
Signed-off-by: Greg Kroah-Hartman