Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3724142pxb; Fri, 4 Feb 2022 15:08:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0ydeJzumLgfxesWPQMk+UCJlymkGquIUzhucgL2O8PWSxsXYKunmOCa8qKDmsak4OcN3s X-Received: by 2002:a17:90a:6585:: with SMTP id k5mr5744726pjj.94.1644016105783; Fri, 04 Feb 2022 15:08:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644016105; cv=none; d=google.com; s=arc-20160816; b=JnzUFR7u0Gluc5Rq5OTs3pAY76ABA3oFr56cL2FrL1EYdoemvP4R6NSaBnvoSqisdg hm5O4WwLcDJpWbMTzkNDO8fW4XJnfCPIrNlgTwkMOeaPREZf1UbqDucUNuRXikL1yGR7 komMVHrVeqy62Zdky/s6RwmSInKuHvhzDIfeMcy4NxYX3Vw+jA+UOIJjelcmPFugEb61 gQdSvtePJlsk3XEJ+2o1VjLiiiVGS82ibnwsDaSbkHkAHg5xui7HhkN3tmjs9sTwB/h0 soUn9BKsxBplsv8166oPl57mcxJOJr0Qjh0iPqZh6ZagDTS9A6FlGyD4p2rawwCDTN7M 2axw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9lqnKWWeY7ck0N4RCu24NCmh00+Npqj5crjtpsswZLI=; b=hhiJIzGtjxDCJbhDVbZXjdhBoVQiI6qbXcajDGefoyqBEZcRyPmpaZ+FxvZSz963UD DeS8/C0aOf1kFhq4nzNpD852xHn9Rkcczz1cXfneBIcGF81YJQ13Vjc6Q3OcyQ8+RMeb 26WpT78uC19xh61iLiSlUpVGQJ75mc3FQrJhAKaH5bccxYLZ4fg2JvUiCeIpUGEp2dxg nyo/McvB2SBPC0C4bJSKAg4cut+OYQu4lh5hN3gm2BorD+9XdYvCVBXZKXVHT8sEynME qoYjZwvye8aBlccSjIcYMXwHMykpUd4U4xZ+zMUPsYeAjgomXj+5ZCkGm7GzNafQR/ct KHjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=YQOGrUxS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m3si2882380plc.619.2022.02.04.15.08.13; Fri, 04 Feb 2022 15:08:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=YQOGrUxS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376694AbiBDXBj (ORCPT + 99 others); Fri, 4 Feb 2022 18:01:39 -0500 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:36734 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352168AbiBDXBi (ORCPT ); Fri, 4 Feb 2022 18:01:38 -0500 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 4C1924003A for ; Fri, 4 Feb 2022 23:01:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644015697; bh=9lqnKWWeY7ck0N4RCu24NCmh00+Npqj5crjtpsswZLI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=YQOGrUxS3azwsK86LknBbwZr/FoM2ZdPovhc6WIp4MFXhZJQ7tKH4zNMLJPb7oXcX FGu3snd0JlKe0vCy+pnAzLDwQlvsZklLkIRloeduYKfuzEqhDUJvCU2RuoVqoe6hJU n3Kbe+NEUf+ksTE7YwaDTWrUZsDmsv086ujo6fadRAaQMb5o0vf1twLWadQnC9Ay74 1wo/d5e38sBN5IAefhW3OS0qi3MjlGWczXpqH62PkgE26OTFNu6L/691uffCkzkB3Y vyEHnztKdMCeqItY6c6521X6Y69IYuiJ3ra+egFPyKOdB4oe/PzMP587cd8fsxwJx4 WGKbmKfMCFenA== Received: by mail-io1-f69.google.com with SMTP id r4-20020a6b4404000000b00614d5a865f7so5013876ioa.5 for ; Fri, 04 Feb 2022 15:01:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=9lqnKWWeY7ck0N4RCu24NCmh00+Npqj5crjtpsswZLI=; b=u2O/NV/C+0G+3ypa14+aZq1AUFtJv78xVRg4dcWw/vx0qdIEtjFpxNwgT75hFH6O/A YKFgwN6pLSvdfzpgoYZZ98nyYbHWXSmiUTQ77xe6fCXAE0vm0E8p7VBZZXiww0g+4kZV H8shxsSNcZw8sUX7m9rxvBu14/Zd6Iztc41POsyr2k8+1ZDNJYiYWhyDIPSVYKt0RVgY ZXLaFKLv09qIrp4iYhNicfqPKpuhYX1MTLJ6jHxI9+KfmmpQ/QMKfNy+6RljTTUs9DGE D183nROVSOLyZUiaxY88pOBFwJLL2ktSSFTV90dW3UC22JnHjiq8RZi+Ru+Bl/LjlnCk 04Uw== X-Gm-Message-State: AOAM532+NIl4OZ/3XTkXZEwONDPNXljFmoP1efb3Q1IpQThNuG4ujf16 7LbaIJtz9MRblFJRQm5s+eWtRjIwv1y2XFhk4KvQQhTpdSU/+UMuSlkRKBs6hel0LMP4r5EggYg Ui/Nstdx95TNNEu/qL4giqUMEHsMxdZM7TSFnJZmYhQ== X-Received: by 2002:a05:6638:3399:: with SMTP id h25mr650196jav.166.1644015696037; Fri, 04 Feb 2022 15:01:36 -0800 (PST) X-Received: by 2002:a05:6638:3399:: with SMTP id h25mr650188jav.166.1644015695820; Fri, 04 Feb 2022 15:01:35 -0800 (PST) Received: from xps13.dannf (c-71-196-238-11.hsd1.co.comcast.net. [71.196.238.11]) by smtp.gmail.com with ESMTPSA id l13sm1624266ilj.24.2022.02.04.15.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 15:01:34 -0800 (PST) Date: Fri, 4 Feb 2022 16:01:32 -0700 From: dann frazier To: Rob Herring Cc: Toan Le , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Andrew Murray , =?iso-8859-1?Q?St=E9phane?= Graber , stable@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: xgene: Fix IB window setup Message-ID: References: <20211129173637.303201-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211129173637.303201-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 29, 2021 at 11:36:37AM -0600, Rob Herring wrote: > Commit 6dce5aa59e0b ("PCI: xgene: Use inbound resources for setup") > broke PCI support on XGene. The cause is the IB resources are now sorted > in address order instead of being in DT dma-ranges order. The result is > which inbound registers are used for each region are swapped. I don't > know the details about this h/w, but it appears that IB region 0 > registers can't handle a size greater than 4GB. In any case, limiting > the size for region 0 is enough to get back to the original assignment > of dma-ranges to regions. hey Rob! I've been seeing a panic on HP Moonshoot m400 cartridges (X-Gene1) - only during network installs - that I also bisected down to commit 6dce5aa59e0b ("PCI: xgene: Use inbound resources for setup"). I was hoping that this patch that fixed the issue on St?phane's X-Gene2 system would also fix my issue, but no luck. In fact, it seems to just makes it fail differently. Reverting both patches is required to get a v5.17-rc kernel to boot. I've collected the following logs - let me know if anything else would be useful. 1) v5.17-rc2+ (unmodified): http://dannf.org/bugs/m400-no-reverts.log Note that the mlx4 driver fails initialization. 2) v5.17-rc2+, w/o the commit that fixed St?phane's system: http://dannf.org/bugs/m400-xgene2-fix-reverted.log Note the mlx4 MSI-X timeout, and later panic. 3) v5.17-rc2+, w/ both commits reverted (works) http://dannf.org/bugs/m400-both-reverted.log -dann