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 62F62C433EF for ; Thu, 24 Feb 2022 16:26:41 +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: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:References: List-Owner; bh=z5BdOFHI0qc2gxXHRoffbjLDepPeYvlPZqxjEF29bM0=; b=KfauPSGFZt08Gk G9V4TrWTAfxkIcmiqxOzRBBgSClxmrknYOj7wP3wT+Vw726R78fgbf/yriAGM7EdMLMsF4F0nnzoE hA6V3o8gPP2nu1e5QSWFNGwuw3iHOgdOTWOPHapxTqbYL5Y7hdDF6EAkdAIQg1DK2lAccPIIlUStK K54KEWWNjUWNCAKb2fHGgOhtI1CFrHYBHvJu50LDhlvqyRFZWaxYW89dW2AL1FEOQv/BePuJNiXCI 23rkuHflFJmOw+yQ58TeI5CuvlkeqwgGU97muIlJFUQrYnkuo1RH0/UIGeaNuNQ4fX3jDBNBP807V qmv0QIAqgRBuyRCvyzag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGvx-001ZJM-PY; Thu, 24 Feb 2022 16:25:37 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNGvu-001ZIt-GH for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 16:25:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A44D6179A; Thu, 24 Feb 2022 16:25:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ABE7C340F0; Thu, 24 Feb 2022 16:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645719933; bh=PH7VHYIVRaHEXfd5vcYi0l8KPvcJAxez/B7s3yxyG4w=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=br14pY4TqCrlVycMjPNXWHbfxUkkjYOkpDybHUbsxA4BzhLa3uhmsp99uldtAjWGx 78yYxvleIARNDTxEMuBgbMnhQ5NGtKdRv2fZvTxiOiPIc7m2X7r+X95C5TQgVVoaFA wX+aDn+tx/ni7jV2f0TWiDYFi+j14om0xBRa3OiGSZ/UmHQAIwBVn/gkCNHaqVqtzz ahqQFGxWphPUAvl1WP73f5krAoPunpPt/APJS2dXZPBh6YO22mqYenzEuA5dTuwpFw 9tZizrcfLVSzhVpvkXMLVnRt2Hg1s/bWj1MiqRmy1btTdb6Z/mjAr1rvYbuCQOnU/b g9IoCzPU1hBxw== Date: Thu, 24 Feb 2022 10:25:32 -0600 From: Bjorn Helgaas To: Marcel Menzel Cc: linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, Pali =?iso-8859-1?Q?Roh=E1r?= Subject: Re: Kernel 5.16.3 and above fails to detect PCIe devices on Turris Omnia (Armada 385 / mvebu) Message-ID: <20220224162532.GA274119@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_082534_604546_8C33E61C X-CRM114-Status: GOOD ( 18.51 ) 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 24, 2022 at 05:00:30PM +0100, Marcel Menzel wrote: > +linux-pci > > Am 24.02.2022 um 14:52 schrieb Marcel Menzel: > > Am 24.02.2022 um 14:09 schrieb Marcel Menzel: > > > Hello, > > > > > > When upgrading from kernel 5.16.2 to a newer version (tried 5.16.3 > > > and 5.16.10 with unchanged .config), the Kernel fails to detect both > > > my installed mPCIe WiFi cards in my Turris Omnia (newer version, > > > silver case, GPIO pins installed again). > > > I have two Mediatek MT7915 based cards installed. I also tried with > > > one Atheros at9k and one ath10k based card, yielding the same > > > result. On a Kernel version newer than 5.16.2, all cards aren't > > > getting recognized correctly. > > > > > > Before 5.16.3 I also had to disable PCIe ASPM via boot aragument, > > > otherwise the WiFi drivers would complain about weird device > > > behaviors and failing to initialize them, but re-enabling it does > > > not yield any different results. Please try this commit, which is headed to mainline today: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=c49ae619905eebd3f54598a84e4cd2bd58ba8fe9 This commit should fix the PCI enumeration problem. If you still have to disable ASPM, that sounds like a separate problem that we should also try to debug. Bjorn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel