linux_dsm_epyc7002/arch/sh/drivers/pci
Myron Stowe 96c5590058 PCI: Pull PCI 'latency timer' setup up into the core
The 'latency timer' of PCI devices, both Type 0 and Type 1,
is setup in architecture-specific code [see: 'pcibios_set_master()'].
There are two approaches being taken by all the architectures - check
if the 'latency timer' is currently set between 16 and 255 and if not
bring it within bounds, or, do nothing (and then there is the
gratuitously different PA-RISC implementation).

There is nothing architecture-specific about PCI's 'latency timer' so
this patch pulls its setup functionality up into the PCI core by
creating a generic 'pcibios_set_master()' function using the '__weak'
attribute which can be used by all architectures as a default which,
if necessary, can then be over-ridden by architecture-specific code.

No functional change.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2012-01-06 12:10:42 -08:00
..
common.c sh: Fix up early PCI PERR/SERR IRQ handling. 2010-02-03 16:46:20 +09:00
fixups-cayman.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-dreamcast.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-landisk.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-r7780rp.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-rts7751r2d.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-sdk7780.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-sdk7786.c sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786. 2010-10-14 08:44:55 +09:00
fixups-se7751.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-sh03.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-snapgear.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
fixups-titan.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
Makefile sh: pci: Support slot 4 routing on SDK7786. 2010-10-14 07:37:01 +09:00
ops-dreamcast.c sh: pci: remove duplicated #include's 2009-06-14 17:48:43 +09:00
ops-sh4.c sh: pci: Use a generic raw spinlock for PCI config access locking. 2010-09-20 18:56:13 +09:00
ops-sh5.c sh: pci: Kill off legacy ide quirks. 2009-04-20 19:54:47 +09:00
ops-sh7786.c sh: pci: Use a generic raw spinlock for PCI config access locking. 2010-09-20 18:56:13 +09:00
pci-dreamcast.c sh: Improved multi-resource handling for SH7780 PCI. 2010-02-01 20:01:50 +09:00
pci-sh4.h sh: Kill off broken type 1 PCI config access checks. 2010-01-30 01:41:21 +09:00
pci-sh5.c SH: irq: Remove IRQF_DISABLED 2011-10-28 14:39:28 +09:00
pci-sh5.h sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
pci-sh7751.c sh: Fix typos in PCI initialization message 2010-06-23 09:09:56 +01:00
pci-sh7751.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pci-sh7780.c SH: irq: Remove IRQF_DISABLED 2011-10-28 14:39:28 +09:00
pci-sh7780.h sh: pci: Move Renesas PCI IDs to a better place. 2010-09-20 15:37:25 +09:00
pci.c PCI: Pull PCI 'latency timer' setup up into the core 2012-01-06 12:10:42 -08:00
pcie-sh7786.c PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. 2011-07-22 08:26:06 -07:00
pcie-sh7786.h sh: pci: Convert to upper/lower_32_bits() helpers. 2010-10-15 06:15:56 +09:00