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:42:06 +0000 (08:42 +0200)
commitf33f79703a4e514f016ae1dbc16740d247d36ddd
tree4312c7a85db7073b475dc043b5f334644ea23fa9
parente5a3449ce16a24bc53c9f41cf36418abe6c27a72
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