Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3176419imm; Tue, 29 May 2018 02:26:48 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpgucfZ077kRHSp78YFa+7UVSW2xO4bgR/P7U3JvpPkq5IZjTVFI9KOU8nJcJProXx4nbTU X-Received: by 2002:a63:7848:: with SMTP id t69-v6mr13264032pgc.380.1527586008351; Tue, 29 May 2018 02:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527586008; cv=none; d=google.com; s=arc-20160816; b=sSpK7gLa919Mc6Fs+6Rel3At6cy2X+Xo7rE+jQc4nc1UyHE9yzIlj/Q8aN+sbeNKgs bAEVTolPAsKLNw84cVmis3t/DjKopv+INyhqY8NDmK/ZHW19UgAfesFvif+8aZSKOQ0e Dn2vopFJUIQn7flIDYu24hr6TDvCoQTfKOvZbdcz4DH4K2vH1btP4bvYhyQpfvlHqfId kP+TDHd7JtIgmmTx2xXx8ufdmpdxv76i15+koXC9qkt4KA3cfScgjqxsg4lwQwSjqCat FurC5LHVjw4TKFs8ScNnqxRHX8WuSkEeZ2FikM94M/glBORwuKP4/BGSCkonfeDI5WSF 3ipQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=7E3cG0qPvecYmSaIVMH8CuuSHvHn7rC+KkvXQn0yqjI=; b=fBBK1g+BLKDLBsc7bZexgBb7WGUXO+TpUKJ8aFlFw9ZI81KBCx2ET2tfCGY9ueHtze GCTod83Nz0u9CTb+HbDtTpsEWBmimvqQXzvR7+wod2hIxeDSi8VMV8ZXcKf1yj3oUA1o Kr3I436UGlkEv3xVHruu5VhoLlK7Uk5NH8kH1U6J/9TAUZZtdbw9Z5C4Do53ohPcQv+O LNb4XLmI1/dSZYDqoVRYTSR5L8lgknMZDnOPCT2JHgovwKvB7fUB/TasE6Z2eVVadsDc V/cPVbKWhmkiLQLpWKFJSwLlhfPnzlCPxLsRIA8L4zL69gsN216eR/b1nX05BOiWlX4r lOmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=IjJWWrlH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8-v6si24970664pgc.693.2018.05.29.02.26.34; Tue, 29 May 2018 02:26:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@broadcom.com header.s=google header.b=IjJWWrlH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S932649AbeE2JZ7 (ORCPT + 99 others); Tue, 29 May 2018 05:25:59 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:35410 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932517AbeE2JZy (ORCPT ); Tue, 29 May 2018 05:25:54 -0400 Received: by mail-qk0-f193.google.com with SMTP id d130-v6so5530159qkc.2 for ; Tue, 29 May 2018 02:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=7E3cG0qPvecYmSaIVMH8CuuSHvHn7rC+KkvXQn0yqjI=; b=IjJWWrlHS67edDP2TG90UyBn8+9S5qfvi0torV68wiSHz5UzIdjTWJt+tCldGljDRI xZWGTgvvhJEa2R/b1PqU4yUI0N62RHZKhEAvQEdhOsiVTVbWfdjggR/qnA2zX4tJ/V2a 4FFCN7tTSWu2JuO4Hv22C00vgkwc2zUVnu0Dg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=7E3cG0qPvecYmSaIVMH8CuuSHvHn7rC+KkvXQn0yqjI=; b=R+BXtHXaNyuTp7rD02L+uSVcFG89/XWrSWHvo8OLwsDTGpUy1DFAehQWaagliI0kyP K2w3AR04tOWakgp1dQn8XQ/Py1A/RcUTCQceDza1XMrKuj+nKTlWn0/u9mLhEybf7ITB XpIO3+FpCN4yrOTwIq5B58QDYVl0yL9g++7ckMrqgwt0RmMFOKAuDZVTAya+pDjeNfKY y5mId+H5kjuzGWEi5EenMK361qbbrn3XmFg23hpgIGEU2QnUxUokScgWjpz3c26fjgTc 2dtfUPDU2m5KbOI23JorWl9Ez46rfIsKl4ZPb9fZwQV9waHrg20NQR0FXvfNY9RJ9wbM 5J1g== X-Gm-Message-State: ALKqPwd7b4zLdgcrpH1deNGXAGIbxXabR/kQyXHooCE0GOC2v7lXU73f 7r04Tdwvql8dHUH/a18V+/S0JYLM X-Received: by 2002:a37:c4:: with SMTP id t65-v6mr13697337qkg.402.1527585953812; Tue, 29 May 2018 02:25:53 -0700 (PDT) Received: from [10.176.68.125] ([192.19.248.250]) by smtp.gmail.com with ESMTPSA id g127-v6sm6626538qke.39.2018.05.29.02.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 02:25:53 -0700 (PDT) Subject: Re: [PATCH] brcmfmac: stop watchdog before detach and free everything To: Michael Trimarchi References: <1527493857-2220-1-git-send-email-michael@amarulasolutions.com> Cc: Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , Kalle Valo , "David S. Miller" , Pieter-Paul Giesberts , Ian Molton , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org From: Arend van Spriel Message-ID: <5B0D1C9E.4000800@broadcom.com> Date: Tue, 29 May 2018 11:25:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1527493857-2220-1-git-send-email-michael@amarulasolutions.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/28/2018 9:50 AM, Michael Trimarchi wrote: > Watchdog need to be stopped in brcmf_sdio_remove to avoid > i > The system is going down NOW! > [ 1348.110759] Unable to handle kernel NULL pointer dereference at virtual address 000002f8 > Sent SIGTERM to all processes [snip] Please send a V2 with your configuration details to the commit message, ie. using built-in driver, no firmware in place, etc. Reviewed-by: Arend van Spriel > Signed-off-by: Michael Trimarchi > --- > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 7 +++++++ > 1 file changed, 7 insertions(+)