mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 13:11:06 +07:00
96c5590058
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> |
||
---|---|---|
.. | ||
common.c | ||
fixups-cayman.c | ||
fixups-dreamcast.c | ||
fixups-landisk.c | ||
fixups-r7780rp.c | ||
fixups-rts7751r2d.c | ||
fixups-sdk7780.c | ||
fixups-sdk7786.c | ||
fixups-se7751.c | ||
fixups-sh03.c | ||
fixups-snapgear.c | ||
fixups-titan.c | ||
Makefile | ||
ops-dreamcast.c | ||
ops-sh4.c | ||
ops-sh5.c | ||
ops-sh7786.c | ||
pci-dreamcast.c | ||
pci-sh4.h | ||
pci-sh5.c | ||
pci-sh5.h | ||
pci-sh7751.c | ||
pci-sh7751.h | ||
pci-sh7780.c | ||
pci-sh7780.h | ||
pci.c | ||
pcie-sh7786.c | ||
pcie-sh7786.h |