25 Jan, 2013

1 commit

  • The new function pci_enable_msi_block_auto() tries to allocate
    maximum possible number of MSIs up to the number the device
    supports. It generalizes a pattern when pci_enable_msi_block()
    is contiguously called until it succeeds or fails.

    Opposite to pci_enable_msi_block() which takes the number of
    MSIs to allocate as a input parameter,
    pci_enable_msi_block_auto() could be used by device drivers to
    obtain the number of assigned MSIs and the number of MSIs the
    device supports.

    Signed-off-by: Alexander Gordeev
    Acked-by: Bjorn Helgaas
    Cc: Suresh Siddha
    Cc: Yinghai Lu
    Cc: Matthew Wilcox
    Cc: Jeff Garzik
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/c3de2419df94a0f95ca1a6f755afc421486455e6.1353324359.git.agordeev@redhat.com
    Signed-off-by: Ingo Molnar

    Alexander Gordeev
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from the kernel documentation.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

29 Nov, 2012

1 commit


28 Sep, 2011

1 commit

  • There are numerous broken references to Documentation files (in other
    Documentation files, in comments, etc.). These broken references are
    caused by typo's in the references, and by renames or removals of the
    Documentation files. Some broken references are simply odd.

    Fix these broken references, sometimes by dropping the irrelevant text
    they were part of.

    Signed-off-by: Paul Bolle
    Signed-off-by: Jiri Kosina

    Paul Bolle
     

03 Aug, 2011

16 commits


31 Mar, 2011

1 commit


12 Jul, 2010

1 commit


22 May, 2010

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (36 commits)
    PCI: hotplug: pciehp: Removed check for hotplug of display devices
    PCI: read memory ranges out of Broadcom CNB20LE host bridge
    PCI: Allow manual resource allocation for PCI hotplug bridges
    x86/PCI: make ACPI MCFG reserved error messages ACPI specific
    PCI hotplug: Use kmemdup
    PM/PCI: Update PCI power management documentation
    PCI: output FW warning in pci_read/write_vpd
    PCI: fix typos pci_device_dis/enable to pci_dis/enable_device in comments
    PCI quirks: disable msi on AMD rs4xx internal gfx bridges
    PCI: Disable MSI for MCP55 on P5N32-E SLI
    x86/PCI: irq and pci_ids patch for additional Intel Cougar Point DeviceIDs
    PCI: aerdrv: trivial cleanup for aerdrv_core.c
    PCI: aerdrv: trivial cleanup for aerdrv.c
    PCI: aerdrv: introduce default_downstream_reset_link
    PCI: aerdrv: rework find_aer_service
    PCI: aerdrv: remove is_downstream
    PCI: aerdrv: remove magical ROOT_ERR_STATUS_MASKS
    PCI: aerdrv: redefine PCI_ERR_ROOT_*_SRC
    PCI: aerdrv: rework do_recovery
    PCI: aerdrv: rework get_e_source()
    ...

    Linus Torvalds
     

12 May, 2010

2 commits

  • I noticed that when I inject a fatal error to an endpoint via
    aer-inject, aer_root_reset() is called as reset_link for a
    downstream port at upstream of the endpoint:

    pcieport 0000:00:06.0: AER: Uncorrected (Fatal) error received: id=5401
    :
    pcieport 0000:52:02.0: Root Port link has been reset

    It externally appears to be working, but internally issues some
    accesses to PCI_ERR_ROOT_COMMAND/STATUS registers that is for
    root port so not available on downstream port.

    This patch introduces default_downstream_reset_link that is
    a version of aer_root_reset() with no accesses to root port's
    register. It is used for downstream ports that has no reset_link
    function its specific.

    This patch also updates related description in pcieaer-howto.txt.
    Some minor fixes are included.

    Signed-off-by: Hidetoshi Seto
    Reviewed-by: Kenji Kaneshige
    Signed-off-by: Jesse Barnes

    Hidetoshi Seto
     
  • Follow new format.

    Signed-off-by: Hidetoshi Seto
    Reviewed-by: Kenji Kaneshige
    Signed-off-by: Jesse Barnes

    Hidetoshi Seto
     

23 Apr, 2010

1 commit


25 Mar, 2010

1 commit


13 Mar, 2010

1 commit


03 Jan, 2010

1 commit


10 Sep, 2009

1 commit

  • The attached patch updates the Documentation/PCI/pci-error-recovery.txt
    file with changes related to this new bit field, as well a few unrelated
    updates.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Mike Mason
    Signed-off-by: Richard Lary
    Signed-off-by: Jesse Barnes

    Mike Mason
     

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

    Huang Ying
     
  • 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

    Zhang, Yanmin
     
  • 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

    Huang Ying
     

21 Mar, 2009

4 commits


14 Feb, 2009

1 commit


08 Jan, 2009

1 commit


15 Nov, 2008

1 commit