[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140723174228.GB11270@obsidianresearch.com>
Date: Wed, 23 Jul 2014 11:42:29 -0600
From: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Murali Karicheri <m-karicheri2@...com>,
Richard Zhu <r65037@...escale.com>,
Marek Vasut <marex@...x.de>,
Randy Dunlap <rdunlap@...radead.org>,
Russell King <linux@....linux.org.uk>,
Pawel Moll <pawel.moll@....com>, Arnd Bergmann <arnd@...db.de>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
linux-pci@...r.kernel.org, Jingoo Han <jg1.han@...sung.com>,
linux-kernel@...r.kernel.org,
Kishon Vijay Abraham I <kishon@...com>,
Rob Herring <robh+dt@...nel.org>,
Santosh Shilimkar <santosh.shilimkar@...com>,
Kumar Gala <galak@...eaurora.org>,
Grant Likely <grant.likely@...aro.org>,
Mark Rutland <mark.rutland@....com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v7 4/5] PCI: add PCI controller for keystone PCIe h/w
On Tue, Jul 22, 2014 at 05:52:00PM -0600, Bjorn Helgaas wrote:
> If there is a hardware defect, a PCI quirk is a reasonable way to work
> around it, since that's the main purpose of quirks. fixup_mpss_256()
> is an example of something that sounds superficially similar.
It was my suggestion to engage the PCI-E tuning code. By my
understanding the HW bug is that read response segmentation at the
host bridge does not work - so all read requests from any downstream
device must have responses that fit within a single packet.
This is completely against how the spec envisions things working,
segmentation is a mandatory function. As you point out there is no
parameter bounding the maximum read request size that a completer will
accept.
So, the only fix is that every downstream device must always have a
MRSS set to less than the MPS of the host bridge.
Which means the tuning code must be involved somehow, as that code
controls the MRSS of unrelated devices...
Regards,
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists