Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2500029pxb; Tue, 21 Sep 2021 00:51:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZlM3CR1M+4jFnmb2PV+q4P2re66GKLNmUj6huAVIgZewiG7580l4K0SM2WopYifRsbFf9 X-Received: by 2002:a05:6e02:18cf:: with SMTP id s15mr4978245ilu.186.1632210707594; Tue, 21 Sep 2021 00:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632210707; cv=none; d=google.com; s=arc-20160816; b=e/sSrS5tC7S0c2aLL75wetRhbILva9xxKwqjKOQ0mnFrqctv11L4AET5h4eOmflEb8 x2Q3AjjwRTZ5Iz2ZxHDv9nMw5FB8jxR/sMwOLj2l1ClMbLUqAbLrhcgzMM1lMoQZB07C BJOxV05gZq2vaoP6VFmVUfiwvVKKXaNzuJ/OLwwD2GaDI6+mWbVXWgUB+IKvq6wyUT7K rjoG9/EoWny6OObMYaSdysQ3/xMy7z/TOg8hqAgU6L4RLISON+lrRLIyKdPhOnmKNSxF anf2Ii8suuS1bfyZYlfJfpZpBMIDadmiO8MYTsw++CVavbvkBjiQc8lZkIO+nm/FlLrO 23bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cOgtnwrqtRUZbHwxWyhJ2gKO4mxwfCV4C5Cx3WB2LOY=; b=hqrQBBi3grf5Np3kZ+ck/bWCYNdF/a8ScohDsd4iuvUCW4iqG+uk2F3KAmrCF1bHgV JeR/EEySRn80I5bQ7airF7JCBEudHznAQ/zBI1Nd/FdcERxouFY6ymvoFDzQnMt2DvtW dH+/pKV0ghpnJBr/94jQnIfbyyZeFtCSRxVSxlvLTByiw0SXYYtB/e1WsqMnzD4CM0hL i23Y20eaQLGdsFaaWUzJ3j0HE30UOvfaT4l3Dr211KMTD3CRwzybHxgsQcBFkC/4h16h LqWTjGDqkTFTZkBKHtm0+Q7w7SqzLLOxke5IYVasGKDF4yl287ibqPcMPmUj1S8hs1Pi Vg1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=H7ye5TYT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si14301513iot.67.2021.09.21.00.51.37; Tue, 21 Sep 2021 00:51:47 -0700 (PDT) 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=@gmx.net header.s=badeba3b8450 header.b=H7ye5TYT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbhIUHwk (ORCPT + 77 others); Tue, 21 Sep 2021 03:52:40 -0400 Received: from mout.gmx.net ([212.227.15.18]:38535 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230415AbhIUHwi (ORCPT ); Tue, 21 Sep 2021 03:52:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1632210630; bh=cOgtnwrqtRUZbHwxWyhJ2gKO4mxwfCV4C5Cx3WB2LOY=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=H7ye5TYTQhgbR2iOO/O+dKAwp/U6o/8Q81eU0TaEyenTKrDpDEeDQfNl4RZqJdn// 28Th/RV20bFN6Bs3EPDfe4z5/qtzGP4AHNPGvS4GvtLIBt7Qat4Zznz6ijEPskHIc/ sdaGEg4+v3gGGVd46pFWbnPpjy6JbQdqEv4MTdkM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.100] ([79.206.239.34]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mkpf3-1n9dwP37B1-00mJPx; Tue, 21 Sep 2021 09:50:30 +0200 Subject: Re: [PATCH V2] ath10k: don't fail if IRAM write fails To: Kalle Valo Cc: ojab // , "David S. Miller" , Jakub Kicinski , ath10k@lists.infradead.org, Linux Wireless , netdev@vger.kernel.org, LKML References: <20210722193459.7474-1-ojab@ojab.ru> <538825a2-82f0-6102-01da-6e0385e53cf5@gmx.de> <87wnnav129.fsf@codeaurora.org> From: "sparks71@gmx.de" Message-ID: <4656706a-a87d-1bf6-d125-b66af57157ca@gmx.de> Date: Tue, 21 Sep 2021 09:50:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87wnnav129.fsf@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Provags-ID: V03:K1:pp1k1nFwD8mCryzJkJtnEVeIctvaJT2FBpX17tUrHoHHD01nD3D zXbM9jxPNrRqWSyi2DedaGYi+p6ElRTbm2HofwEvEbdh2yp0QceuusLsN9FLbd/RXDdZ5Rc 4MEKXXl5G7mdjVbJlXZFgxWttrzudZeV/vCWlmTqFwfSkVuiC59ilTzj97oAn8ZdF3ejyMU H+/f1187+Ny8/6fSsSLWw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:wa/9fgfFcN0=:UTh/weiCglGI3KfbirGRgt QvfkSwWJPHvipBWVpABrrpArgtwXE8J5F9uMXlmFAisS1YHDfHCbziDRrI9SIF1WDYQtZ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kernel.org Am 21.09.21 um 09:29 schrieb Kalle Valo: > "sparks71@gmx.de" writes: > >> Have you seen the new patch? >> >> https://www.mail-archive.com/ath10k@lists.infradead.org/msg13784.html >> >> https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h= =3Dmaster-pending&id=3D973de582639a1e45276e4e3e2f3c2d82a04ad0a6 >> >> >> could probably have been communicated better > Yeah, apparently there are two different fixes now. I'll review both of > them and try to choose which one to take. > I have tested both fixes (x86_64 2x QCA9984) For me both of them work. [PATCH V2] ath10k: don't fail if IRAM write fails: [18245.610112] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [18245.674800] ath10k_pci 0000:04:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [18245.731606] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [18245.731620] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [18245.733172] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-= rate,iram-recovery crc32 723f9771 [18245.790380] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [18245.790383] ath10k_pci 0000:04:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0 [18245.790703] ath10k_pci 0000:04:00.0: firmware ver 10.4-3.9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-= rate,iram-recovery crc32 723f9771 [18246.963760] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:1 crc32 85498734 [18247.019699] ath10k_pci 0000:04:00.0: board_file api 2 bmi_id 0:2 crc32 85498734 [18249.514054] ath10k_pci 0000:03:00.0: No hardware memory [18249.514057] ath10k_pci 0000:03:00.0: failed to copy target iram contents: -12 [18249.570423] ath10k_pci 0000:04:00.0: No hardware memory [18249.570426] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12 [18249.620637] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [18249.678035] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 ath10k: Fix device boot error: [=C2=A0=C2=A0=C2=A0 3.318932] ath10k_pci 0000:03:00.0: pci irq msi oper_ir= q_mode 2 irq_mode 0 reset_mode 0 [=C2=A0=C2=A0=C2=A0 3.377071] ath10k_pci 0000:04:00.0: pci irq msi oper_ir= q_mode 2 irq_mode 0 reset_mode 0 [=C2=A0=C2=A0=C2=A0 3.434051] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1= .0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [=C2=A0=C2=A0=C2=A0 3.434054] ath10k_pci 0000:03:00.0: kconfig debug 0 deb= ugfs 1 tracing 1 dfs 0 testmode 0 [=C2=A0=C2=A0=C2=A0 3.434412] ath10k_pci 0000:03:00.0: firmware ver 10.4-3= .9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-= rate,iram-recovery crc32 723f9771 [=C2=A0=C2=A0=C2=A0 3.487225] ath10k_pci 0000:04:00.0: qca9984/qca9994 hw1= .0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe [=C2=A0=C2=A0=C2=A0 3.487229] ath10k_pci 0000:04:00.0: kconfig debug 0 deb= ugfs 1 tracing 1 dfs 0 testmode 0 [=C2=A0=C2=A0=C2=A0 3.487568] ath10k_pci 0000:04:00.0: firmware ver 10.4-3= .9.0.2-00152 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-= rate,iram-recovery crc32 723f9771 [=C2=A0=C2=A0=C2=A0 4.665772] ath10k_pci 0000:03:00.0: board_file api 2 bm= i_id 0:1 crc32 85498734 [=C2=A0=C2=A0=C2=A0 4.716549] ath10k_pci 0000:04:00.0: board_file api 2 bm= i_id 0:2 crc32 85498734 [=C2=A0=C2=A0=C2=A0 7.423192] ath10k_pci 0000:04:00.0: htt-ver 2.2 wmi-op = 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 [=C2=A0=C2=A0=C2=A0 7.443109] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op = 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1 the second fixes the error message completely and "IRAM recovery" seems to work best regards