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 AA8F8C433EF for ; Fri, 4 Feb 2022 23:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+0bB0sgr0KjuvbVfAm5VZBr33ZElkf28QvJpzdsOBbc=; b=t4cHvoeGnIEREf QhLTzDKnr5Dj/Hq2mzYf8wbztfxX4vm8KGkHmIN2+t7ebL2GZniqpIXuZLTGtSyDvJyIjiRsxHQRN yOJyyp4OH8UmQdLlMTbQuIPOHqT/sdv8mvIBVjUnnbN4yJ4wGIoVklE+VALFY7AD54OaettHTCQwL 8EtVIv/5COjNdk5f+brAYC2YdSpdYByQ7myvwzyci35UY6+0ELNKQ2/Zg4vDB25T64vRczD9tLU/P kpksR4oouWFtEHbePtHhCuGlTlNN+6saCgklvgNaFc3D9RWsC9guo/Y9cbndiULmit+IhcyeKY0bM +B1c0qPIWvASCasIDkEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG7cj-005gqo-Vk; Fri, 04 Feb 2022 23:04:15 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG7aM-005fk1-Ui for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 23:01:48 +0000 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) (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-0.canonical.com (Postfix) with ESMTPS id 399D93F325 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-il1-f197.google.com with SMTP id z1-20020a92cec1000000b002bc0e7ab95fso5066182ilq.3 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=7yEukV2JE4c2StZqzcDXGYZAFVDhBqChVOcv54fomfNjNmKskU6xNdHLQytzgekhie 3ttTw+TxlrjP3D3XWQod8DUzhtHfdWaz/QDSahSH147iyiClC9I/fCA3Wt8enuR7hJ7Z Ol4zV7KH6lDs5LPPRdPJH8uPMzZPHIHZwKh4XjB4xHFm2ROsIioLEQDwkv9FkZcxEMvW 8MK4PoE9PDlgbjM9ysUGlubuipvOJFKCW0nih4G4WpJN4PMhuoLp4BMVaOjZ3y5cgwoj /JxoaZfA5RCYVcTL4Kowjh9ljGPAM6e9tsicYNNjoSQX7QcNHglEhHfADkvJIYbkjl0i PXLA== X-Gm-Message-State: AOAM530CinkFSAeX9aZGxZVL+CyLPmVOt5L+rxkoUe+vERVhaqvMCzss uKhRsYk3iV/7EMPx00MI02OxP3O6lzGKNxYIOuVDFptTYJDbywYAuh/A8/OFwQH12w8eH2FZRcv SvBLPGm82UnPX9PDDHF5LJI8kVueKGUaONdv57gcqowbmUt3Z3rKI X-Received: by 2002:a05:6638:3399:: with SMTP id h25mr650204jav.166.1644015696053; Fri, 04 Feb 2022 15:01:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTuofHZlwZ1cYjHU/l2TfOuPfjBnS6ABivT4GOI8HYntDU6F/03yNCBtDFBIhUSTXue1rNcA== 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-Disposition: inline In-Reply-To: <20211129173637.303201-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220204_150147_155118_18BFBB88 X-CRM114-Status: GOOD ( 18.50 ) 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: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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=E9phane'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=E9phane'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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel