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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D292EC388F9 for ; Wed, 11 Nov 2020 22:02:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C37B2087D for ; Wed, 11 Nov 2020 22:02:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726157AbgKKWCT (ORCPT ); Wed, 11 Nov 2020 17:02:19 -0500 Received: from www84.your-server.de ([213.133.104.84]:46762 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726587AbgKKWCT (ORCPT ); Wed, 11 Nov 2020 17:02:19 -0500 Received: from ipbcc25655.dynamic.kabel-deutschland.de ([188.194.86.85] helo=[192.168.0.7]) by www84.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kcyBv-0002ur-Da; Wed, 11 Nov 2020 23:02:11 +0100 Message-ID: Subject: Re: pci_alloc_irq_vectors fails ENOSPC for XPS 13 9310 From: Stefani Seibold To: Kalle Valo , Thomas Krause Cc: 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 , wink@technolu.st Date: Wed, 11 Nov 2020 23:02:07 +0100 In-Reply-To: <87imab4slq.fsf@codeaurora.org> 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> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: stefani@seibold.net X-Virus-Scanned: Clear (ClamAV 0.102.4/25985/Wed Nov 11 14:18:01 2020) Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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.