Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp895881rwe; Thu, 1 Sep 2022 09:11:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/nQ4iqG0yAR4AOnnNMA8lqCndyBsmteO327h3vcls2G2Nrk0OOcIn90KyTradzHXQ3wiT X-Received: by 2002:a63:d217:0:b0:42c:337e:91de with SMTP id a23-20020a63d217000000b0042c337e91demr16294724pgg.290.1662048664056; Thu, 01 Sep 2022 09:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662048664; cv=none; d=google.com; s=arc-20160816; b=ggiknvqOPHpk1EbiWEFHC7hAznDEcleqZP8ebCuQ01Bh5SZtVGLPGEscJkq1TpMQVH wqAg+UV9Vm/23E09Sz/qnjLTfbr0WaWrt4Xy/6xSqeIJV+oaMMRZYrNXmHixG2aE/Tov Zu7Q4K5jtXHlH3hgSHrU3jD/CTYO1FtKPsFiIVcRDH0XevAs2C4ttBUtn8XHgtz4otVb kTKPAAk88rUlm9o5+MBocL1+ajZTiLhy73jzWyKDHqAqmQZKQntOGh8EXioA+5vDJ9U+ NgKyxwxNd2Ix3Pdc08giKwhZn7zogNrAQWEm5rAlL0getB+FxbFbpDyUvtPBMTaLLAfG CSjw== 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=6gdVNosiKo/NroYDkQAPynLu3U5gIYOkHJBXIOPCuTc=; b=QC4Fwk9YN6s/F0LaVUxXJHd3dD99iOLEkdDgF1SAuaSM+/Q/PNJxnlJDEfzMSOv1h/ uYivawCKNEfUVHIjzsYaY73HDVn65/Ql35pQdbsTvP2XnYq4JWR8fyl+CiB7ap63Jq7J 4+Zc3FXet0jDO5yZ4qYGwe74hp/sgHf+X4JnqEmzr+fyhN1h9qi8YMr8sXwzBz2WsS2O Lzz54eBkO1iBOyphkoIALUiCSCNMhozg5nvtmVqFWvVqc+PHvv+62/kw+nyXpDw+wnMV gOIRaKDIUVLVaoPAasARu/5bF3ZgSgUupK7Ai+ko/c2xSjtIr5BS1M5ZEzlre8nMR4Eg mitA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NbmacAaA; 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 o187-20020a6341c4000000b0042a0e4619b9si7812581pga.210.2022.09.01.09.10.46; Thu, 01 Sep 2022 09:11:04 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NbmacAaA; 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 S234865AbiIAQKF (ORCPT + 64 others); Thu, 1 Sep 2022 12:10:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234823AbiIAQKD (ORCPT ); Thu, 1 Sep 2022 12:10:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22991F5A3 for ; Thu, 1 Sep 2022 09:09:59 -0700 (PDT) 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 F12D4B82869 for ; Thu, 1 Sep 2022 16:09:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB4DCC433D7; Thu, 1 Sep 2022 16:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662048596; bh=6hvdDiook25zvx8FoPSAj5qTF9HrsRKDM9Y/2TDoYV4=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=NbmacAaAnj69JGErJtjcFHE/aNsumMpMz+pdiUWUU6gjD3b048InSFT+we4Ug6m9b vyL0smTaZzmlKtoFWDzWQ3ywdEGmhBROQE8H3nUhgi0qi2aQZe+8md6xACk7pMlD6d 0+KXpdLvM9TRTaKQhqxlVFR8xRhk/5zilKTBdeEnYrdbmj0SFedbhFU7E0Mlqoi4T2 8Qtx8sFhVXlJ3LuyclfPmkt+kkjzO4pzDvu9FNq7hgAYYGuX4sk1DfDgJGHdaOsR0u rVmxIGiiKU37XL3tOh296JQbmlP/kZCxljEunPvV37+Dv+uRCxjI9DLs7FSlfQjLYD gye0BFbFh3syg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: Register shutdown handler for WCN6750 From: Kalle Valo In-Reply-To: <20220720134710.15523-1-quic_mpubbise@quicinc.com> References: <20220720134710.15523-1-quic_mpubbise@quicinc.com> To: Manikanta Pubbisetty Cc: , , Manikanta Pubbisetty User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166204857927.15293.15300946292599236513.kvalo@kernel.org> Date: Thu, 1 Sep 2022 16:09:55 +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,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 Manikanta Pubbisetty wrote: > When the system shuts down, SMMU driver will be stopped and > will not assist in IOVA translations. SMMU driver expects all > of its consumers to shutdown before shutting down itself. > WCN6750 being one of the consumer device should not perform any > DMA operations after the SMMU has shutdown which will otherwise > result in SMMU faults. > > SMMU driver will call the shutdown() callback of all its > consumer devices and the consumers shall stop further DMA > activity after the invocation of their respective shutdown() > callbacks. > > Register the shutdown() callback to the platform core for WCN6750. > Change will not impact other AHB ath11k devices. > > Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1 > > Signed-off-by: Manikanta Pubbisetty > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. ac41c2b642b1 wifi: ath11k: Register shutdown handler for WCN6750 -- https://patchwork.kernel.org/project/linux-wireless/patch/20220720134710.15523-1-quic_mpubbise@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches