Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5605475rwb; Tue, 22 Nov 2022 02:17:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6U9JXbHs4ine3Xi7hW7GJ/TOvCvxFKW62CEAVVTV7ccDEdyun3AUBxSR2GY7QUveAHnngc X-Received: by 2002:a63:9318:0:b0:470:60a5:f822 with SMTP id b24-20020a639318000000b0047060a5f822mr2824292pge.302.1669112274375; Tue, 22 Nov 2022 02:17:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112274; cv=none; d=google.com; s=arc-20160816; b=vvRp4yjDLDFjEJrHDhOcRs+2z0FOl3MHyaDDepnTfYt2abuvA+Q46YlmQm1UhfGagn yn4VNmRSVjfjNuqhsn1h2wCrSenipjWhNcANK21L5rkLqQpQ4KJXFlnrnI3PS5GhGit1 rcptM3VfGrx2tQRZmAVeBSrpsUbSN/P1GEGsFDeaW8GqC9JiUDbcSRpSbznGE27dmgHN SnXhGQ+cPQHiyY0EQgghTODKvkcIpZUP7PAZvcIqa1MvojqSitounKDfPqvHBSkOLKks LgGX8MewMELydnOUcPJtTzgcBmZcB9AzzlQTbs8nXQuyOac5NQ6/9g0W/HOZwmRzObKg t77Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=19HufaKpTMwTC14LW8705gIQHIu+QQL7L64gvINJBPg=; b=b8A+RFtYE5Fgf2TfqDxnIU6SB6IFCEMLkibcJWr1/5PJLHWvcwjORIWkXf/skFobc/ uUN431rtpFD0WbdHRAsKHeTFqeEOTRYABi1afSllk/saCVUwUICAzyH1KwxhiwMol0rm 7MaGPy9WO+LwlDU/Hc/reK3dIjbh5xj7me8yhDY1eTAhJGM6iQn6VcEsMBL6DF62XuXY akGSu3bW54vz9VvvJ2z16WGVipYIUzob2pTgAO/u2HTKcXnQy8N6IlqmMxcmsKNow/xO xdN1odE+ZOc0ZZDOdkqZIl0THDm7/8pjKNGfP8ZcgzMkcrif73enAdc1vYAPI9n9aTh4 trtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h/+cVmNi"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 28-20020a63135c000000b0044034f3a27bsi14439208pgt.101.2022.11.22.02.17.43; Tue, 22 Nov 2022 02:17:54 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="h/+cVmNi"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232585AbiKVKQN (ORCPT + 68 others); Tue, 22 Nov 2022 05:16:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232660AbiKVKQI (ORCPT ); Tue, 22 Nov 2022 05:16:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 187513FBB6 for ; Tue, 22 Nov 2022 02:16:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AFF1DB81604 for ; Tue, 22 Nov 2022 10:16:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCDDAC433C1; Tue, 22 Nov 2022 10:16:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669112165; bh=3o0dDTAitOz4ci3/6xXtJFTXjMpKFaAFwKBXxeRjpao=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=h/+cVmNidYrwO8blOYLqomb/xZyHhfSTyszk+kt4AmaBmX+ohu+TZWLX92sqxDIBh hXDsVRQ08L6MOq2WCHaAyb8lcIs8wH2HdnjT3qscaB63HUHEIkezFPTKivcLuIgF/6 CKJTwNapnDO28EguViBE2ARowDbhpqLUQmBFttxlBzb7/VSE6akfGxEnLAoNe9qVVL slr6hcZbpNJ19i72IW2eHw4LWiRWMvtFXS6ZeJmsnJ15EYNIoXwemDg0Uik/l3aGYf tRZyNLxg5fONr1ImrdMb6kj3jV6naf+//EKQIhr7HHaeIhyQ8jtRttA5dNMhuGijbL MzuiRC2GanYrw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: avoid inaccessible IO operations during doing change_interface() From: Kalle Valo In-Reply-To: <20221117085235.53777-1-pkshih@realtek.com> References: <20221117085235.53777-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166911216314.12832.10530952554489139997.kvalo@kernel.org> Date: Tue, 22 Nov 2022 10:16:04 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Ping-Ke Shih wrote: > During doing change_interface(), hardware is power-off, so some components > are inaccessible and return error. This causes things unexpected, and we > don't have a warning message for that. So, ignore some IO operations in > this situation, and add a warning message to indicate something wrong. > > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. ac3a9f1838d8 wifi: rtw89: avoid inaccessible IO operations during doing change_interface() -- https://patchwork.kernel.org/project/linux-wireless/patch/20221117085235.53777-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches