amd-xgbe: Update DMA coherency values
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Thu, 25 Mar 2021 03:09:12 +0000 (08:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 06:22:34 +0000 (08:22 +0200)
commit3cb7c978e222b7a12dc2b496d64fe918ef1e8631
tree01471b5bf10c4cd8e6bc9536e0389cd433ee22fd
parent17f6a7fe662676dc241986ebb272a691552b291a
amd-xgbe: Update DMA coherency values

[ Upstream commit d75135082698140a26a56defe1bbc1b06f26a41f ]

Based on the IOMMU configuration, the current cache control settings can
result in possible coherency issues. The hardware team has recommended
new settings for the PCI device path to eliminate the issue.

Fixes: 6f595959c095 ("amd-xgbe: Adjust register settings to improve performance")
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe.h