Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1550977ybg; Tue, 2 Jun 2020 13:07:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz1nWNaecD5A8uozXfML0+zurRUuPt8ZqVBwn/0j0l4K0cDO4kF5/5p77tPWVslBa+yUEH X-Received: by 2002:a05:6402:b21:: with SMTP id bo1mr3774987edb.169.1591128447499; Tue, 02 Jun 2020 13:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591128447; cv=none; d=google.com; s=arc-20160816; b=TpQl/437KZaz002InLdL0nX8OYf97tV2ex5UgBUuf9SN4M+4Eul5xtXr89LnxDB5Oj ZT9fVlOaCsPQHsC2t2XpYEXNt92bf8vhWKO4jcLzcmFD+zB3FoE9Kt2DtZAeBdwBJgJU xafFEERjpLTLKSx9aM3nPt+z5IzePP2TOQ0+sfaEqGBCztEIeXT7F/CoZdJJkUDkB/ID L3711HAbdFx9IoVhAruCLvJgdiQZPmQQdjyKdHSzWtQkEbx9B+q0nGfJJ5XVVxADkexM +REPpO1gUtqJreB8fGI5TpeXBgskCr/fGSasQXgnKbwoH3lR99IUKTRkydfhOMltJZil seCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YwRmnpMyYSKsuBVaIf/H8HlQR4v0H9X4t/FINDNUlCo=; b=VbH27ICyFXkCsQ2z6lCydVpJceLWpivL6nUgPVaXcTPiJlQ7UlRqi62iy7rTJ48pyZ 76XPJcI4MHfysC+inOQbdhwV3eRRgt89chyP1K+RRAz7vjOhs1iPGgIZMwD7Qmh6smqX ckOVGKgw5q75qc7txnq91rJ3GVBVuCh+x7oHAwi1RTsoU9UchNdr8bbcY32y8ppJg3Di YUjVK6spUr30CnNe6cDNxgwdEaYV23J83r7ZLBmyx42pqGQuHASu6ask7nFYlLYsjaBK 8eOCW2/dIUKj9onjAPa9xEQuecFZWSWFuYPqTOieROcy/SRKUO4xJpl8IOaEwOnVRMKD 79kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Om1H0Oeu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si2057853ejk.9.2020.06.02.13.07.03; Tue, 02 Jun 2020 13:07:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Om1H0Oeu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728202AbgFBUEo (ORCPT + 99 others); Tue, 2 Jun 2020 16:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgFBUEn (ORCPT ); Tue, 2 Jun 2020 16:04:43 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33693C08C5C0 for ; Tue, 2 Jun 2020 13:04:42 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id x22so6954067lfd.4 for ; Tue, 02 Jun 2020 13:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YwRmnpMyYSKsuBVaIf/H8HlQR4v0H9X4t/FINDNUlCo=; b=Om1H0Oeuuzm5pUwKfcMbsOt8vaAj1s6JaK5NLFAGjfyPxB+d2R41pm4vcvTRwOZbJw 6t2QIqGoC2cEfXn3pIKNxqt82rqVLsvBx6eYwhSdB9Vrkz9eufuFpbZC6Aeydk8hwL1f e9cWaeaUDPSpFvgqJE/5wrybB8Hc2xLMOhdyg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YwRmnpMyYSKsuBVaIf/H8HlQR4v0H9X4t/FINDNUlCo=; b=bE5EC/ayiN//tdt5IA1p5/eZwA5s5uNpwuk9t7yx0fiatODbXbSIGN7DE4xkbe/9bq Ibl5LendqqzfFBo8VQ99im2KVuiYeWZ7ahRq+bDlsGIFvJToozyUfdNXeT+bpewx8Kp9 5V3l/jWl960k4HUg4yt7tm+WLnIgikXcxBr+lWHad/ke76638OAi2WNeyEKKmbrNcZ2A ECtop3CEItv//lG/7hzexOududjcneZuceAEIAZ9SPzTXoc3K1Y7PRPhdXyuRRjbY5WE W4b4zGPMNEnav7Dj97r7LU190021gzvAqT4zjcgotyZftNxPFzCOT3hd40k5VmTDx17Q MHOQ== X-Gm-Message-State: AOAM530tWKpldErv/VdO2tVqlNO4age6bZkRSEcdRJiPuXX5x+HLv4U1 Khka6A1g2cyBht5FRE8VPh6u3gYLAsw= X-Received: by 2002:ac2:51a7:: with SMTP id f7mr509382lfk.13.1591128279774; Tue, 02 Jun 2020 13:04:39 -0700 (PDT) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com. [209.85.167.51]) by smtp.gmail.com with ESMTPSA id 10sm729278ljw.134.2020.06.02.13.04.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jun 2020 13:04:38 -0700 (PDT) Received: by mail-lf1-f51.google.com with SMTP id h188so6955625lfd.7 for ; Tue, 02 Jun 2020 13:04:38 -0700 (PDT) X-Received: by 2002:a19:c1c3:: with SMTP id r186mr509343lff.49.1591128278047; Tue, 02 Jun 2020 13:04:38 -0700 (PDT) MIME-Version: 1.0 References: <20200602052533.15048-1-john.stultz@linaro.org> In-Reply-To: From: Brian Norris Date: Tue, 2 Jun 2020 13:04:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot To: John Stultz Cc: lkml , Rakesh Pillai , Govind Singh , Bjorn Andersson , Niklas Cassel , Manivannan Sadhasivam , Amit Pundir , Kalle Valo , ath10k , Sibi Sankar Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 2, 2020 at 12:40 PM John Stultz wrote: > On Tue, Jun 2, 2020 at 12:16 PM Brian Norris wrote: > > On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > > > > > Ever since 5.7-rc1, if we call > > > ath10k_qmi_remove_msa_permission(), the db845c hard crashes on > > > reboot, resulting in the device getting stuck in the usb crash > > > debug mode and not coming back up wihthout a hard power off. > > > > > > This hack avoids the issue by returning early in > > > ath10k_qmi_event_server_exit(). > > > > > > A better solution is very much desired! > > > > Any chance you can bisect what caused this? There are a lot of > > non-ath10k pieces involved in this stuff. > > Amit had spent some work on chasing it down to the in kernel qrtr-ns > work, and reported it here: > https://lists.infradead.org/pipermail/ath10k/2020-April/014970.html > > But that discussion seemingly stalled out, so I came up with this hack > to workaround it for us. If I'm reading it right, then that means we should revert this stuff from v5.7-rc1: 0c2204a4ad71 net: qrtr: Migrate nameservice to kernel from userspace At least, until people can resolve the tail end of that thread. New features (ath11k, etc.) are not a reason to break existing features (ath10k/wcn3990). Brian