Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1861537lqe; Tue, 9 Apr 2024 02:36:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjw2i9iRa3hE74oMo0WN9m/HwFAcyJ/YXkBEdKTtIu417BEHzM0s7rwgTmxUsjjEL5suiyYJlW8JRZLKgZDnl12MLxiJEG+GbqKtaZVA== X-Google-Smtp-Source: AGHT+IGC4265KUUv5P9Ygvrto9G5GPXDHVFEKqh9LQITHJ542nyWEj+WCNhWi0WvKsi9R5wGEMxy X-Received: by 2002:a05:6870:1613:b0:22e:ddcb:b495 with SMTP id b19-20020a056870161300b0022eddcbb495mr11309000oae.19.1712655388863; Tue, 09 Apr 2024 02:36:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712655388; cv=pass; d=google.com; s=arc-20160816; b=DTTWhFqgv65uSGHPG6kkPw9lOLhynian7iYun7ufMzgu6vhn2pykE/mwdoBRT6nivV ZoSaTTfPqW9pt+Ccn7IOCkuzahRiL+5u29mf5gBxURfOWPKYZ4GD7AtraYOyPNVSbXTf fniALUzTpaXKj99iw6ju+snnR4P2tufz3ORg2KwjaKXcMoTymmo0Dotr63Ko2SGHWmq8 c7yKwg2YorpVxoUJVxcWNQBaSyCJUxxZ04Kq7grE2f5lspw8zpqDcmR6bjenVDqYR5YK ZsWRwcKCo3sjbGY41wWpLEUC2V2xZDbNc38vCiYLTlU0bKtGcfWNUNuMfLk5J9xFjGDS NS4Q== 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=hA6Wqvp15NV650keqaASqo9A5CDJlkXx1av6aZaxks4=; fh=2EXqrilOzH8M7iwt2g1fj7sG7XqISrJJZVtzUx2dDN4=; b=gS2Ovxih1E7GbUOCoV/UTgutCQJSw7dkiboV+JM1Y0tNYB2HDzxMjUOOzZMlJ+CcbM PXazSyuL3BJgJaWgJ7+jqKhn6voAsJTVT6WlWfYP+m7L5suBYjYO2MHU4FOiifIf/+xJ YZT+zVj8nu2YO4OEshxn8gxx6Jl6//pihnxh62cBrb97rzMgaxdcIbyaKmf6r1VstGwk ShEs4SC+fFUkaqxs8OZBewNc8ZIVsioL0oGD/tjkeSNT62rcJ68xRjnfMb2FZrUPZh/b PbwSeiCfjk99OwVGz6cvsiCDE+uhY6G+vqbltBgOq7A+z+kpgVVqfJAwCJ+nVW0BKVVe q30Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7Fy2HCg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5995-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5995-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 23-20020a630d57000000b005dc892e61d3si8091101pgn.657.2024.04.09.02.36.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 02:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5995-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7Fy2HCg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-5995-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5995-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 82B9AB21C0D for ; Tue, 9 Apr 2024 09:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5EDE7F487; Tue, 9 Apr 2024 09:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S7Fy2HCg" 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 B38DB1EB45; Tue, 9 Apr 2024 09:29:59 +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=1712654999; cv=none; b=fAaKbCkbxQ8n68J79oz2+fXxm0M5zqwb7YRlR50Akx7ul27v1SqX1YyOUFfHzQGQhNsp4w//TEtJY/6e72YriynX2v45stzCTtSGMqBq9cBx5gt+ntQeWyu2sx64w4ukZdp61IWVKbg5/23719pz13Jp7Gn9iPJ98bvQ2Lao5Ck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712654999; c=relaxed/simple; bh=VxGe2y2hTT/OKqj/iuGp7AuAf+llkMhGqGe3IdyOeRU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=hZPb5SPWyMSdPaDMVskFNt579oaRoGLYC+OU4OW25XyvrM9Z8cvzHLXew9Y2TBE813tImzC/o+a7bOwv+MNgez4TEtlI3kPteoLHyFGvZT5ZE57MqQjZI0QM2UPHjwc+Zm2HOAGZAqDUCK6K2hoAN+5LIv1I3Qq4MXM37SBuC5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S7Fy2HCg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E850DC433F1; Tue, 9 Apr 2024 09:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712654999; bh=VxGe2y2hTT/OKqj/iuGp7AuAf+llkMhGqGe3IdyOeRU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S7Fy2HCguTBT9VYHJZclIYbNIIKYyjGS4SJ6JNEwheRqDkW8jfuBojcHs5bYHEfQ1 +pJCicyv9U3TRrhFv8uSfPDBhs90GB7CwzWYY8ojXd5Fh79vzTbZUMBAH5VUIr51dP 1rr/V69bZgCBGlKNxH7zw1DI/1WZgRsv3/xFWVAqfk5oVqt6qPVd9TnwpRt+9OCIOy 5v79PvNGYxcVicC0wpkpRecp3upICbOWfUQZHEQ/RMFzydcBr2RkDeZfOZ4AzrbsuB 8zCxyqoVo9bCM2CCZKLvwrq/qpDUkSRNoVkw7Y5oBA1MeaxzNjcPJS5AedbUMKorq2 aricVyz3cg8yQ== From: Kalle Valo To: , , , Cc: Baochen Qiang , , , , , , Subject: Re: [PATCH v7 2/3] net: qrtr: support suspend/hibernation References: <20240305021320.3367-1-quic_bqiang@quicinc.com> <20240305021320.3367-3-quic_bqiang@quicinc.com> <8734s02b3s.fsf@kernel.org> Date: Tue, 09 Apr 2024 12:29:54 +0300 In-Reply-To: <8734s02b3s.fsf@kernel.org> (Kalle Valo's message of "Fri, 05 Apr 2024 16:27:35 +0300") Message-ID: <87il0q28a5.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 Kalle Valo writes: > Hi netdev maintainers, > > Baochen Qiang writes: > >> MHI devices may not be destroyed during suspend/hibernation, so need >> to unprepare/prepare MHI channels throughout the transition, this is >> done by adding suspend/resume callbacks. >> >> The suspend callback is called in the late suspend stage, this means >> MHI channels are still alive at suspend stage, and that makes it >> possible for an MHI controller driver to communicate with others over >> those channels at suspend stage. While the resume callback is called >> in the early resume stage, for a similar reason. >> >> Also note that we won't do unprepare/prepare when MHI device is in >> suspend state because it's pointless if MHI is only meant to go through >> a suspend/resume transition, instead of a complete power cycle. >> >> Tested-on: WCN6855 hw2.0 PCI >> WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 >> >> Signed-off-by: Baochen Qiang >> Reviewed-by: Manivannan Sadhasivam >> Reviewed-by: Jeff Johnson > > Could I take this patch via ath.git tree? Full patch here (same patch > but links to both patchwork projects): > > https://patchwork.kernel.org/project/linux-wireless/patch/20240305021320.3367-3-quic_bqiang@quicinc.com/ > > https://patchwork.kernel.org/project/netdevbpf/patch/20240305021320.3367-3-quic_bqiang@quicinc.com/ > > I ask because we need it to get hibernation working on ath11k (and ath12k): > > https://patchwork.kernel.org/project/linux-wireless/patch/20240305021320.3367-4-quic_bqiang@quicinc.com/ No reply from netdev maintainers but as the patch is marked as 'Not Applicable' in netdev patchwork I guess they would not have major objection to take this to ath.git. It should go to net-next in the next wireless-next pull request anyway. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches