Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp503740iog; Fri, 17 Jun 2022 07:42:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uDQM4A9Q8cgmviuAgRi+k4kVL+wom3okRkkqsFHOVmCm8HcoRGEAkvefx0s/3EHQmA/IQh X-Received: by 2002:a17:906:5305:b0:712:388c:2bf5 with SMTP id h5-20020a170906530500b00712388c2bf5mr9799138ejo.559.1655476955639; Fri, 17 Jun 2022 07:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655476955; cv=none; d=google.com; s=arc-20160816; b=nHiIY7TRoUtvJfkod0Y8JzQmXEY9sCAysq1tCrtONmQdMldkedG1cNwGQDwQBwAwVA zCQbkEQl4UCaUCk68wW9zF7QfYboi0cZPURp83f/vB2T17rzDZHBsJH7HDN41x9jg4eb YZy2896f1LVlQx4Eifv+w5URcspU6HO6XrU7L96kN5oz35Av4aQ5XI63ET/XDVJ4X1Jc xQ1OiESPzEzcjXjdi2Byrd2oD2OMqZnriSIDeZzg7tWDP45xNOQqd+wKh9OKsyxXwNkY yuyANApmhbcs47oNchBNY9MTQvWUkXStMHP1HNjr2XRdHgpEhqggwvqD2XsmpEiQmg1K i6wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=nxFlsSqiLytB2oybbWxLH4i+nQ3KDMGZZv8tlLCQtE4=; b=CUwZHk0hBj9ETHzsWxcPUTfRQtcnT/NCtPKiYe20PkZCRPKecHqihtUqs/Bz8getKI VUPTftrrpDxKJQKCVFbGkBW82VhhRhhCBYsK+09kaguQV8JIKrPe5B+75SqA5d8AaA8n ZdTFB6bZ6H3NkfGWM58OuUY1HUQ0qQHOjn20AHbxVycvu38CwdwUADPU5C5s2WQTOZFu cQIy0If8XfzC7nL6GQtfa6qj3wFmWLdR9UKQlJqK3rLsTfMLmj/0txNVe+SKR6/kiSmE 2iHBieC3T3GVRcIv0AM5dbgSNBzv//jlcHfJ5ftc/g/UTW8masR3EoNSk7/waVbjgJ6h a/9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dannyvanheumen.nl header.s=protonmail2 header.b=bEbir5Di; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dannyvanheumen.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq39-20020a1709073f2700b00718d033df13si5517969ejc.678.2022.06.17.07.42.14; Fri, 17 Jun 2022 07:42:35 -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=@dannyvanheumen.nl header.s=protonmail2 header.b=bEbir5Di; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dannyvanheumen.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381599AbiFQOba (ORCPT + 65 others); Fri, 17 Jun 2022 10:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231490AbiFQOb3 (ORCPT ); Fri, 17 Jun 2022 10:31:29 -0400 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E7F555348 for ; Fri, 17 Jun 2022 07:31:28 -0700 (PDT) Date: Fri, 17 Jun 2022 14:31:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dannyvanheumen.nl; s=protonmail2; t=1655476283; x=1655735483; bh=nxFlsSqiLytB2oybbWxLH4i+nQ3KDMGZZv8tlLCQtE4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=bEbir5DiqJP9JPAl284xnMtIO3tD0PCd8/9KeKGuSrtDnencUL5xc0CuqLZTa38ew +9POkrqb7WMhp0K+8kHHYqlcNNLoSqtQmVjbluN7aZGPrhY03qjYa5Nt1VzyLg7CuE 3030j7trjcdGJDx7qj+kfBKjjhe0ka5yyCSOXQOTDDfWGf+Wsfdwcq/oG4wZ1m0Agm NC6s/h7S85blT098szIdIL+Hw75FN2PALTxK6jWUvz5mi7pSl7fBXrS7979VAPfp+p F7uNOOueJBfiWXmXbD14FP+X4e12KZQcQZKgtMvCbKWiUwVdSkQXXte/BsxW12TRrp tCwslzrB3hQDg== To: Arend Van Spriel From: Danny van Heumen Cc: Franky Lin , Arend van Spriel , Hante Meuleman , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com Reply-To: Danny van Heumen Subject: Re: [PATCH] work-in-progress: double-free after hardware reset due to firmware-crash Message-ID: In-Reply-To: References: =?us-ascii?Q?_<51CC1C7B-400C-4A7A-A5D3-EB457DC6862F@broadcom.com>____<1a116224-66ff-17b1-bb8b-9c0918dd47e4@broadcom.com>___<1815e2011e8.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com>_?= Feedback-ID: 15073070:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Arend, others, ------- Original Message ------- On Monday, June 13th, 2022 at 20:50, Danny van Heumen wrote: > [..] > > > > You should send a proper patch to the linux-wireless list, ie. not in a= n > > attachment but the commit message and patch diff in plain text email > > message. Please refer to [1] for guidelines. Done. (Sent as separate email not part of this thread.) > [..] > I have tried to reduce/remove the probe-logic in `.reset`, but I can simp= ly not reach that logic reliably (or at all atm), so I cannot test even bas= ic simplifications of the hardware-reset logic. I have not made progress concerning the reduced logic in '.reset'. I will not attempt this any further as I do not have the right circumstance= s to test this properly. > > > Regards, > > Arend > > > > [1] > > https://wireless.wiki.kernel.org/en/developers/documentation/submitting= patches > > > Another question: > > `BRCMF_FW_DEF(43456, "brcmfmac43456-sdio");` > > This line defines IIUC that a firmware-binary exists. However, there is a= nother macro that defines both the firmware-binary and the clm_blob binary.= AFAIK, BCM4345/9 (brcmfmac43456-sdio) supports loading a *.clm_blob file. = So I suppose the line should be: > > `BRCMF_FW_CLM_DEF(43456, "brcmfmac43456-sdio");` > > Does this really matter? Should I also submit a patch for this? This is still an open question to me: from what I can tell, 'brcmfmac43456-sdio.clm_blob' loads correctly even though the macro does not define it. So this may concern certain specific use cases. Regards, Danny