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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 D8AF9C433DB for ; Mon, 22 Feb 2021 16:10:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B49664DD3 for ; Mon, 22 Feb 2021 16:10:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B49664DD3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VkDvmjGomOfYTnNLyv8XlUpwNnGIF1t7y4EUFh2req8=; b=keFC7rErPJqwAnneckOmvboEy Gvd1SVnvYcu1AqueHZnwJkUGLOylG/TzKIZ0pGYiIDLLSIKF464nHXm62rkh1X6H7599upCGrvBPd hOLP7hCj+8NSB23xWxdtVGcIIZg6dS2ov7DgLRuhkU+3jlwXrWVXfgo9eCuxkVXIhRUl2TfGUQaVI sqpWB85UFj/3PKFaitsfTPOqZAGyKaQ0CODsJfOMn1RxPSD0pZFI3hStDnoNzdVqWMQ2tpdKk3Yw7 FqzJT8yN1lt5YtjwRCAabq7Tt8O5WNvxDGp1yiCCCEWhp0pgnVYzRI86eN7jUEPDtWpQ1lOOUl/Nw pEb3X/HwQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEDnO-0000Pe-89; Mon, 22 Feb 2021 16:10:50 +0000 Received: from m42-2.mailgun.net ([69.72.42.2]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEDnH-0000OU-OK for ath11k@lists.infradead.org; Mon, 22 Feb 2021 16:10:48 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1614010247; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=FXDA4kWApZ2RHR/R7uvb9QTOeOGMFaj12TejTxTXekw=; b=c3gblfYxePrvA+FwsZFdkNIWHOYBfTaz3anSHF0+YrcYfizUfyRETH3eKVBvZCN2uacEPt8U 6ZGnHNwFgGGSKLBUCWb3wjG1vyBX9UhGpy2Q60DgotJcNbUbDo7hXTZSVR3jalX4dnGR/Uuy RUUGH7tkXNnFBbzw+po8RTaKoRM= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyJmOGQ2ZiIsICJhdGgxMWtAbGlzdHMuaW5mcmFkZWFkLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 6033d769994664385921693b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 22 Feb 2021 16:10:17 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A603DC433ED; Mon, 22 Feb 2021 16:10:16 +0000 (UTC) Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 455DDC43467; Mon, 22 Feb 2021 16:10:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 455DDC43467 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: wi nk Subject: Re: Ordering Dell XPS 13 9310 to test QCA6390 References: <87mtydwy7v.fsf@codeaurora.org> <87h7nli16d.fsf@codeaurora.org> <878s8xhx1s.fsf@codeaurora.org> Date: Mon, 22 Feb 2021 18:10:08 +0200 In-Reply-To: (wi nk's message of "Wed, 13 Jan 2021 13:02:22 +0100") Message-ID: <87czwshyn3.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210222_111047_135862_B8426AEB X-CRM114-Status: GOOD ( 26.22 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "ath11k@lists.infradead.org" , Mitchell Nordine Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=archiver.kernel.org@lists.infradead.org wi nk writes: > On Wed, Jan 13, 2021 at 12:54 PM Kalle Valo wrote: >> >> wi nk writes: >> >> >> I got the XPS 13 9310 now and it indeed had AX500. But it also has an >> >> updated BIOS: >> >> >> >> [ 0.000000] DMI: Dell Inc. XPS 13 9310/0MRT12, BIOS 1.1.4 11/23/2020 >> >> >> >> And with that I can get 32 MSI vectors: >> >> >> >> [ 2.758219] ath11k_pci 0000:56:00.0: WARNING: ath11k PCI support >> >> is experimental! >> >> [ 2.758778] ath11k_pci 0000:56:00.0: BAR 0: assigned [mem >> >> 0x8c300000-0x8c3fffff 64bit] >> >> [ 2.758797] ath11k_pci 0000:56:00.0: enabling device (0000 -> 0002) >> >> [ 2.759086] ath11k_pci 0000:56:00.0: MSI vectors: 32 >> >> [ 3.208447] ath11k_pci 0000:56:00.0: qmi req mem_seg[0] 0x3f000000 3522560 1 >> >> [ 3.208449] ath11k_pci 0000:56:00.0: qmi req mem_seg[1] 0x3f500000 884736 4 >> >> [ 3.215355] ath11k_pci 0000:56:00.0: chip_id 0x0 chip_family 0xb >> >> board_id 0xff soc_id 0xffffffff >> >> [ 3.215358] ath11k_pci 0000:56:00.0: fw_version 0x101c06cc >> >> fw_build_timestamp 2020-06-24 19:50 fw_build_id >> > >> > I did see the updated BIOS from a few weeks ago, but I've been a >> > little hesitant to update since I wasn't sure what would happen or if >> > I could downgrade. >> >> Makes sense, better to be careful. >> >> > So to confirm, the new BIOS is allowing the driver to obtain all 32 >> > msi vectors removing the need for the single MSI patching? Does the >> > MHI / M2 behavior also change to work properly? >> >> I have not tested these yet as I only did a quick 10 minute test. I was >> offline over two weeks so I have a lot of catching up to do, but will >> get back to you in next few days on these. My plan is to also test this >> new BIOS with the official 5.10 release from Linus (tag v5.10). >> > > Awesome, let me know how it goes. I've got the 9310 branch running > 5.10.2 with no issues (16 days uptime) so I wouldn't expect you to see > anything super new there, good luck :D. Heh, "next few days" ended to be a month :) But anyway, I have been using the laptop quite a lot during the last month. Windows seems to update the BIOS without asking me and now I'm at "BIOS 1.2.5 12/10/2020". I reliably get 32 MSI vectors and I haven't see any of the M2 kernel crashes. I mostly use master branch of my ath.git tree, which contains latest ath11k and other wireless components. It's working fine for me and I haven't had crashes or anything like, but there seems to some issues with roaming which I need to debug. I also briefly tested tag ath11k-qca6390-bringup-202012140938 and was able to force use of 1 MSI vectors by disabling VT-d from the BIOS. Everything was still working fine, but after I reverted the M2 workaround kernel started crashing and I was not able to even log in to the system. This is very good as now I have a way to test the M2 problem even with latest BIOS. Unfortunately 1 MSI vector support didn't make it to v5.12 as it was crashing for me[1], even with just 32 MSI vectors, and it has to wait v5.13. [1] https://patchwork.kernel.org/project/linux-wireless/cover/20201223030225.2345-1-cjhuang@codeaurora.org/ -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k