Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp452269pxb; Thu, 12 Nov 2020 07:48:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdcdPvN3v4ZSUS5hNiQdRbUVT8KlnsX6oIVeWoZoLSzGe5b8BtE+y72r/LuB9sxTInF/Ar X-Received: by 2002:a17:906:dbf4:: with SMTP id yd20mr30465329ejb.53.1605196089663; Thu, 12 Nov 2020 07:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605196089; cv=none; d=google.com; s=arc-20160816; b=fld3zM2wtO9yAOmJqFqqgug5noZ3XtJ3kbdVzHIg0lk9lbBNB3cK2ZXqWn4IblpYYS JdWHa2cofw06brL/HJIgqYG3hhK5yMcyuOFNSBCi6krNBQo8+jnvGeTj/aBxY+h2IjUB BE30lGugsteFgN05deNXtA1/FWWGILWBCU9i4LYuir2XDFYVjPjzzUZqZmVm0ljDrPXQ fOmGdPdxbBiwkaM+RiYQNl9xQmUSIO2UinvebHh2SRH9j8f2jHvc06U+XiscSR3IGIWD 3jCI/qBATaOapKDOw2TL8ah0YFzmAMZbiQHMfJFkVLsK8uLJ5jHycwn8YZBoho5VBL3+ VYbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IZYSgbLgcFtBhxOEkI6MpXLGBNFPcT15SB8w4SZEAJQ=; b=ER59952i1LEoCrfhVWX7v/zttlf1/QakBy8nraPHoJMPyxUfeQp59pupAhsya0L5Xo pNpcOBztK/OknzEIGzutxom3QPY+jVxUHeUIHMb+WIoCFAgS2rz7rkhdJcLCs2g0JFDn NJxRs1BjX1Sc74RVtQkiMXULsiUqwbEPsVv0YSBlzRk2Ny/LYHy75e70sUflo1bf/a8P lElBUjauZ7jWTxIYDBQCIgzsVJQt2eyZ6POCej/lITWyWCBv0dHuxcx6cKkpBDCE3zbz 7cWJfFEYBVGQReu97Ng6VDz1MYgnbDuUwgiWjyFqaO1v1VBHlWEOI1zHH26SZxAh8vx1 zS3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@technolu-st.20150623.gappssmtp.com header.s=20150623 header.b=Hz4y80cn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si3998538edk.167.2020.11.12.07.47.33; Thu, 12 Nov 2020 07:48:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@technolu-st.20150623.gappssmtp.com header.s=20150623 header.b=Hz4y80cn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728673AbgKLPoU (ORCPT + 99 others); Thu, 12 Nov 2020 10:44:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728578AbgKLPoT (ORCPT ); Thu, 12 Nov 2020 10:44:19 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80BBAC0613D4 for ; Thu, 12 Nov 2020 07:44:18 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id t9so6787109edq.8 for ; Thu, 12 Nov 2020 07:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technolu-st.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IZYSgbLgcFtBhxOEkI6MpXLGBNFPcT15SB8w4SZEAJQ=; b=Hz4y80cnGthVh/REHCiC35b2CB7bCQ0I2SGtIgLNXfuDBJHEGmwoqq5N+vCgobNxvP /GXIy4AztB1mDVZr8EVJ15AdEmVYBNiT/OvLtO4WHPUy9vHSKVqae0hY3jdM+JCLvmM2 BWc6pfIKHlv+bIwVwnpUY4/q2kxdLvZeRL7h51tdVodUcHm/zKZOECo1jwDEl30lEHgJ 5N+UFXn+T6LeS+zjzrI/Gbm3QU0ItFNxshb6x+yqlliC5f70jfES0jUy8XuIcva2ukcU 3lzt/2tWhdlYWqLZfkwVBC2E8NgWXWpCcog2PqI1OUyJZYrhy0yDIYfikojGbBi/irh3 Gamw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IZYSgbLgcFtBhxOEkI6MpXLGBNFPcT15SB8w4SZEAJQ=; b=oTjbQ/j7kq4Vd3b721cvmG1h9kAxKYQ8S1WQboUfgmWv+ThpR0rqMdl0E53bubYZrz zl2mgwUUJlDAr4O9BtFlYxnI3WZuLLjLasRxRHaJDIxr4rDHv3Z615iGrcrXjnBoOVmm OPovXx2lxrhYsktYuiJUUg2bQj1KDjCotLd3sPH4PNvY9uyfgiD2rRrlEz1BhjxrMAXC 5uEgRJk/lNsiD4taBHjaHPNUi85EA7cndJ02DXZBkgwaGhDxDbhQLh5+oi4b81APp2/b DBcpk2L3vwlGEGCWDa810U0rKcJgWsUtvaGdGMDx0wSMhix6jrbP5VxNqOimX+3/re5U vxjg== X-Gm-Message-State: AOAM533bluexlLlXA1pbrK7DdnvoOuoKHoMJBP8WD0TWOSGnv9D7qYgQ EK/nXUZs2pBN4f8uvlz52CyRd99os6my/74Q5tOyEg== X-Received: by 2002:aa7:da44:: with SMTP id w4mr336421eds.131.1605195855709; Thu, 12 Nov 2020 07:44:15 -0800 (PST) MIME-Version: 1.0 References: <20201103160838.GA246433@bjorn-Precision-5520> <874km61732.fsf@nanos.tec.linutronix.de> <87mtzxkus5.fsf@nanos.tec.linutronix.de> <87wnz0hr9k.fsf@codeaurora.org> <87ft5hehlb.fsf@codeaurora.org> <6b60c8f1-ec37-d601-92c2-97a485b73431@posteo.de> <87v9ec9rk3.fsf@codeaurora.org> <87imab4slq.fsf@codeaurora.org> <0b58872b4f27dbf5aad2a39f5ec4a066e080d806.camel@seibold.net> <875z6b3v22.fsf@codeaurora.org> <87pn4j2bna.fsf@codeaurora.org> In-Reply-To: <87pn4j2bna.fsf@codeaurora.org> From: wi nk Date: Thu, 12 Nov 2020 16:44:04 +0100 Message-ID: Subject: Re: pci_alloc_irq_vectors fails ENOSPC for XPS 13 9310 To: Kalle Valo Cc: Govind Singh , linux-pci@vger.kernel.org, Stefani Seibold , linux-wireless@vger.kernel.org, Devin Bayer , Christoph Hellwig , Thomas Krause , Bjorn Helgaas , Thomas Gleixner , ath11k@lists.infradead.org, David Woodhouse Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Nov 12, 2020 at 10:00 AM Kalle Valo wrote: > > wi nk writes: > > > On Thu, Nov 12, 2020 at 8:15 AM Kalle Valo wrote: > >> > >> Stefani Seibold writes: > >> > >> > Am Donnerstag, den 12.11.2020, 02:10 +0100 schrieb wi nk: > >> >> I've yet to see any instability after 45 minutes of exercising it, I > >> >> do see a couple of messages that came out of the driver: > >> >> > >> >> [ 8.963389] ath11k_pci 0000:55:00.0: Unknown eventid: 0x16005 > >> >> [ 11.342317] ath11k_pci 0000:55:00.0: Unknown eventid: 0x1d00a > >> >> > >> >> then when it associates: > >> >> > >> >> [ 16.718895] wlp85s0: send auth to ec:08:6b:27:01:ea (try 1/3) > >> >> [ 16.722636] wlp85s0: authenticated > >> >> [ 16.724150] wlp85s0: associate with ec:08:6b:27:01:ea (try 1/3) > >> >> [ 16.726486] wlp85s0: RX AssocResp from ec:08:6b:27:01:ea > >> >> (capab=0x411 status=0 aid=8) > >> >> [ 16.738443] wlp85s0: associated > >> >> [ 16.764966] IPv6: ADDRCONF(NETDEV_CHANGE): wlp85s0: link becomes > >> >> ready > >> >> > >> >> The adapter is achieving around 500 mbps on my gigabit connection, my > >> >> 2018 mbp sees around 650, so it's doing pretty well so far. > >> >> > >> >> Stefani - when you applied the patch that Kalle shared, which branch > >> >> did you apply it to? I applied it to ath11k-qca6390-bringup and when > >> >> I revert 7fef431be9c9 there is a small merge conflict I needed to > >> >> resolve. I wonder if either the starting branch, or your chosen > >> >> resolution are related to the instability you see (or I'm just lucky > >> >> so far! :)). > >> >> > >> > > >> > I used the vanilla kernel tree > >> > https://git.kernel.org/torvalds/t/linux-5.10-rc2.tar.gz. On top of this > >> > i applied the > >> > > >> > RFT-ath11k-pci-support-platforms-with-one-MSI-vector.patch > >> > > >> > and reverted the patch 7fef431be9c9 > >> > >> I did also my testing on v5.10-rc2 and I recommend to use that as the > >> baseline when debuggin these ath11k problems. It helps to compare the > >> results if everyone have the same baseline. > >> > >> -- > >> https://patchwork.kernel.org/project/linux-wireless/list/ > >> > >> https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches > > > > Absolutely, I'll rebuild to 5.10 later today and apply the same series > > of patches and report back. > > Great, thanks. > > > I'll also test out the patch on both versions from Carl to fix > > resuming. It stands to reason that we may be seeing another regression > > between Stefani (5.10) and myself (5.9 bringup branch) as I don't see > > any disconnections or instability once the interface is online. > > Yeah, there is something strange happening between v5.9 and v5.10 we > have not yet figured out. Most likely it has something to do with memory > allocations and DMA transfers failing, but no clear understanding yet. > > But to keep things simple let's only discuss the MSI problem on this > thread, and discuss the timeouts in the another thread: > > http://lists.infradead.org/pipermail/ath11k/2020-November/000641.html > > I'll include you and other reporters to that thread. > > -- > https://patchwork.kernel.org/project/linux-wireless/list/ > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches Ok, I've tried a clean checkout of 5.10-rc2 with the one MSI patch applied and 7fef431be9c9 reverted. I can't get my machine to boot into anything usable with that configuration. I'm running ubuntu so its starting right into X and sometime between showing the available users and me clicking the icon to login the machine freezes. I can see in the system tray that the wifi adapter is being activated and appears to have associated with an AP, I just can't do much beyond that as the keyboard backlight wakes up, but the caps lock key doesn't work. I see similar behavior with the 5.9 configuration, but after a reboot or two I win whatever race is occuring. With 5.10, I tried maybe 10-15 times with 0 success.