Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DEA3AC76196 for ; Mon, 3 Apr 2023 16:52:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7CF9185C54; Mon, 3 Apr 2023 18:52:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="gyzMaFen"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 657CE85C5A; Mon, 3 Apr 2023 18:52:39 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by phobos.denx.de (Postfix) with ESMTP id DFB0485B74 for ; Mon, 3 Apr 2023 18:52:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=stcarlso@linux.microsoft.com Received: by linux.microsoft.com (Postfix, from userid 1075) id 988D8210CB35; Mon, 3 Apr 2023 09:52:35 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 988D8210CB35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1680540755; bh=ehppmVNJSRf8vQo+aTthQgc1SQ4893F3SGjtgxhQzyo=; h=Date:From:To:cc:Subject:From; b=gyzMaFen/9ROJ9JGYObvFAgN5LiCxqSVlf3UyBNnfJXNmjZ7SvafAyUSvECuX5fg+ 09PDgQgB5opHpjO8n7WCy7Gu7ezq7ULeUza9Ky7HEy+eYQZiJs0em7I5uVgNyJ8oxM bc/+dLr46LPSPZ0DAVU6uO6jBJepXQfnG7pz10N8= Received: from localhost (localhost [127.0.0.1]) by linux.microsoft.com (Postfix) with ESMTP id 96AE630705DC; Mon, 3 Apr 2023 09:52:35 -0700 (PDT) Date: Mon, 3 Apr 2023 09:52:35 -0700 (PDT) From: Stephen Carlson To: trini@konsulko.com cc: U-Boot Mailing List Subject: Re: [PATCH v2 1/3] cmd: pci: Add command to set MPS of all PCIe devices Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Thank you Tom! Stephen Carlson -----Original Message----- From: Tom Rini Sent: Friday, March 31, 2023 7:17 AM To: stcarlso@linux.microsoft.com Cc: u-boot@lists.denx.de Subject: [EXTERNAL] Re: [PATCH v2 1/3] cmd: pci: Add command to set MPS of all PCIe devices On Fri, Mar 10, 2023 at 11:07:13AM -0800, stcarlso@linux.microsoft.com wrote: > From: Stephen Carlson > > Enable tuning of the PCI Express MPS (Maximum Payload Size) of each > device. The Maximum Read Request Size is not altered. > > The SAFE method uses the largest MPS value supported by all devices in > the system for each device. This method is the same algorithm as used > by Linux pci=pcie_bus_safe. > > The PEER2PEER method sets all devices to the minimal (128 byte) MPS, > which allows hot plug of devices later that might only support the > minimum size, and ensures compatibility of DMA between two devices on the bus. > > Signed-off-by: Stephen Carlson Applied to u-boot/next, thanks! -- Tom