]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Set default pci cache line size.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 22 Nov 2011 14:38:03 +0000 (14:38 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 22 Nov 2011 14:38:03 +0000 (14:38 +0000)
commit67838615f7abd8b5c0f4abb5325edbd547d05302
treee8d728b372bdd4b830bc66c025c139a02c80544f
parent1ddd85308ab681ec9bd84cc25c688c975fe5fc2b
MIPS: Set default pci cache line size.

On MIPS the generic PCI code has always defaulted to L1_CACHE_BYTES
because the architecutre PCI code did not provide a better default.
In particular on systems with S-caches or T-caches this was suboptimal.

Provide a better default by setting pci_dfl_cache_line_size based on
the size of the line size of the lowest level of the cache hierarchy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/2982/
arch/mips/pci/pci.c