[PATCH v2] arm64: Enable PCI write-combine resources under sysfs

2020-09-17 Thread Clint Sbisa
m64 to give userspace on arm64 an equivalent mechanism for utilizing write combining with PCI devices. Cc: Benjamin Herrenschmidt Cc: Bjorn Helgaas Cc: Catalin Marinas Cc: Jason Gunthorpe Cc: Lorenzo Pieralisi Cc: Will Deacon Signed-off-by: Clint Sbisa --- Changes in v2: - Rewrote th

Re: [PATCH] arm64: Enable PCI write-combine resources under sysfs

2020-08-31 Thread Clint Sbisa
On Fri, Aug 21, 2020 at 03:51:54PM +, Clint Sbisa wrote: > 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 wh

Re: [PATCH] arm64: Enable PCI write-combine resources under sysfs

2020-08-27 Thread Clint Sbisa
On Fri, Aug 21, 2020 at 03:51:54PM +, Clint Sbisa wrote: > 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 wh

[PATCH] arm64: Enable PCI write-combine resources under sysfs

2020-08-21 Thread Clint Sbisa
. Signed-off-by: Clint Sbisa --- arch/arm64/include/asm/pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/pci.h b/arch/arm64/include/asm/pci.h index 70b323cf8300..b33ca260e3c9 100644 --- a/arch/arm64/include/asm/pci.h +++ b/arch/arm64/include/asm/pci.h @@ -17,6 +17,7

[PATCH] PCI: Trivial comment fixup for PCI mmap ifdefs

2020-08-21 Thread Clint Sbisa
The else/endif comments for pci_{create,remove}_resource_files were not updated in commit f719582435afe9c7985206e42d804ea6aa315d33 ("PCI: Add pci_mmap_resource_range() and use it for ARM64"). Signed-off-by: Clint Sbisa --- drivers/pci/pci-sysfs.c | 4 ++-- 1 file changed, 2 insert