Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp814335pxb; Wed, 11 Nov 2020 17:36:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvoGWrUIWeXbLiQiA4RxAiAUBjwUurg7K5Y3xPcRaHbsHJjPxAxNyOAGU8Twh8BY5FlFPy X-Received: by 2002:a17:906:5841:: with SMTP id h1mr27369172ejs.342.1605144975140; Wed, 11 Nov 2020 17:36:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605144975; cv=none; d=google.com; s=arc-20160816; b=Huacv9OjD4T8QYXY9G7HY1EJ9wxr9wkfN75/fLFvsO7dpwTaxFFV5T7TjGV/aQMj/D W1bqSnbDofZbNMMzG9kTS8kkLqQVg7xj/Z39bEGir9q2VirlCkl3NZC6G17Q1cmLxs8w CelOYM1JdcvCU+MHxStwHvYa739Le3vARND+DBCUSZoZudOrtnNVc/lolYVzPz0+ntyQ OU377ffvbRZTj9xshO3vqvO1No/WqXV1MGDK43MgufqcWdoDmsxlR1zcFCoe+1VuVhuQ zGS6hpibTziqmL791WMLZNEL/qrrKXy8ZDnR7dhLWhvKbhL2FoTdaKz8CjMYC1egFl/g YGAA== 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=2MV6sEGObJ+BD/sFs6H86mUXgsooPRIOrewrU3Scb3Y=; b=eOQSL8FKn12SNntUdypo5tGMONWGuZOmThXJ/4dhfSMoWPorpiKBdWe2fO9xV2t72y F+O6mA+lJKMzuqKsEBQR6qxoPBBLdsOcwhtaS3gaqHPUNTR0rZLMC/FtGXa+YtBiFVST N8vmR4xUPNd2Uw6sD92p0xho1NCwXLL975pe5qDxTILmUhDOPYBbrizFJ2oGNn7sXBVS fhPwmK9v4I9pWQH5nB9ih30FfzcY4xDkSNbSDHDSzBOCUxQ9aLoO+xNJmdm5wlZ0hYw0 LrAa34TmtRaYbhPtC600sD6weEwUNujm6p92+DDkEacBFtc3APNRYVFVkNDaOzS/21mJ 9g6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@technolu-st.20150623.gappssmtp.com header.s=20150623 header.b=Oc5LcDnX; 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 x12si2594387eju.750.2020.11.11.17.35.51; Wed, 11 Nov 2020 17:36:15 -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=Oc5LcDnX; 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 S1728666AbgKLBd4 (ORCPT + 99 others); Wed, 11 Nov 2020 20:33:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728203AbgKLBKc (ORCPT ); Wed, 11 Nov 2020 20:10:32 -0500 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 868AAC0613D4 for ; Wed, 11 Nov 2020 17:10:30 -0800 (PST) Received: by mail-ed1-x541.google.com with SMTP id t11so4291831edj.13 for ; Wed, 11 Nov 2020 17:10:30 -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=2MV6sEGObJ+BD/sFs6H86mUXgsooPRIOrewrU3Scb3Y=; b=Oc5LcDnX0NjHLM4cSPlFxTOanWcqzovUo2SZJN7ehzphA6YZ7V5HQi/H6k+DwMnxJu ZlvdIlwjyBwwARCVmPNAG1Xif5wNc2VEkhRsqadAkrvtBZQTT9HiKRaXUuTZ4SyKKOf5 NM7MebtQif3ty5MT5k+4hVOnARON5zlDDg4bo5f2maszKQfxvGy8c8uEunsy5QB/2UDZ EUMdyl1t9Os2/pxbbsYJkgHb9pnusdtwvJOOKMkkk1K8ztaocqYqtEpbYqb4SzfF4eI8 FlRHw4/KiF2yQByBDJmPMdFG+G8NSOsR+zUEBL6llGJSBFg74HE6KK3OuX9+J6IptSsA Pgwg== 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=2MV6sEGObJ+BD/sFs6H86mUXgsooPRIOrewrU3Scb3Y=; b=WO+QB4VqrJ5EIzWhdVjWsH2eqnQpOOiOc/xacQAKNS8j9pfCCM3OJOfySd8xC+EtSc QW9FqvWHpUBSbOVY7yZjmISE3sfnfsZzbi1N7DbO6TipDGo9lJAlB5YPW1SU+GhiEhyw n9OEdAqCUXAltdoyYMNtTpYSTdSkR5vVXA8U8hJwxsGdeN/iwnsulYnPy41sraC7GFCH PudRc7/ZAa3RTLz7Bp2h3wQaBy8GVvjsNT0oCCYIdTT9rq+ymF6OQzjdTM7Je5ZCxYpc U/DwJcIYKe0GXEUEyl3GoKWRqi7PzbnyMfuPaYT4j8fKs4ptKSWyjGB32f92Xo65dxV9 z4gw== X-Gm-Message-State: AOAM5334+llGheWaJ6W8xhGfeXtvO/xtDu7y93mdEpzjpng3n2moKF/G LtBNxyExQ50on3UnoHmo17EZaFCe74BL3OkUfXGqpQ== X-Received: by 2002:a50:d315:: with SMTP id g21mr2557302edh.84.1605143429277; Wed, 11 Nov 2020 17:10:29 -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> In-Reply-To: From: wi nk Date: Thu, 12 Nov 2020 02:10:18 +0100 Message-ID: Subject: Re: pci_alloc_irq_vectors fails ENOSPC for XPS 13 9310 To: Stefani Seibold Cc: Kalle Valo , Thomas Krause , Govind Singh , linux-pci@vger.kernel.org, linux-wireless@vger.kernel.org, Devin Bayer , Christoph Hellwig , 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 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! :)). On Thu, Nov 12, 2020 at 1:24 AM wi nk wrote: > > On Wed, Nov 11, 2020 at 11:02 PM Stefani Seibold wrote: > > > > On Wed, 2020-11-11 at 21:10 +0200, Kalle Valo wrote: > > > > > > The proof of concept patch for v5.10-rc2 is here: > > > > > > https://patchwork.kernel.org/project/linux-wireless/patch/1605121102-14352-1-git-send-email-kvalo@codeaurora.org/ > > > > > > Hopefully it makes it possible to boot the firmware now. But this is > > > a > > > quick hack and most likely buggy, so keep your expectations low :) > > > > > > In case there are these warnings during firmware initialisation: > > > > > > ath11k_pci 0000:05:00.0: qmi failed memory request, err = -110 > > > ath11k_pci 0000:05:00.0: qmi failed to respond fw mem req:-110 > > > > > > Try reverting this commit: > > > > > > 7fef431be9c9 mm/page_alloc: place pages to tail in > > > __free_pages_core() > > > > > > That's another issue which is debugged here: > > > > > > http://lists.infradead.org/pipermail/ath11k/2020-November/000550.html > > > > > > > Applying the patch and revert patch 7fef431be9c9 worked on the first > > glance. > > > > After a couple of minutes the connection get broken. The kernel log > > shows the following error: > > > > ath11k_pci 0000:55:00.0: wmi command 16387 timeout > > ath11k_pci 0000:55:00.0: failed to send WMI_PDEV_SET_PARAM cmd > > ath11k_pc > > i 0000:55:00.0: failed to enable PMF QOS: (-11 > > > > It is also not possible to unload the ath11k_pci, rmmod will hang. > > > > > > I can confirm the same behavior as Stefani so far. After applying the > patch, and reverting commit 7fef431be9c9, I am able to connect to a > network. It hasn't disconnected yet (I'm sending this email via that > connection). I'll report what I find next. > > Thanks again for the help!