]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SPARC64: Enable IOMMU bypass for IB
authorAllen Pais <allen.pais@oracle.com>
Tue, 16 May 2017 07:14:47 +0000 (12:44 +0530)
committerAllen Pais <allen.pais@oracle.com>
Tue, 16 May 2017 07:14:47 +0000 (12:44 +0530)
commit85daae1091c28c57e0feccaf4b714c8292d6d625
treeaaae3d4057a9d93dc72198b55fb3792a298f0d50
parent615d721f4a13bee8bd4c9445ff6d9f8a90ed9410
SPARC64: Enable IOMMU bypass for IB

This change enables IOMMU bypass for Infiniband devices to workaround
the rds-stress performance issue. The performance slowdown is only
seen with rds-stress test. This test generates rigorous amount of dma
map/unmap calls.  Investigation shows that somewhere IOMMU/ATU code
doesn't scale and appears to be a bottleneck.

This is for uek4 only and not for upstream. When IOMMU/ATU issue gets
resolved, this workaround will be reverted.

Orabug: 25573557

Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/pci_sun4v.c