Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp657639lqb; Wed, 17 Apr 2024 07:22:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmLRffGlyZ5SBLFOaKaC6ukfU/0qtx+ymbiN1rJafwp7X6rji3Sks8kr+wXqhMphLRm4E8fm4J+VEidNnlV360fby6LIinhE3ovygwiA== X-Google-Smtp-Source: AGHT+IEFnyguigNd0H/TvgTgQgGEFW8wgSyieGcOOsdGJNz+Qp8F+9wCGpKKvNasbtXPCXgX4GoM X-Received: by 2002:a50:ab58:0:b0:56d:fc50:ec50 with SMTP id t24-20020a50ab58000000b0056dfc50ec50mr4466171edc.13.1713363771383; Wed, 17 Apr 2024 07:22:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713363771; cv=pass; d=google.com; s=arc-20160816; b=HcK0TsGB/MW1Tmw1MCUi/nANHz2sf/fjx4MQukgeFXdLsdYyUDq4Xfiqui3zoKM0/C sVa/zh9mTp6K7Q/ZNRsBGgbOjk4H42aRGnnPHHG9LA4EZpmNYzs41Cqaw90k6Nj0nwt2 cpU9FMpgSRdBf9F3aRpyVn4Fp1WMqHmTKGKH5UbHhF5Y9/inSRoOtXZP13Garf+V7uxa xmQLIxg8CdmAjkB7SI+rJKOogiZvzmBB2qrRwAvdiVKJkn4aG5vPtzdtIGPlyLnDsYbN y89JAz4nvXS6ZsHWWV0BbmDo2SusJsofJmgxpKSxsNb/OeZgShmQmn/QZHgXmLi36aP0 Xx1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=VWRlsweoeTVXDpuOAqP45i83gOg2xfecmbpS+uia0qg=; fh=4jaFDgDbjzLLqKEFyUWFLPD8NgfUlSUHk/LoBmwTHjg=; b=omgpxYJmdKSGHRgXqOsDS6WYUuK8M5bplLVDrAOfFPkLaxxtMol3uj2J/Tty1g/FO9 2ICRgrMtadYMrqqlgHxwcrV9W1RJpk9OiJECgSYh83N+bcoJOolL6EhIlPilGFUHoBSq V6H6syh9mLg8zF8bgy2uGCN/IqdO8zwuqpSq5556lVoDu9gTiy23SimUrydvrFpiizlk a7SJnsJaNDfa1aPtqgqO8cjok5X1Y5hhMLw5I3xQ1DMvdE2IQxcUYQGnzF7YGW4kINZk WLOaNQLWXN+Ufn1IeARWA5ytHP34VVIPMHLyG8ryzn24+ob5mrh59VGUEoFefI4PgK3n /hgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YBh2soYK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u6-20020a509506000000b0056c3ecbf603si6592548eda.136.2024.04.17.07.22.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 07:22:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YBh2soYK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-6457-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2016E1F20E7A for ; Wed, 17 Apr 2024 14:22:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58E9612FF9E; Wed, 17 Apr 2024 14:22:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YBh2soYK" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33F9652F86 for ; Wed, 17 Apr 2024 14:22:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713363767; cv=none; b=BLhChKgy3DHLWVBMV46wvLxthBsb32YBkSIzImuL1rmELS2K8BMzY5Vr/IXfQmpAmjQK+hEo+EXHf7mnzQB/xFNQb5C2gf6qiQZWyz930QIEqXyHsuFCO3yc1EJuR+wvYEvS6hxm//GDctac4UtzjR0Q7tkEOcvH6lGZaWGZeMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713363767; c=relaxed/simple; bh=h1ZKhUHRAA/7rGO40L17WijIMpSW0//PNJPxU+MELtI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=F5cyKJEgdK/gjDAdRLpEuLBeGzPlI1h7qyfBemG6bWlaUeRyrSsedNQJucrR8PQ+t/mUShXzpDkhnTmChNO2VpaDdymeTKELf2jfYmp4sNFvffA//2zpZHzOgbGPt25blAuQjztU+dOHUyXeM6auYKtX3GyZIOQkdnhF/gZCgYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YBh2soYK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B79C5C072AA; Wed, 17 Apr 2024 14:22:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713363766; bh=h1ZKhUHRAA/7rGO40L17WijIMpSW0//PNJPxU+MELtI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=YBh2soYKFd6gFBPbsEczZTamnMWHUvjGMfxHklgeGzfOQJwVnjDy1SVnH0Yk/4T// mx7JariBsi/IPzmNRGKiMDIWTLAt2Trw3RJIFK9vL44k7T9guFCXs1YONA+B+XDBc/ sfz9gfesFmjJPBxpToUwuuRFnIagmw3Cs3zy9mN0W0/0t/7ARddnjQsl5pIUlsU4KD e+9e5WXhrbLPhSY3BfCjY+PMxaKxYEfIpPWZyinpIbBpDCWZcMNsC84qEmePtXcHRB 8s7k+J1yqRfAG+xW8SG85tGeMSkas/bP4TBBs6dI957sLjSOaTxY/dLyRZUelsJHCH j7AFyJkeu6/gg== From: Kalle Valo To: Jeff Johnson Cc: Baochen Qiang , , Subject: Re: [PATCH 00/10] wifi: ath12k: support suspend/resume References: <20240412060620.27519-1-quic_bqiang@quicinc.com> Date: Wed, 17 Apr 2024 17:22:43 +0300 In-Reply-To: (Jeff Johnson's message of "Fri, 12 Apr 2024 11:05:00 -0700") Message-ID: <87r0f4vzkc.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Jeff Johnson writes: > On 4/11/2024 11:06 PM, Baochen Qiang wrote: > >> Now that the MHI&QRTR patches [1] are merged, we can add >> suspend/resume support for ath12k. >> >> The whole design is quite similar to that in ath11k: firmware >> is powered down when going to suspend and powered up when >> resume, this makes hibernation work as well in addition to >> suspend. >> >> To summary, this series first does some preparations in the >> first 8 patches. Then in patch [9/10] suspend/resume callbacks >> are implemented. And at last in [10/10] we enable suspend/resume >> functionality for WCN7850 because it's the only chip supporting >> it for now. >> >> [1] https://lore.kernel.org/linux-wireless/20240305021320.3367-1-quic_bqiang@quicinc.com/ >> >> Baochen Qiang (10): >> wifi: ath12k: rearrange IRQ enable/disable in reset path >> wifi: ath12k: remove MHI LOOPBACK channels >> wifi: ath12k: do not dump SRNG statistics during resume >> wifi: ath12k: fix warning on DMA ring capabilities event >> wifi: ath12k: decrease MHI channel buffer length to 8KB >> wifi: ath12k: flush all packets before suspend >> wifi: ath12k: no need to handle pktlog during suspend/resume >> wifi: ath12k: avoid stopping mac80211 queues in ath12k_core_restart() >> wifi: ath12k: support suspend/resume >> wifi: ath12k: change supports_suspend to true for WCN7850 >> >> drivers/net/wireless/ath/ath12k/core.c | 108 ++++++++++++++---------- >> drivers/net/wireless/ath/ath12k/core.h | 4 + >> drivers/net/wireless/ath/ath12k/dp_rx.c | 48 ----------- >> drivers/net/wireless/ath/ath12k/dp_rx.h | 2 - > > My Qualcomm Innovation Center copyright checker reports: > drivers/net/wireless/ath/ath12k/dp_rx.h copyright missing 2024 I fixed this in the pending branch: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=6b928df55a671d2c9a15edc746f6b42ef544928e Jeff, what do you think of the patchset? Is it ready to take? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches