Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp924pxb; Wed, 11 Nov 2020 17:45:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6+QfFfAU88XNPyKHL/xragVqEqYqfiK1zhdRzmWuTESAjCb2hV/vr4ek+Xbl2Wb1Sqwiq X-Received: by 2002:a17:907:b01:: with SMTP id h1mr27370147ejl.10.1605145556978; Wed, 11 Nov 2020 17:45:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605145556; cv=none; d=google.com; s=arc-20160816; b=hwbIN5olfWFqTeA1v+sqVVZoy0+xmBBqUwX97samynh8ZbHpLxtV/lQ5+kc0jH5BRm D90PAojgvgOcK21kB2SIB9zZ+Wl1cGp9ktT2OFq02kTSRPgW6G/xqjUoVKW9Ool3Nr+w O466rcW9Cf9ioedzhWBe+cP0MaJSVO21sh7CmMG0tGXms/8WOnxvN6xBcygstPEtGWs7 WHy9buPqZ9ZsThSGASGTyLENEZYh36HW+ZKuiqfdXaiDvzFfJd/KY1ZSCm325tYocwKu ZE92yQX9Sg+/1Jj7gMbTFdObWw38AqLht13ZKsRPCvlXFO9NJVdk715Eyh9ZDw/rvJpD 1tlg== 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=KFCtis8RMvpDH0LV6+B1UizWzLwWkm5y+UkEj7eA6fI=; b=gPEonD5Ai3c1PedejKzDKyU81IU8VXpZLOfgQST3RfhHXKZKhQX46uAWFamuXCJx7T r1/2oBrM4jdrty6nvovXIc2kJiSYl1t1JuPAyEHQXUQP37WpXWjZvk6b7TdkJ1mjVYou C0YJhLzl77E0lL3t2+rMXq6xRyWI8C5iHhbJgAKXpxUivaItGOQAXC8Q8jYUohH4HxTe USNgHLz8kEjTIZnoss6ZUd1jAf9p5sSH3uSB1RaREY75bIFsFRo3yIL1HBq2+gvWrKJE EyoI/v3L/WXItijVrfE+JQUPv29UNPCwKwAS8ZjszGqduUDH6jDgsBPxRAVsue9ACSF0 3OjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@technolu-st.20150623.gappssmtp.com header.s=20150623 header.b=bsJw5TnH; 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 q10si2432225ejn.234.2020.11.11.17.45.31; Wed, 11 Nov 2020 17:45:56 -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=bsJw5TnH; 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 S1728673AbgKLBd5 (ORCPT + 99 others); Wed, 11 Nov 2020 20:33:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728209AbgKLBMM (ORCPT ); Wed, 11 Nov 2020 20:12:12 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4665C061A47 for ; Wed, 11 Nov 2020 17:11:27 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id i19so5326458ejx.9 for ; Wed, 11 Nov 2020 17:11:27 -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=KFCtis8RMvpDH0LV6+B1UizWzLwWkm5y+UkEj7eA6fI=; b=bsJw5TnHrOYGZ6z6koJHWMYr62oFDE2M9tzcNlHR4+NA9bAvX20jEo133dJu6sefRQ SAozTyjA5ERI451RWiW1FfJBBgJJe+Kjybu2DIZfMN6M+6nxjvEr/jlJMivppghkYn7D euGYQaRhOgYqdybdsP673IFrBa4zskDNANg7QboGdMXXlsbfVKPa6+e2rzEW5MT7Zc56 oCb3DUC4/owxfv+SFdqEOZhuhRxnWdra258h7HTiyXpzhuuO0xVrAIfcVVWNrLLSJ4Be p+89SPXD81mNtHzdWh/g9Vtar5Va7NM6ziUJHtlxFGn7DUy3x5XOZgtp5JHMAAKqce7N fqxQ== 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=KFCtis8RMvpDH0LV6+B1UizWzLwWkm5y+UkEj7eA6fI=; b=o93CPWhR1x4HT/67n6GGDiOVoURrmJuFGhjAhUyC8E7CiDxaxbli9O2u4kAIju9MaA NQ6ip1m3ahgbiCqx8uojhkjI5D/6wmhm8ni/JZ1QO4DhHrs/CzAGAZmTDTljaBGt502R KO+8fH5uCwCgF6cTXZ99LDsWEw/ydvcEu0rDgcA73S/ZWmiuyBKQcTXytCrPD65HKhVI nOJk3mD3gthR5NIEDS/rSUeG0rtSQG2hJ5KtPjxNQEn9EexsC3WfMTlMMmewmwAoF7X6 W02F7x/EdXXnsaWEAR+1wMfzyz+Mw5hbVzNgTug6//2tTrMFXg3Hr0/WrAfKJHx1W6Nr tMgg== X-Gm-Message-State: AOAM533dFuTTw+JZ4rkUMeLE1tkjO331M8wybmQsV18m7KaXKTiZk420 GMAV1lgkyN6Fp9mODwDWMHJVCh1dBC1YFJOMsu2yvg== X-Received: by 2002:a17:906:77c5:: with SMTP id m5mr28216170ejn.424.1605143486536; Wed, 11 Nov 2020 17:11:26 -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:11:15 +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 On Thu, Nov 12, 2020 at 2:10 AM wi nk wrote: > > 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! Sigh.... sorry for the top post again. I'll now get a real email client.