Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5570676rwd; Mon, 12 Jun 2023 06:59:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ618j5stdRoc00vGw6fduSe9s9c0HoeAA6hKsmqRBCyJJvCSos0V9O2jljnsj0gEEnXLsK+ X-Received: by 2002:a17:906:9b8d:b0:974:e755:9fde with SMTP id dd13-20020a1709069b8d00b00974e7559fdemr10666066ejc.19.1686578366706; Mon, 12 Jun 2023 06:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686578366; cv=none; d=google.com; s=arc-20160816; b=xzJ1UFF2un9bKkb/eeeJhTxihhUwEQcQa8PygK8zLaAa34owFJeAmdYkw/dM84cIyI FfcnA6t4JCL3xbSVAKSMh0Jgc6l4bgOgoTaUWV1OWQk8lNklU1rqoNdO7Kc/Fs3a9SpW kyh2F9fTLL1BwzWUIay7ZxBmmR+49ohhCeuQZ99oJd76YVBir3gUnkBPfOcae0pv8gL1 NDjF7VQTVw2ZWDcNO7VKRbvCsJmYHzxsR5+1u3zr5LfQfcDRjaembLgX7vu/9YXjSS8c FdBDlfj6DRfPYZ/CguoD5nJdXEpP/MGu5P6zPx5rvwpz8JMufrkPYMzYQ55isVgT7L8V RpKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=spLIkK+Y8C4lQcjmmfMS0sRwcQ9QX1XzUXjwLoDKND4=; b=XrYigcU5KvonIzyRLitkiJ0GjsIW6vQmUqlIul8Ty5hVREw5XFHb7welS/KJwsrZZE DaVpklcSfyuY0hSx22TFPXRP5MpSN7R20KpTM9S8ivtoVmKsF5K73vOz8RTRnqH8oh17 ZbZq0MupG/83nRYVgdb/+jUzCKKwhKi2pI752o+zg49GIS5aN0u9RUc4QjV5zGPUgZPp mkPcoMp+9Pb8bdJzM5NM3HuLsOARnknu/VFr5OGC3h/FDFONG38aO5xCj+prTXMMwf3a baIa9OM8EWn8kosRN2bZRve9BeauGZw/dWkwfCjcRQ/AKVqih9+t0+MMnB+VvOpWiQTe evFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020a170906041200b009789235d438si5365191eja.569.2023.06.12.06.59.10; Mon, 12 Jun 2023 06:59:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235566AbjFLNrJ (ORCPT + 61 others); Mon, 12 Jun 2023 09:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbjFLNrI (ORCPT ); Mon, 12 Jun 2023 09:47:08 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8771708 for ; Mon, 12 Jun 2023 06:47:03 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q8hso-0006i7-EA; Mon, 12 Jun 2023 15:46:58 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1q8hsl-0008Tn-Ja; Mon, 12 Jun 2023 15:46:55 +0200 Date: Mon, 12 Jun 2023 15:46:55 +0200 From: Sascha Hauer To: petter@technux.se Cc: pkshih@realtek.com, linux-wireless@vger.kernel.org, Larry.Finger@lwfinger.net, andreas@fatal.se, iam@valdikss.org.ru, kernel@pengutronix.de, kvalo@kernel.org, linux@ulli-kroll.de, petter.mabacker@esab.se Subject: Re: rtw8822cu (LM842) stalls when running HW offload scan Message-ID: <20230612134655.GD18491@pengutronix.de> References: <20230612133023.321060-1-petter@technux.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230612133023.321060-1-petter@technux.se> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Jun 12, 2023 at 03:30:23PM +0200, petter@technux.se wrote: > Some time ago https://bugzilla.kernel.org/show_bug.cgi?id=217034 was > created. From the beginning it was just about some error printouts. > Then Andreas (who created the bug report) mentioned that it seems to > work worse after bumping the firmware to > 9.9.10. After some fixes > from Sascha the error printouts dissappeared. But when I also started > to run this using firmware > 9.9.10 I also got problems. On my i.MX8 > and RPi4 board it works fine, but on some of my less powerful boards > such as and older RPi and my i.MX6 SoloX board, it always fails using > 9.9.10 firmware. After some digging in the git log, I discovered > that HW scan offload was introduced in a later firmware. So when I > disable HW offload scan it seems to work again on all my boards. But > still I want to understand why the HW offload scan don't work for > me. Could it be that the number of CPU cores makes the difference? Can you try with maxcpus=1 on your boards with more than one CPU? I have a i.MX6s board here that I can use to try to reproduce your problem in the meantime. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |