From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76493C2BD09 for ; Fri, 28 Jun 2024 22:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rBbQvvIs93uOLOxrTo3qyREYhoURV2aSzjNHb1QtPU8=; b=CWBrUbLQc6owHsJz8r4zuDb8nX jjsjOc7LhTknsuXtGU5tG49gO6WUGy38Y38E4z2v1YI8WlvDLWS1LMYSz/fZA0YNLe10rdsCnplyU 8CL2a1yBzFpzcEJOp7aK7TWKI3TKDgl+U9UG+JVjWtvBEgAMh/EbjLnNmvEjyOiFQYPpY+YVfYImY PHLDoizF1Bj7B6WhYBDX8gX1GaLNH+jPuJV+x2q0ZzKhOIfz3/rA6cQICZmwvxjM0cLVmG877dYFI ueeOmP3QHRuCjKFLVwaqIndRFeHLc1AnTVp9QgLHNArRSzZtTOhevml4tvYK9ZR5w5TUfJT3eJbZ+ +22rFMjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNJdq-0000000F6vD-1gPV; Fri, 28 Jun 2024 22:00:26 +0000 Received: from mail-il1-f172.google.com ([209.85.166.172]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNJdh-0000000F6sM-2F6w for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 22:00:19 +0000 Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3738690172eso5309845ab.1 for ; Fri, 28 Jun 2024 15:00:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719612016; x=1720216816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rBbQvvIs93uOLOxrTo3qyREYhoURV2aSzjNHb1QtPU8=; b=n+GNkfU533l+g0LzsEjN9gbd9eQTSN9uICl6b5CIhFDsYqLAEgT/OkVEvAadtWSNz3 4zrRcRIVHS4NkemMF1fDN90s53T4D7BM2VkFV7WeTtTIuVj34pMnYoLr1ujwuaHz2e41 OwViBFpxsYX7qVRqrHa85n0CmTUSVPh/uPL122Q6Lofoh5ojasdOM0arssL2qOEN6yuN Wy42rfWWyjjG4eZd5KaZ0FSOhLOapNyVCOuDN8AGCMM2pvhAkVoxgxcVryFXb+F9qJYH gRDyVg08GeqJu6mFuZ9GZMRgq60r0p6hNjARc6xtbbB3PkPcZK32f1XwBSrAqPHomhta Xxfg== X-Forwarded-Encrypted: i=1; AJvYcCWCEP05z3KCcK8OIxb4os0A4iEKwHMhQ8aZvNlHuwWqFlmVUGY+hYVCYadO033YLyYNyGCMSL7rHSOeqav8aaWvUKCXfBJ/woY07fNOkrQn5DKj4n8= X-Gm-Message-State: AOJu0YyXLTBFkPZo6BkZdt40NYSjk4sGmVQMVrXYk6sGuW4cI2T7l7D2 H/LUfTzRxZy7iPkRzhrK6h0F/6IXM8ih7fCofim8RrtgEl4My8BW X-Google-Smtp-Source: AGHT+IGuVife5e0U+apbMMf5rMQPQs3djtc0+T9PHHfiJv1oUGeHcgAKL+hqfxGqYx2iJONVEzCpsQ== X-Received: by 2002:a05:6e02:138e:b0:375:a0ba:c125 with SMTP id e9e14a558f8ab-3763e06699dmr222604175ab.31.1719612016455; Fri, 28 Jun 2024 15:00:16 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70804989460sm2107199b3a.191.2024.06.28.15.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 15:00:15 -0700 (PDT) Date: Sat, 29 Jun 2024 07:00:14 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Jan Kiszka Cc: Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Kishon Vijay Abraham I , Siddharth Vadapalli , Vignesh Raghavendra , Nishanth Menon , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , linux-arm-kernel Subject: Re: [PATCH v5] PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0) Message-ID: <20240628220014.GB2213719@rocinante> References: <16e1fcae-1ea7-46be-b157-096e05661b15@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16e1fcae-1ea7-46be-b157-096e05661b15@siemens.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240628_150017_593320_37A1C5B0 X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, > Errata #i2037 in AM65x/DRA80xM Processors Silicon Revision 1.0 > (SPRZ452D_July 2018_Revised December 2019 [1]) mentions when an > inbound PCIe TLP spans more than two internal AXI 128-byte bursts, > the bus may corrupt the packet payload and the corrupt data may > cause associated applications or the processor to hang. > > The workaround for Errata #i2037 is to limit the maximum read > request size and maximum payload size to 128 bytes. Add workaround > for Errata #i2037 here. The errata and workaround is applicable > only to AM65x SR 1.0 and later versions of the silicon will have > this fixed. > > [1] -> https://www.ti.com/lit/er/sprz452i/sprz452i.pdf Applied to controller/keystone, thank you! [1/1] PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0) https://git.kernel.org/pci/pci/c/86f271f22bbb Krzysztof