From: Murali Karicheri <m-karicheri2@ti.com> To: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Cc: <linux-pci@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <bhelgaas@google.com> Subject: Re: [PATCH] PCI: keystone: add a pci quirk to limit mrrs Date: Wed, 6 Aug 2014 13:09:41 -0400 [thread overview] Message-ID: <53E26155.1020107@ti.com> (raw) In-Reply-To: <20140806165837.GC19914@obsidianresearch.com> On 08/06/2014 12:58 PM, Jason Gunthorpe wrote: > On Wed, Aug 06, 2014 at 12:56:04PM -0400, Murali Karicheri wrote: >> On 08/06/2014 12:30 PM, Jason Gunthorpe wrote: >>> On Wed, Aug 06, 2014 at 11:18:20AM -0400, Murali Karicheri wrote: >>>> Keystone PCI controller has a limitation that memory read request >>>> size must not exceed 256 bytes. This is a hardware limitation and >>>> add a quirk to force this limit on all downstream devices by >>>> updating mrrs. >>> >>> Does this still work if the tuning is enabled, or does the tuning run >>> after this? >> >> Yes it works with tuning enabled. Tuning happens afterwards. The >> 'limiting mrrs to 256' below is from my patch. > > That seems backwards to me... Rational? The tuning is reading mrrs and set mps to less than or equal to mrss. So adding this before make sure mrrs used is below keystones's limit. Murali > > Jason
WARNING: multiple messages have this Message-ID (diff)
From: m-karicheri2@ti.com (Murali Karicheri) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] PCI: keystone: add a pci quirk to limit mrrs Date: Wed, 6 Aug 2014 13:09:41 -0400 [thread overview] Message-ID: <53E26155.1020107@ti.com> (raw) In-Reply-To: <20140806165837.GC19914@obsidianresearch.com> On 08/06/2014 12:58 PM, Jason Gunthorpe wrote: > On Wed, Aug 06, 2014 at 12:56:04PM -0400, Murali Karicheri wrote: >> On 08/06/2014 12:30 PM, Jason Gunthorpe wrote: >>> On Wed, Aug 06, 2014 at 11:18:20AM -0400, Murali Karicheri wrote: >>>> Keystone PCI controller has a limitation that memory read request >>>> size must not exceed 256 bytes. This is a hardware limitation and >>>> add a quirk to force this limit on all downstream devices by >>>> updating mrrs. >>> >>> Does this still work if the tuning is enabled, or does the tuning run >>> after this? >> >> Yes it works with tuning enabled. Tuning happens afterwards. The >> 'limiting mrrs to 256' below is from my patch. > > That seems backwards to me... Rational? The tuning is reading mrrs and set mps to less than or equal to mrss. So adding this before make sure mrrs used is below keystones's limit. Murali > > Jason
next prev parent reply other threads:[~2014-08-06 17:10 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-08-06 15:18 [PATCH] PCI: keystone: add a pci quirk to limit mrrs Murali Karicheri 2014-08-06 15:18 ` Murali Karicheri 2014-08-06 16:30 ` Jason Gunthorpe 2014-08-06 16:30 ` Jason Gunthorpe 2014-08-06 16:56 ` Murali Karicheri 2014-08-06 16:56 ` Murali Karicheri 2014-08-06 16:58 ` Jason Gunthorpe 2014-08-06 16:58 ` Jason Gunthorpe 2014-08-06 17:09 ` Murali Karicheri [this message] 2014-08-06 17:09 ` Murali Karicheri 2014-08-06 17:30 ` Jason Gunthorpe 2014-08-06 17:30 ` Jason Gunthorpe 2014-08-06 19:05 ` Murali Karicheri 2014-08-06 19:05 ` Murali Karicheri
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=53E26155.1020107@ti.com \ --to=m-karicheri2@ti.com \ --cc=bhelgaas@google.com \ --cc=jgunthorpe@obsidianresearch.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pci@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.