Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3807668imw; Mon, 11 Jul 2022 16:40:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uH89J7PgKEMo67OOY9yRyEa+n7pPnEyDecJaHKJ+CXg7FqWOvz0ME6+5exbvy1v8Idbpeq X-Received: by 2002:a05:6402:2312:b0:437:69ec:adef with SMTP id l18-20020a056402231200b0043769ecadefmr27857394eda.366.1657582853739; Mon, 11 Jul 2022 16:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657582853; cv=none; d=google.com; s=arc-20160816; b=vUdX6DJ826MTCKFSr8VL4463tRhe+p0JsWjw5UyfCF+BUQKFrAk/2VFya2cNWBLP6T craYjXfcV5TEHEX76SxRfRJstthP/AV4KY/qXZKj2QdyUqbP7IwF++ApxcoJzj5ZrcKv nmGZjZnp8tjZJ2W9l8AIDnyVezJ3eg0kWLY2QrCL24DFb71M1MXj9bcqVq/1IAPmFcO6 VSMWktsmQcrULXbYXe3k6UPzQ6uXBam6x/znsPzz07R08T9C8M8VIKMRboviH0pK86NL NvjvgNUmmpl4xx6fKquhxRMc971DrcbMoR06jswBmzw6isx+nHLCSXdN36E8i2wUASJs 2Hyg== 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=dJ7XzW9JR+iR7w3Orjx2VNxD5Zp98I27EpmQYwWURhE=; b=SMaH21CbT8s80Zlxw28kaj4Zy7Lreh7MDZv5Pm7JgKmYpQl7yIrRyZpZncUTZW6Pe4 hs2oaWGh+iMPgpsjkyULsS6gCuH3jyihstcNY1S6QUn/4zqZRDm2GSucSOHJd9jy2EUk NTGXSztx8spdZ9btD8/UODizKxEEC5cfhG0ndgFpiXz2kA0PzYwKe3vQeVu71Ozf87xP u0nTG1sxhKAnoer4nrlPcWfTPtME9iCDWSxryckY5uebFlyoehU1t5Pn9zjHL5GxQMK4 F9MC7+lrWF1lbFfDuQj7sF9bCd++9XagjgZ9lcuFNUoUglxAt4vodD2VVYYNkBLvjQm/ QahA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dannyvanheumen.nl header.s=protonmail2 header.b=tUGSepES; 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 hs37-20020a1709073ea500b0071578ad44a1si13010988ejc.986.2022.07.11.16.40.36; Mon, 11 Jul 2022 16:40:53 -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=tUGSepES; 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 S231520AbiGKXZh (ORCPT + 64 others); Mon, 11 Jul 2022 19:25:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbiGKXZd (ORCPT ); Mon, 11 Jul 2022 19:25:33 -0400 Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C6E38AB0A for ; Mon, 11 Jul 2022 16:25:32 -0700 (PDT) Date: Mon, 11 Jul 2022 23:24:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dannyvanheumen.nl; s=protonmail2; t=1657581930; x=1657841130; bh=dJ7XzW9JR+iR7w3Orjx2VNxD5Zp98I27EpmQYwWURhE=; 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=tUGSepESaZCFMuuJis/hrTnwlh1rUqWLVaadlYQ+XSio/obCfcXvqT/S6k6uMknJ5 tJxwnb9GkEVqep9Fr6F6h+VzQ/kBQETeY9aEhGErQ9xn48tkQiuEXCPcisovnyG7aQ R9ukfCWtw7YCUMWC2hhsrnvrxhdMH+kec+kaMrMqpKjAG1mGwnysjDoVoENKXjbBKr 61HCbce2+W5/4ng00C7s408CKq7ekTnULW614Jf+Ht47S/V3VtVF8h8wSyJt36kiZG +wSnwXD3V686b7lGmlmxYbvkSnHwdX9ywRSdhY0MlL7ry4V/MjdV4thgmrAa+8H99B 9Us9ywsA/DkFg== To: Arend Van Spriel From: Danny van Heumen Cc: Arend van Spriel , "linux-wireless@vger.kernel.org" , Franky Lin , Hante Meuleman , "ulf.hansson@linaro.org" Reply-To: Danny van Heumen Subject: Re: [PATCH v4] brcmfmac: prevent double-free on hardware-reset Message-ID: In-Reply-To: <768ee7d7-bbc1-b466-480d-de6390d26051@gmail.com> References: <48f31e63-f4de-faf9-3c8c-eb2bdd8a2b04@broadcom.com> <768ee7d7-bbc1-b466-480d-de6390d26051@gmail.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,RCVD_IN_MSPIKE_H2,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, ------- Original Message ------- On Thursday, July 7th, 2022 at 22:25, Arend Van Spriel = wrote: > [..] > > Right. I prefer dropping the interrupt clean-up and rest of the patch is > fine by me. Please find patch v5 submitted. Subject: [PATCH v5] brcmfmac: prevent doubl= e-free on hardware-reset I have reverted the split, in-order freeing of func irqs, as discussed. No = further changes. During my time running with the various patches, I have not had any issues.= As mentioned before, repeated resets did not result in any issues. (I didn= 't count exactly, maybe 30+ resets in a scripted run.) IIUC this should be ready for integration. Regards, Danny