arm64: Enable PCI write-combine resources under sysfs
PATCH 1/1 arm64: Enable PCI write-combine resources under sysfs
Using write-combine is crucial for performance of PCI devices where significant amounts of transactions go over PCI BARs.
arm64 supports write-combine PCI mappings, so the appropriate define has been added which will expose write-combine mappings under sysfs for prefetchable PCI resources.
--- arch/arm64/include/asm/pci.h | 1 + 1 file changed, 1 insertion(+)
arch/arm64/include/asm/pci.h +1 -0
@@ -17,6 +17,7 @@#define pcibios_assign_all_busses () \ (pci_has_flag(PCI_REASSIGN_ALL_BUS)) +#define arch_can_pci_mmap_wc () 1#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1extern int isa_dma_bridge_buggy;
Signature · 1 line
2.23.3
Quoted 27 lines · Clint Sbisa
Using write-combine is crucial for performance of PCI devices where significant amounts of transactions go over PCI BARs.
arm64 supports write-combine PCI mappings, so the appropriate define has been added which will expose write-combine mappings under sysfs for prefetchable PCI resources.
Signed-off-by Clint Sbisa <[email protected]>--- arch/arm64/include/asm/pci.h | 1 + 1 file changed, 1 insertion(+)arch/arm64/include/asm/pci.h +1
-0@@ -17,6 +17,7 @@#define pcibios_assign_all_busses () \ (pci_has_flag(PCI_REASSIGN_ALL_BUS)) +#define arch_can_pci_mmap_wc () 1#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1extern int isa_dma_bridge_buggy;Signature · 1 line
2.23.3
Ping. Let me know if any more info is needed.
Clint
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 27 lines · Clint Sbisa
Using write-combine is crucial for performance of PCI devices where significant amounts of transactions go over PCI BARs.
arm64 supports write-combine PCI mappings, so the appropriate define has been added which will expose write-combine mappings under sysfs for prefetchable PCI resources.
Signed-off-by Clint Sbisa <[email protected]>--- arch/arm64/include/asm/pci.h | 1 + 1 file changed, 1 insertion(+)arch/arm64/include/asm/pci.h +1
-0@@ -17,6 +17,7 @@#define pcibios_assign_all_busses () \ (pci_has_flag(PCI_REASSIGN_ALL_BUS)) +#define arch_can_pci_mmap_wc () 1#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1extern int isa_dma_bridge_buggy;Signature · 1 line
2.23.3
Please disregard this submission, I'm resubmitting it to more appropriate maintainers than what was suggested by the get_maintainer script.
Clint