Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4630549iog; Wed, 22 Jun 2022 02:43:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t2NG8OkD7SFCqCiACymuJCzA/4tp/b3QRcAm5fCkLiEUMmzxV0tMWu6+rm5dugmiknlMYm X-Received: by 2002:a05:6402:3713:b0:435:539e:a939 with SMTP id ek19-20020a056402371300b00435539ea939mr3067694edb.160.1655891002108; Wed, 22 Jun 2022 02:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655891002; cv=none; d=google.com; s=arc-20160816; b=fdgFhgNbNwu5TveoR1hdWen1rqZDUkRQVo6MI8Vro4DWAK4xdNQ5xgHMjy/uRx6DlY agWU2GXDqTOnoUylbJmVaGM97gJ68N/0zaNkEVR+fxF+jf19gitLqYw2RlgApEr0TTju rEuJ3RAG6BkDLsOav6pUGsIblc1i30n2wImotU9NZzrX9e79ujPIzaTZexbBUaKOOzVH fdJBGQVTdLcyAFx2ImzKEGQLfbsApft+5UZdK8Va+Y7rb9ifqzW3zK4ZxhsOIyKUKXwE cJ86KKi2aoheOIUfbpu21UTigz1z59dHgYMyng+l75jAIcNUg+CscmcBhlViDK3nPiRo uCMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=conP16AfxLbsRQkGvTrju1ADG/qKMw8etzUTMHQVznI=; b=mRop51CSuvp03MZ9kiWVjK/bcn7Oc79ZPbVSJ3DmWsrZ4OBanWngVjdT6XupOM8kfK VFv/fWdxudmEykWj4/OT+fEcFMGybgGSk4NlVEVwX4ZCVrpwmrm7HwB4otmiUE6pkQNp DCO7J/LrNkHFxDv1IdyjssMFHLVwct8A14L0j14phu5SHd2RsVZJf60R1kla9PrRry8Q dQpZcxpTktZi6LHj3SBTUAqfD1eppct1Go8h9jrkqsfrTWTYXSnes3y67F6BuSDdWFKj /FEJfhiM7Cb4NivXXD1RfkJIIz2u1fDmvw441H4bA+di6T5YrYsUsMEqmYwsQuy3esuU X18A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=dKTho97G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a056402124600b0043599261b03si4181841edw.378.2022.06.22.02.43.04; Wed, 22 Jun 2022 02:43:21 -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=@broadcom.com header.s=google header.b=dKTho97G; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235403AbiFVJgj (ORCPT + 65 others); Wed, 22 Jun 2022 05:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235328AbiFVJgh (ORCPT ); Wed, 22 Jun 2022 05:36:37 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42D532CE0C for ; Wed, 22 Jun 2022 02:36:36 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id 128so8574136pfv.12 for ; Wed, 22 Jun 2022 02:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=message-id:date:mime-version:user-agent:subject:to:cc:references :from:in-reply-to; bh=conP16AfxLbsRQkGvTrju1ADG/qKMw8etzUTMHQVznI=; b=dKTho97GFoU21wb/oVKOqzpJ3U6D2yUvxamrczcH8ftZEUbxJQdCv5+6GMxuEzKZIG N0TPqbNYk9GECSy6Kz2ZfiGzWudd6pG9l0pOTcg8obuk0hyXbwsTogdf6DA/Ub7fOjbR P2a71+pl2ygE926JKMw0fvL78rji4prEvnD28= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :to:cc:references:from:in-reply-to; bh=conP16AfxLbsRQkGvTrju1ADG/qKMw8etzUTMHQVznI=; b=gcBiDMoxmfHbz5a5OqMZGCCx/s3SI5TbZXjifiHR8Kx2D1S45zlJhTh3pbLCM5kKnP eEqB24qgGLJ/oCeRr4+JcooQe7g1YlbxLaN9iFTtSafugJyS3sq1NT67AsUnkBAmRHvk DJShSnu4vUtQNaRmFJ5YNP1u9Yo2n96mtpo9V9/XmaV4hAHZkgD89dqZAT5wmdb/bxYl gnUXeWNE6BIV30/UYSjELXSZBBFj0GWcTUVPrNpFfIxa0c91XWNtj9yNAsAZusb1bBbG CZK7h6ec5j4VAbJlZj4wAmnkXYPtnIdCvhBQ55pBFClZdTMLVSzmXLc4v/WOqM7jf9lX 1ElA== X-Gm-Message-State: AJIora+A6yoe1b1abV2m9tQM1FwES23iDbLymTxcgizJsKMQcqiUY6jM aG07VMP3iD32/yjYgZQK81lzvg== X-Received: by 2002:aa7:9911:0:b0:525:1bb3:965a with SMTP id z17-20020aa79911000000b005251bb3965amr18110731pff.79.1655890595722; Wed, 22 Jun 2022 02:36:35 -0700 (PDT) Received: from [10.176.68.61] ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id mm21-20020a17090b359500b001ec86a0490csm8191864pjb.32.2022.06.22.02.36.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 02:36:34 -0700 (PDT) Message-ID: Date: Wed, 22 Jun 2022 11:36:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] work-in-progress: double-free after hardware reset due to firmware-crash To: 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 References: <1a116224-66ff-17b1-bb8b-9c0918dd47e4@broadcom.com> <1815e2011e8.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> <45d90d65-cd0e-e65f-edcf-d55802a4a6bd@broadcom.com> From: Arend van Spriel In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000c2e1f405e20612c7" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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 --000000000000c2e1f405e20612c7 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/21/2022 3:18 PM, Danny van Heumen wrote: > Hi Arend, > > ------- Original Message ------- > On Tuesday, June 21st, 2022 at 09:41, Arend van Spriel wrote: > >> [..] >> >> Maybe overlooked, but I have not seen a patch from you on the >> linux-wireless list. Do you have reference, ie. URL or Message-ID? > > I'm not sure what's most convenient here, but here's an archive link: > https://marc.info/?l=linux-wireless&m=165547582612979 > > Message-ID: ThT2jwvySn9tFQm9FxrlPNMQkiGUnx_87cOhmmeexoVOFZqOkpjmAntCWG- > kIBMj2830LHZaOULlJxQKiRXkVtGYrrT8rBaB7R65qjIinYo= () dannyvanheumen ! nl Found it. Had to check my gmail account instead of my work account. > You haven't commented yet on my question regarding definition macro for the clm_blob. > I intend to send a patch for it, because I believe _at the very least_ some parts of distribution > processes rely on these firmware entries. It would be good if you can confirm. The clm_blob is optional unless the firmware image was built without any clm data. If that is the case for 43456 (I think it is not) than it should be reflected with BRCMF_FW_CLM_DEF(). Otherwise it is fine as it is right now. Thanks, Arend --000000000000c2e1f405e20612c7 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQdwYJKoZIhvcNAQcCoIIQaDCCEGQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3OMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqP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