Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15362546rwd; Sun, 25 Jun 2023 16:08:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4q4+ml8+wNSO7TnvU4UCeWHxqYvKlq1LijCsCKTDELAYeARiV2CMVDucamvoyyASCZ2N4/ X-Received: by 2002:a17:90a:8a87:b0:25e:f6c0:8327 with SMTP id x7-20020a17090a8a8700b0025ef6c08327mr23051854pjn.47.1687734490699; Sun, 25 Jun 2023 16:08:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687734490; cv=none; d=google.com; s=arc-20160816; b=r/jq471Dy4Affo2lMbCf71rGkwVJVr5I2IazxpQI7ZMUWj0PSpxklc8+ZHLpekheg0 2gQd6PYJwUmRhwZoDTTBRP8Smw8rpa6j36O1PCxsZm3+3jKg993qZFnyXspInC8fcXhY oJ6iPRHACOHqBJZgutmhXNT394M92oQ398V33hpYbC48TuioZD4TDACcc5UydHw8I6BO 6iHyTghKVDQpyHnDL29UzCmeoABHD3CUlagbA7vgPdjPWzoo9SOAuSzITQwHO9+2jmY7 ofE0Xet1WQNwcGqSHKOlI8HDc1kKiK/ZSUD62CaZ9XOotqK7QROl9vD9V337Yq+cJZ30 FhVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=/NcnRc4T0o1t4O2y9WdosBv1HmRGzHO7rljVZKS/vtw=; fh=HiCRfL/dKclpj28MwnKiLbTPlZsLxHLn5aTzMGVIDO8=; b=d0yJTd7aTNTDkzgCx7lbi53YPVBFAnQ2qF7w8DC+XvkGFi4zzth+G6xSltYalIKVIq gms1qZh4uYR0z6AdiJPcXzEW3F2qbQDAsqo3GzNmLLQ1o/jL9uxZDmRbxDLF2NZFo1Tf fELAQKuD4yJx3cB/K/JJGMLy5TjAauq577/5PIUJQ6zjtoUvpXu8CbnFRyY3Tl+2+BmK SHsGCavjpy5ehyMpTv7soaNLtByQJghAuEzvb3SUjnV96akcC73XLXjBFow2gysWlEBF OPjjhlm7DhA0C3mThYFrsGM8l6enEy39dYhvzTrmJm7xaKUK+xtC3AHWHCT3un2H+MFP Y98Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=DWGXcKWA; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a17090ad35200b0025675c51fa1si6461240pjx.126.2023.06.25.16.07.57; Sun, 25 Jun 2023 16:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=DWGXcKWA; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229672AbjFYXFg (ORCPT + 59 others); Sun, 25 Jun 2023 19:05:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjFYXFf (ORCPT ); Sun, 25 Jun 2023 19:05:35 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D78991A3; Sun, 25 Jun 2023 16:05:32 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6b7206f106cso2091231a34.1; Sun, 25 Jun 2023 16:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687734332; x=1690326332; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=/NcnRc4T0o1t4O2y9WdosBv1HmRGzHO7rljVZKS/vtw=; b=DWGXcKWA8mJpSlfe7rytQ9jD3o/OLn7RkOiLBBnByUY/5r0y1CALU8GTLHhcaYzOQ3 Xyv4rTbzJ+XJvEtj8j64lz4TYmA4WDcy96TiTbeuGQh/dNK97JqSwxXwFCdczK/ZVZsF +HHDKoQlwyQ94ARC5PmVtE+fsoIvYmoaWFZ/8deSnhfXwvpw1pzMPJd3Xt2z+CfKdzMR oxB3ACWLbow0x9KvCe0u85nob7cjMGrQk2YvWTSsp8yHJxKJ1XLi8/hdwGQ2zX0nZP82 4aB1FQaeCL04m+rc8XAyvZz+oyt+14fjZFcojKIGQ/vCOFp66xegHdHcGCeHCl+Iopvs C8vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687734332; x=1690326332; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/NcnRc4T0o1t4O2y9WdosBv1HmRGzHO7rljVZKS/vtw=; b=ViiT4wmcGHeCGd2FGZoXF8xdgXOt4sdxvXTlno2YGWb/ZXEoLJOoubo6hIybqfN3TZ WVixLMoOLlyTEPEEHlalpJ/Ktwnr8mRCP2Og0/Sw5makgoSNu+sJkO53feQOzBN9o43U wrdZi09a58Ho1MKK+sZv8yWXUKIDIgYC0dGav7shWTD5EsN1yxjf67HE4EWFKNrtw8eF yfyd5iWap1sbWWqI2DGlWKYXu/ZOZ+WK88SMSUS8V3vHuaoIvwSUQ0jltc6JyeFSTeKg PEZifuoS8WwQC2x1+0RLhzpxA0HZ5avJ7JtmGfaS6Qx68wtYeDVgOYez8c+GxHz2w4BD gyIQ== X-Gm-Message-State: AC+VfDw1RAbxDQZzrSYSzsyvaW0QmL+zZlJ68oL4w6pDDmUA/VB5FRCl EOmFkyeo+PW4U1RP9iKIX9s= X-Received: by 2002:a05:6830:e13:b0:6b7:30d6:f4ed with SMTP id do19-20020a0568300e1300b006b730d6f4edmr3595867otb.5.1687734332029; Sun, 25 Jun 2023 16:05:32 -0700 (PDT) Received: from [192.168.1.119] ([216.130.59.33]) by smtp.gmail.com with ESMTPSA id di7-20020a0568303a0700b006b4281cf424sm2036723otb.4.2023.06.25.16.05.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jun 2023 16:05:31 -0700 (PDT) Sender: Larry Finger Message-ID: <67faf4f4-f36c-3ff7-03b8-cd259e4a5548@lwfinger.net> Date: Sun, 25 Jun 2023 18:05:30 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Fwd: After kernel 6.3.7 or 6.3.8 b43 driver fails To: Sardonimous , Arnd Bergmann , Bagas Sanjaya , Linux Kernel Mailing List , Linux Regressions , Linux Wireless , Netdev Cc: =?UTF-8?Q?Michael_B=c3=bcsch?= , kernel test robot , Simon Horman , Kalle Valo References: <27829c69-515c-36a6-4beb-3210225f8936@gmail.com> <69b98eb4-2c4e-fe75-90b4-4b08505a595a@lwfinger.net> Content-Language: en-US From: Larry Finger In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 6/25/23 16:11, Sardonimous wrote: > On 6/25/23 13:17, Larry Finger wrote: > >> On 6/25/23 13:12, Arnd Bergmann wrote: >>> On Sun, Jun 25, 2023, at 18:58, Sardonimous wrote: >>>> I have been unable to get DMA to work in the past.  So I have been >>>> configuring it with PIO=1 (/etc/modprobe,d/b43.conf): >>>> >>>>       options b43 pio=1 qos=0 >>>> >>> >>> I think the qos=0 parameter is what causes the WARN_ON(), as that >>> causes the use of only one queue, while the warning happens when >>> tx function iterates over all the queues and warns that they don't >>> exist. >> >> I agree and suggest running with no options. If we need debug, we can turn it >> on later. >> >> Larry > > Sure. Of course, this is what I started out with years ago (2017?) when I was > trying to get this to work. > > Now: > Linux version 6.3.9-arch1-1 (linux@archlinux) (gcc (GCC) 13.1.1 20230429, GNU ld > (GNU Binutils) 2.40.0) #1 SMP PREEMPT_DYNAMIC Wed, 21 Jun 2023 20:46:20 +0000 > > This is the sort of loop I get (dmesg | grep b43): > > [   31.979539] b43-pci-bridge 0000:02:00.0: Sonics Silicon Backplane found on > PCI device 0000:02:00.0 > [   35.239389] b43-phy0: Broadcom 4322 WLAN found (core revision 16) > [   35.275018] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 4 > [   35.275046] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 3, Version 0 > [   66.890631] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19) > [   67.437162] b43-phy0 ERROR: DMA RX reset timed out > [   67.498976] b43 ssb0:0: Timeout waiting for bitmask 01800000 on register 0F90 > to clear > [   67.707177] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19) > [  391.127300] b43-phy0 ERROR: DMA RX reset timed out > [  391.360514] b43-phy0 ERROR: DMA TX reset timed out > [  391.382127] b43 ssb0:0: Timeout waiting for bitmask 01800000 on register 0F90 > to clear > [  391.590659] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19) > [  709.123840] b43-phy0 ERROR: DMA RX reset timed out > [  709.357235] b43-phy0 ERROR: DMA TX reset timed out > [  709.378623] b43 ssb0:0: Timeout waiting for bitmask 01800000 on register 0F90 > to clear > [  709.573851] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:35:19) Sardonimous, Did it ever work with DMA. or was PIO the only way to get it to work? If you add in only the pio=1 option without qos, will it work? If I were to send you some test patches, could you create a kernel with them applied? Larry