Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3320541pxk; Mon, 7 Sep 2020 09:26:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVVPRU5Rvqa3Umjw+hoAV6tVFkO3MVGNq4p+VYGxno7JHyU5HJcuPWIczeylJs4K+Mpvns X-Received: by 2002:aa7:c61a:: with SMTP id h26mr21918635edq.254.1599496018943; Mon, 07 Sep 2020 09:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599496018; cv=none; d=google.com; s=arc-20160816; b=L9WLhzTNtlOIoF7Ow4Ui8oCnAiMT5/3xg1l9VkVRb32KWZiDpfAeyJC/utUJhcdtDI h8daBiqJnKf2tRWtFxzd60BJUOGhY+6BVxa8tGJ1YcA/xwc+62FmmDTWlRKX5EFY3OeD Bu2XDVKGfiwxXdAosotjFQADDbdRsBXl8XNIQixtpxf4Jy6mvgO096fFUMAxpv6upniI 4JBh9AIkpXGCPosVVhG67PH/2O91cL525Ihel510vDTGJGrRKbIodFY1IWDQIkUzPhwz 9hGoNbI9PWmF/aXjTLktmL6EFu2dneHyizePE0ipTckShY05rNE3qtLQkoK2qY1RNOjU YYlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :message-id:in-reply-to:date:references:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=F1fK/IWvTiLOei5XclM5U5frNwUYXx5RKdk1GT63fPA=; b=Vl6Z50Jn7/u4a/En1t3qiTf8289fGgyDCZZkK650NlaXZmAo2JDERGrODtp2tuSv09 8TPLHful0T50DN+08NagZQVxYl5t5pSj1Y6Y8MVkqO/GVP56L/Vq3CZo7gfNu3vExdBV iFXUpRTGPuA+fY30ciwjJ/4Sgy0oBsD441s4ORmRQ3A3UecWIrrKeIAgg0yu6LgDkngs ahWA2Jw1q9X7uQWhgD7hAb4k6CSkdJbCNYPh8xNKU+sl81CHV1BfI2tLUllReTRlPDPF loGYjEaxBB6sLX08aclTIRDolQUH+AJJDwFhfqfnP/3NkjxoteuE+isYW8GQi7LIsqLV /aSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=a40DB3ao; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=ABHiFHsK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id wn19si5649720ejb.625.2020.09.07.09.26.37; Mon, 07 Sep 2020 09:26:58 -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=@codeaurora.org header.s=zsmsymrwgfyinv5wlfyidntwsjeeldzt header.b=a40DB3ao; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=ABHiFHsK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730515AbgIGQZl (ORCPT + 99 others); Mon, 7 Sep 2020 12:25:41 -0400 Received: from a27-11.smtp-out.us-west-2.amazonses.com ([54.240.27.11]:59240 "EHLO a27-11.smtp-out.us-west-2.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729821AbgIGQMR (ORCPT ); Mon, 7 Sep 2020 12:12:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zsmsymrwgfyinv5wlfyidntwsjeeldzt; d=codeaurora.org; t=1599495137; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=5LQKIMfvX9HJRYKU2mde8fU8lzIvJMwQKf6/plslzvA=; b=a40DB3aocBb07ZqZ/Q4NSyeHTHdqjAfVJsxInjb7DjC/RStAiuFTsHFhSSNy6VrC Kp7iUQHAry7EI/7vJt8pvhPuXcYVWttpvJlNKy4FA6wMR1Qld55EjnN7DtSkNNGGTgD njgiaTGpf1/iUNwJAPN7arc6cze+KYCFMh57ykhU= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1599495137; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=5LQKIMfvX9HJRYKU2mde8fU8lzIvJMwQKf6/plslzvA=; b=ABHiFHsKI/jA9woBIzSitiPqxEHfbR9t3htMRg+UvdDRkQ5MU55OC5jghnD+oWSy ncSk+YNCk+NLsrKNwiVLDU81kG/S1Hc/DFJTiMwZfbL5W5GmJmTEmMK8vg1TbY0v5yK 361VaTUdsPVX+n/wvUMpZ6xhXkQmUnvaYI2bZzDg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 68CEDC35A23 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Govind Singh Cc: Amit Pundir , Rakesh Pillai , Brian Norris , lkml , ath10k , Bjorn Andersson , John Stultz , Sibi Sankar , Manivannan Sadhasivam , Niklas Cassel Subject: Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot References: <20200602052533.15048-1-john.stultz@linaro.org> <20200603002715.GA5349@Mani-XPS-13-9360> <87zh9diyam.fsf@codeaurora.org> <87ft876ify.fsf@codeaurora.org> <8577175552c24b83c80eced09d54e0b3@codeaurora.org> Date: Mon, 7 Sep 2020 16:12:17 +0000 In-Reply-To: <8577175552c24b83c80eced09d54e0b3@codeaurora.org> (Govind Singh's message of "Fri, 28 Aug 2020 18:37:11 +0530") Message-ID: <010101746956e552-1a6831c4-6a53-4452-9e13-00e689924032-000000@us-west-2.amazonses.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SES-Outgoing: 2020.09.07-54.240.27.11 Feedback-ID: 1.us-west-2.CZuq2qbDmUIuT3qdvXlRHZZCpfZqZ4GtG9v3VKgRyF0=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Govind Singh writes: > On 2020-08-28 18:22, Kalle Valo wrote: >> Amit Pundir writes: >> >>> On Mon, 8 Jun 2020 at 17:07, Kalle Valo wrote: >>>> > I don't agree with this. If you read through the replies to the bug report, >>>> > it is clear that NS migration uncovered a corner case or even a bug. So we >>>> > should try to fix that indeed. >>>> >>>> I'm with Mani, we should try to fix ath10k instead. Hopefully we can >>>> find a fix soon. >>> >>> Hi Team, >>> >>> Any updates on this? I can reproduce this hard crash on v5.9-rc1 as >>> well. >>> >>> It is not a blocker for us because we switched to a userspace >>> workaround, where we do not wait for modem to shutdown gracefully and >>> SIGKILL it instead, during the shutdown/reboot process. But I'm happy >>> to take a swing at any intermediate/in-progress solution available. >> >> Govind submitted this patch and later he asked to drop it, but I think >> it would be a good idea to test it anyway: >> >> ath10k: Move msa region map/unmap to init/deinit path >> >> https://lkml.kernel.org/r/1591191231-31917-1-git-send-email-govinds@codeaurora.org >> >> (patchwork is down so I cannot give a patchwork link) > > This patchwork is not fixing the issue and changing MSA mapping > sequence is major design change. This issue is only seen with DB845 > which uses SCM call, newer targets QCS404/SC7180/SM8150 will not have > this issue as MSA mapping is hard-coded in TZ. Probably changes in qmi > layer to give different indication for this scenario and changes in FW > is required to mitigate this issue gracefully. Oh, bad news :/ Can anyone look at that in detail? Even a quick hack patch would get this forward. -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches