linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SIL24: pcie_set_readrq 4096
@ 2010-07-22  2:47 Jassi Brar
  2010-07-22 13:18 ` Tejun Heo
  0 siblings, 1 reply; 5+ messages in thread
From: Jassi Brar @ 2010-07-22  2:47 UTC (permalink / raw)
  To: linux-pci, linux-ide; +Cc: jgarzik, tj

Hi,
  After implementing driver for PCIe RC controller of a SOC, I came
across peculiarity
while testing SIL3132 directly connected to the root port.

My RC IP is configured for maximum of 256bytes of payload size.
The sata_sil24 driver unconditionally sets pcie_set_readrq(pdev, 4096)
for the endpoint
which apparently works for 'every' other host irrespective of their capacity.

In my case it works only if I change to
  pcie_set_readrq(pdev, 256)

Shouldn't the Linux PCI have provision to allow max_read/payload_size
not higher than
the least of max capacities of all agents in the chain ?

I see similar use of pcie_set_readrq(pdev, 4096), so could be I am
missing something ?

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-23  5:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22  2:47 SIL24: pcie_set_readrq 4096 Jassi Brar
2010-07-22 13:18 ` Tejun Heo
2010-07-22 14:34   ` Jassi Brar
2010-07-22 20:42     ` Tejun Heo
2010-07-23  5:30     ` Rolf Eike Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).