PCI: keystone: Use quirk to limit MRRS for K2G
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Oct 2018 07:40:54 +0000 (13:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2019 08:17:33 +0000 (09:17 +0100)
commit597a37d01b69671088d70fffffcfd38f10a1cda7
treea75077c1b27a4d61d960a911dedc5e85cffc9188
parentc0418c4a61aa52bf46c234ccc6a067ae0ddbd3ce
PCI: keystone: Use quirk to limit MRRS for K2G

[ Upstream commit 148e340c0696369fadbbddc8f4bef801ed247d71 ]

PCI controller in K2G also has a limitation that memory read request
size (MRRS) must not exceed 256 bytes. Use the quirk to limit MRRS
(added for K2HK, K2L and K2E) for K2G as well.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/dwc/pci-keystone.c