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 5D49FC2BD09 for ; Fri, 28 Jun 2024 21:20:24 +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=5mjbw+wYvgBhsc9x/A9PPo2uA567jvKEpkLcWndxaX8=; b=iGa4ln6SP4b78j5LGnVVfUcsdj NjkgMBwDBvOf1rnsD0NP2v/yTvvIRCHJ4xluNjOPzokC18xh/+vnelyprx/1HbxZPaApCEA439P5j Q2VWEoh/d3d6DSGcwPW7DRHUdPt5Q5bEKF2zDlGVDY6PylvjBcHKMRzFN0czKM75Mn6JDBkCGr3/E Ksyh1oTPcTmJ3k/2zm8od3sfE1f5dItLX2WZzOdJB6ykfYELZlx+05gWFHrjFTwKLan5lHMgWO11s UT40lnL/otzIGdZf7a8f6vDm/YMDVAXf3dthPND0AGOUBKccgPrWB6LIlI+KIjC6UOUtTB4ccmG5i Td/hDVPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNJ0u-0000000F0Ix-4549; Fri, 28 Jun 2024 21:20:12 +0000 Received: from mail-pg1-f174.google.com ([209.85.215.174]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sNJ0k-0000000F0HL-0tQ0 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 21:20:04 +0000 Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-726d9b3bcf8so915656a12.0 for ; Fri, 28 Jun 2024 14:20:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719609600; x=1720214400; 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=5mjbw+wYvgBhsc9x/A9PPo2uA567jvKEpkLcWndxaX8=; b=Qfij62TrFiqT062p5HnZDsP7SuYQw9Ges/GqNYcTK4EZeZ4XvcUimxS9rpZ6eU43Og 9dkJ+opeOMv5vgv8ASA7aJbZyabgLGwMd2HM9ZXhKN7pvjVmkrqs0f/IRP63X1TGnHpi VarOOoopmIDapjJu/D49RX9Pieyod8qaiNsQpGSx68je1wptUYp4s7jSIDCPzS1nqBxi rqH+75fzMNwY5vSbn+Gb1/fCJS7r20Qm09kpXaA6LkDc6wi90EnYnnEeW9FXVdrwzHjl wlj4Qp/mOHyE6cnVfb81uZuMQGu/IBEgVd9PgUu3PqiFlSEUT88lwAQVf0DNpZcHTZsB A+yg== X-Forwarded-Encrypted: i=1; AJvYcCVb7NetINLQkBn5UmX+L5WPJ7BvnUUh2XuVRxM5wqrHQiougQbDr+2eoetDQQ2TtNW81KZ2nrXBRT6qQXT0zWUthMH76UEs4n2Ceb2EMZL32DzFHtY= X-Gm-Message-State: AOJu0YwRCoSpcsBLdnxtVhVQj6RoToajkJPwTGVAB+PRSaWyHTuSAjq0 DbX6ZuNusNn88V7y46pcmHLhbaLx8Fwjs3jzhpJCxRBIv4ojgDOX X-Google-Smtp-Source: AGHT+IHk7W3eBsVgTPh+wI3EeKuxmYXiX29cu+Bn/zPnNDcrFdjSo7vy2U8HhFhz/ojtjJhcVspVBQ== X-Received: by 2002:a17:90a:d084:b0:2c6:ee50:5af4 with SMTP id 98e67ed59e1d1-2c86127e140mr16251372a91.6.1719609600505; Fri, 28 Jun 2024 14:20:00 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91d3bc540sm2087779a91.44.2024.06.28.14.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 14:20:00 -0700 (PDT) Date: Sat, 29 Jun 2024 06:19:58 +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: <20240628211958.GA2213719@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_142002_344554_28475CBA X-CRM114-Status: GOOD ( 12.35 ) 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 Jan, thank you for picking up this patch. Siddharth, thank you for being very thorough, chasing after old review comments to be addressed. Much appreciated on both accounts! Krzysztof