Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2998041ybi; Sun, 28 Jul 2019 22:47:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyK7BDCCu5rygw/nRrFtN50t34jNqMBDJdA3UFyTbHVJ3sBM0/2QJckljsGCZdzQKf5gBSq X-Received: by 2002:a63:eb06:: with SMTP id t6mr97130848pgh.107.1564379232426; Sun, 28 Jul 2019 22:47:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564379232; cv=none; d=google.com; s=arc-20160816; b=Mqt/kp4N2iw7NK8MscPfyR7sN2LfFon2q4te9x4UAL8kGA8eCaPiNH4oD0NXAs9jkp wb5XJOwVVp/a+aFmdgJ+4ukAKoVRVZ6SQNKA9NX1/eOXk2TFV0WYYOEyWCPIqUO9TaRe EFz8y5qjYbzBYnfjLi7+kBeUcjinecL86/t/zVA1Dz7JYbe+5onwW71HEsZkOnyZCl42 3BtCj6sf/Tz1azkSiCe8uXBkpM/5ntOfswwBFr76lMhh7tqoOF0ZTGBSihn4T0bBCF44 F24EuarwdACWrUrcIt5Ag06pjFqitR6UChbkILMwxJs17FVxoxXlw0eKTqeAKfstpFb4 POlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:dkim-signature; bh=gqyG9uYlHwkmmQX9ryRrQr3A4/tR4GzV8MJku0rJM94=; b=ylOGm36hQ+P7suMXSg/I68phDQHlM2lB/agt9jHsCcdld6aIjQ6DVr+T+jUxX2P9k/ vTFNjQIRuAHeCp3LxaB0j/IbIKuYO1rVcCNXJphg0KxeqQDVsKJhd7ldtd10EFCQlYwY WciIsGYStAor4agf9/MSuRV5AXeH34wDnebE3QzlCPNr5fGEKv3+eN46U84LbA4vT94z J45CBhLzZ2g1/FAyFznyT0aAlo8Qa6JSxH3vSf6K/HGSwjjqtYAaS3G73r+FSnaKqLhj n1jc6aWPSFS2z74Hb+A+YpetPYaxvlfUi5+U7x7yW3oPWEUndldu/oyLOwI0km0bt9tl pMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Q2TWJP12; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e30si26698229pfm.78.2019.07.28.22.46.44; Sun, 28 Jul 2019 22:47:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Q2TWJP12; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726678AbfG2FoZ (ORCPT + 99 others); Mon, 29 Jul 2019 01:44:25 -0400 Received: from mout.gmx.net ([212.227.17.22]:41249 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbfG2FoY (ORCPT ); Mon, 29 Jul 2019 01:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564379045; bh=CFTAnV+JKG1Y4wZfBtZhC5MNxxIlU1OdRc/wca9swZI=; h=X-UI-Sender-Class:Subject:From:To:Cc:References:Date:In-Reply-To; b=Q2TWJP129E9FI/uW74sw1N9Rdr9V+ia/aUCXERiUHfO+1Aay4fGh78qCWpDjvkoFR cSNsjucIDRInZc8OdQ+eQYThjiOJnNbp+gGuKHrkV6z33YVvo7AVLDQYHpkuKQfCF4 2zuF/rFfK/PwSOIt7Mm3W1nQMLmQwUl03FLZ0/PE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.117]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M7H2Y-1icf9n2BBG-00x4Rs; Mon, 29 Jul 2019 07:44:05 +0200 Subject: Re: brcmfmac: Probing regression in Linux 5.3-rc1 From: Stefan Wahren To: Nicolas Saenz Julienne , Chen-Yu Tsai Cc: linux-arm-kernel , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , "linux-wireless@vger.kernel.org" , brcm80211-dev-list , Johannes Berg References: <1563774880-8061-1-git-send-email-wahrenst@gmx.net> <96113adb5fcab9c2f4bb5fa82b84ff5f9c07fd07.camel@suse.de> <20190723093442.GA27239@lst.de> <04c5eaa03f3a124dbbce6186e11e19acc4539cc8.camel@suse.de> <5f9b11f54c66fd0487837f7e58af3adf7f86635f.camel@suse.de> <3daef629-8baf-3c5c-16a4-73d67604d1e5@gmx.net> Message-ID: Date: Mon, 29 Jul 2019 07:44:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <3daef629-8baf-3c5c-16a4-73d67604d1e5@gmx.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:bhg3HeZuoRPTYEoKMN6P+ztFVo4zA66p1dLMelZKYN2RzT/yKNL 7su6G+fId0SNYqszVj5J21ijlkL4cJuRQh0Z+Ya906DdMGtZ9sqKKlTe0dGOWp4Iq8OXJK3 jj2b3ldOxJbNFj2xCpS4sh3ZHOCAxGfLPwDnyq6K4daMO+zHALut0hiKJn7NOXlN5Wx/nfp CyzYoI/R5eWuOuUMmSG8w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xO7C9DBpyRU=:Rd/HvVS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ILF0dPHQB1jJ8Y2Zxp00MOdMY+umDVJSxK4b 8xRNWh8z1XQscw= Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, Am 27.07.19 um 17:17 schrieb Stefan Wahren: > Hi, > > Am 24.07.19 um 10:37 schrieb Nicolas Saenz Julienne: >>>>> Does it fix the wifi issue too? >>>> Well it works as long as I revert this: 901bb98918 ("nl80211: require and >>>> validate vendor command policy"). Which has nothing to do with DMA anyways. >>>> >>>> Was this the issue you where seeing? >>>> >>>> [ 4.969679] WARNING: CPU: 2 PID: 21 at net/wireless/core.c:868 >>>> wiphy_register+0x8e8/0xbdc [cfg80211] >>>> [...] >>>> [ 4.969974] ieee80211 phy0: brcmf_cfg80211_attach: Could not register >>>> wiphy device (-22) >>> We're seeing this on different platforms (allwinner / rockchip / amlogic) >>> with Broadcom WiFi chips. So it's unlikely to be related with anything in >>> this series. >>> >>> I believe a fix for this has already been queued up: >>> >>> >> https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git/commit/?id=91046d6364afde646734c7ead1f649d253c386e9 >> >> Thanks for pointing it out, it fixes the issue alright. >> > i cannot confirm. I still need to revert Johannes' commit "nl80211: > require and validate vendor command policy" to get brcmfmac probing on > Raspberry Pi 3B+ and 4B. > > The commit "nl80211: fix VENDOR_CMD_RAW_DATA" didn't fix the probing > issue (see warning above). i rebased my series on top of Linux 5.3-rc2 and issue disappeared. I assume the commit "wireless: fix nl80211 vendor commands" is also required. Sorry, for the noise. > > Regards > Stefan > >