Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3697900pxu; Mon, 30 Nov 2020 08:29:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxvDcQqkXr4MDm8EFiTCpUSv098UA6d3XlFc0WQmz8fSiSnhogVrAqvIjwkGAgPkMJtXyMu X-Received: by 2002:a17:906:2642:: with SMTP id i2mr20808288ejc.493.1606753790723; Mon, 30 Nov 2020 08:29:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606753790; cv=none; d=google.com; s=arc-20160816; b=QgoBlf8hn+5W6FTQo5rn0ZX8rE4H6V5DtSOBmLH2Gu1A1NtgTJr+pKMsW4L29N8iO6 fB9w46e3nbJwuCpR3XPtOhzniMrRnJaR22+TJE519shfhfkm6GPn8bo8sJIyxl3n5xVL 03M97kclq/zj9h62omqoNO3DgZBAVoKlTiw9RwTCzJIiSupjawZC3NjL5XxdZwJF5gzL CGZwhOP4Y2UFCeLcASPn9qJQB80ZZjCfMdxOUSMMV1f3hBioM6oSVWiQRZCb6rDqasPk dlbJrtNdSG1s6sCv7uq250XtnwY5q0cQGKQ2PxFqpjLxh4oU/PZ9GULYVFVN1+DJD72K F/0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=bHViouyBscQ2dCsxF/KylKF2/Zi6HjqkgDP3KxuO8ds=; b=AxWQ+Ub8jESpl2UTy+pZlXgnQdw3YZcOIoGqxDlFUjgj3M91fQAK/5TEY9f9QS812h jluNd2eDr6pOY/r0dWemz2UZ9Jf0LYPx9i7EXGtq987krEnJNKBHemJ/yPxsj/1+D7d9 wlsGbTf6ZIcdhYp+J4K0SxCxMRbq4Um+OX+jdCxE+WmvJnuzZP5dGu2VIpehMAE7cNTo EDltxiCX7opOMvpk2BhfslNeGZ4pSpB8yHEzO/PkH9Lpb51aNG6DzEChktSruTsOeoND Eu76beHqR0jeIGR8vDANP361deXpYcUaxFhhgRru2H9dm0YiV6Wzgd0/8MHo/AIOCzDQ rBPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=jjAC7uqx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 z23si6747137edl.270.2020.11.30.08.29.26; Mon, 30 Nov 2020 08:29:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=@mg.codeaurora.org header.s=smtp header.b=jjAC7uqx; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728834AbgK3Q2K (ORCPT + 99 others); Mon, 30 Nov 2020 11:28:10 -0500 Received: from m42-4.mailgun.net ([69.72.42.4]:32236 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728263AbgK3Q2K (ORCPT ); Mon, 30 Nov 2020 11:28:10 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1606753669; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=bHViouyBscQ2dCsxF/KylKF2/Zi6HjqkgDP3KxuO8ds=; b=jjAC7uqx+3ktNigIKgVna1WDK8bQcIMH/TaMJldHNKM93LxwqCILC30nlY0MZuzR7YLkOnSI oDyYWvs0Ouo+JvPIeHeYS9eBlpn6pAZZHLuPdew0RruwQxQvQ18qnQEzlw19gyWDsqm5ysPg 1rS0C6IAr8pRGAKSCNOggyBMbgs= X-Mailgun-Sending-Ip: 69.72.42.4 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n08.prod.us-west-2.postgun.com with SMTP id 5fc51d610b1f6587dd09d046 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 30 Nov 2020 16:27:13 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B563FC433ED; Mon, 30 Nov 2020 16:27:13 +0000 (UTC) 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 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id F2CA1C43460; Mon, 30 Nov 2020 16:27:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F2CA1C43460 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: akolli@codeaurora.org Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH v2] ath11k: fix rmmod failure if qmi sequence fails References: <1605076699-21924-1-git-send-email-akolli@codeaurora.org> <87mtz5pm8a.fsf@codeaurora.org> <013d9ee1c0f88863013f2672b6b2197a@codeaurora.org> Date: Mon, 30 Nov 2020 18:27:08 +0200 In-Reply-To: <013d9ee1c0f88863013f2672b6b2197a@codeaurora.org> (akolli@codeaurora.org's message of "Mon, 30 Nov 2020 19:25:21 +0530") Message-ID: <878saikdyb.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org akolli@codeaurora.org writes: > On 2020-11-25 19:33, Kalle Valo wrote: >> Anilkumar Kolli writes: >> >>> QMI sequence fails if caldata file is not available. >>> It is observed that 'rmmod ath11k' fails if qmi message fails. >>> With this patch rmmod/insmod is working. >>> >>> Logs: >>> Direct firmware load for IPQ8074/caldata.bin failed with error -2 >>> Falling back to user helper >>> qmi failed to load CAL: IPQ8074/caldata.bin >>> qmi failed to load board data file:-11 >>> >>> Tested-on: IPQ8074 hw2.0 AHB >>> WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1 >>> >>> Signed-off-by: Anilkumar Kolli >> >> With this patch reloading ath11k (which has worked fine before) crashes >> the kernel on QCA6390 hw2.0: >> >> Nov 25 16:00:52 nuc1 [ 393.188277] BUG: unable to handle page fault >> for address: ffffffffc05b8e38 >> Nov 25 16:00:52 nuc1 [ 393.188300] #PF: supervisor read access in >> kernel mode >> Nov 25 16:00:52 nuc1 [ 393.188312] #PF: error_code(0x0000) - >> not-present page > > I will test this in QCA6390 and update. > Which branch should I use for testing. master or > ath11k-qca6390-bringup ? Please use master branch. ath11k-qca6390-bringup is just a temporary branch for collecting all important QCA6390 patches in one place. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches