Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp614400pxb; Thu, 21 Apr 2022 06:55:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznO7Vee49RlxhTuiKfh1BBdDZoWIWoNVELkzzX3SumgLituWY4lkLXGYieHstArgSN5QW7 X-Received: by 2002:a05:6402:e99:b0:41d:11f2:85e0 with SMTP id h25-20020a0564020e9900b0041d11f285e0mr28727264eda.339.1650549350580; Thu, 21 Apr 2022 06:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650549350; cv=none; d=google.com; s=arc-20160816; b=v3ItGXy9L75SJyh9/G4SbDAcXnRYqAptQZUrxVSvCxCRVrtUCuCIr6JnjNWCNiSYRj v0kojY09Yte5Pe35wRxwrmtkhjlXarVVHAey7foODEf9S//KoyTKgj+3mM7D4i4X9HKL 61sg3vOYmQufvfeDOXoYLk4YiO6cK1LGldWBFWRDOEdQuXrWxKeQ6/pzlRf0WEB3ZLKK EwP/ASj7Cb8pw8yFbq30jOcXiVKiZS67+oL2/BghFNQ6iVyj9vLFwbDrbDswJrIJeg9L bFgpagckeH0w9e7wV+2AGY+dzDPH589PVrwdOTvmq3IqWZbQ6VjcIFje6sE3AEpVoT0t BIyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :from; bh=naWMBiinACBkPb3VQa4ASl1RJDyD1VGA8MbhP3dsIB4=; b=ZGzan06/zxxxkfau9J6z1UKXhrU0JCa+fJJI9F2me9eY8WQgLU8x7dp6bKk3tR5Lq1 ROU72HP0NoZ5Hbd2kSrjzPJoaN8Fy2Jxsu3nbHOzbAewihdwErMnd7f3/W9cc/xm2nVt 0CKCfaTwipCbk7VXbfCOytC/r39mQX0RHCptV2Qx0F+rRM+8ffhVtqy4ExHZ2zKiSb8B 5PlVhHzPmEmmKehBDfz/xjJpyrwH7Qen4NiH7UMqcAInSfv9Z1aJyNDnOiVBtT7Qre7v Mrp5foEO/bIMI6TWZTASyTjzmVZlnH0M2hcEheIJpK18A9JlLN3drKwWtPysjXzsHZXI 7pcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=jtMBYJCR; 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=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a170906145300b006e88caf4a78si4164379ejc.76.2022.04.21.06.55.27; Thu, 21 Apr 2022 06:55:50 -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=@toke.dk header.s=20161023 header.b=jtMBYJCR; 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=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357186AbiDTLGw (ORCPT + 66 others); Wed, 20 Apr 2022 07:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377886AbiDTLGt (ORCPT ); Wed, 20 Apr 2022 07:06:49 -0400 Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73B544131E for ; Wed, 20 Apr 2022 04:03:57 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1650452636; bh=naWMBiinACBkPb3VQa4ASl1RJDyD1VGA8MbhP3dsIB4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jtMBYJCRo0XPnPPX/wVzPei6uKKHCcEIa2FxlthZj7phnHMJqIMK6S1y6/d1X2eWs 1g4/1+v5PCOhu0GmZLBjeSjAWXgo63/1W6ftvzDm2+eZ4ouqnGq8YD7qGFPTnfd2Io 4PYTSJEfaUCKXBqo7lH4Qf32A/8sAta+YZxjmP2QySz9XgH68ya7ZPA2RPzrdtwGbs 7z+hP7XUMzIvPprkkFvVrzsuzIjuTQ/K5Zyk0/NpPf7+YKaRONsQcisHAhA5Q9HR2d 99S8OzlXpgZ+eB4M514uTxSZFR/Fgy7/8XGjC+551a/L7Wsk5VI6xZV61nt/V2mkoc yeBMkWUyV74wg== To: "Grumbach, Emmanuel" Cc: "linux-wireless@vger.kernel.org" , "Greenman, Gregory" , "Stern, Avraham" Subject: Re: iwlwifi devices disappear after suspend on kernel 5.17 In-Reply-To: <724999bde562fedea5933cbe7bc949da796b2f30.camel@intel.com> References: <87czhe39p6.fsf@toke.dk> <1f6188ee5c88ac78a4aadcf169b4b1cc857a84d8.camel@intel.com> <87mtghs3y2.fsf@toke.dk> <94b98b712b86690dd5ae19df0cc608b8193be1f3.camel@intel.com> <877d7kn62t.fsf@toke.dk> <87o80whyoy.fsf@toke.dk> <724999bde562fedea5933cbe7bc949da796b2f30.camel@intel.com> Date: Wed, 20 Apr 2022 13:03:55 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87ilr4hv8k.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 "Grumbach, Emmanuel" writes: > removing Luca > > On Wed, 2022-04-20 at 11:49 +0200, Toke H=C3=B8iland-J=C3=B8rgensen wrote: > > > > >> > >=20 >> >=20 >> > So you do get a SAP connection. Weird. >> > Checking with the CSME guys. >> > Can you get dynamic debug prints for iwlmei module? >> > Best would be tracing with -e iwlmei_sap_cmd >>=20 >> Sure! Recorded these while doing a suspend-restore, then restarting iwd: >>=20 >> =C2=A0 kworker/u16:34-34555 [004] 46452.506238: iwlmei_sap_cmd:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Tx: type 1010 len 8 seq >> 11 >> =C2=A0 kworker/u16:34-34555 [004] 46452.506243: iwlmei_me_msg:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Tx: type 3 seq 8 >> =C2=A0 kworker/u16:34-34555 [004] 46452.559407: iwlmei_sap_cmd:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Tx: type 1001 len 4 seq >> 12 >> =C2=A0 kworker/u16:14-33311 [004] 46452.573077: iwlmei_sap_cmd:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Tx: type 1006 len 0 seq >> 13 >> =C2=A0 kworker/u16:14-33311 [004] 46452.573078: iwlmei_me_msg:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Tx: type 3 seq 10 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:0-34305 [004] 46452.706737: iwlmei_me= _msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Tx: type 3 seq = 11 >> =C2=A0=C2=A0 kworker/u16:8-34462 [000] 46457.939453: iwlmei_me_msg:=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Tx: type 1 seq 1 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46457.940910: iwlmei_me= _msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Rx: type 2 seq = 81 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46457.940912: iwlmei_sa= p_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Tx: type 1013 len 0 seq 1 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46457.940913: iwlmei_me= _msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Tx: type 3 seq 2 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46457.942056: iwlmei_me= _msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Rx: type 3 seq = 82 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46457.942060: iwlmei_sa= p_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Rx: type 502 len 4 seq 1 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46458.042205: iwlmei_me= _msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ME message: Rx: type 3 seq = 83 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46458.042208: iwlmei_sa= p_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Rx: type 500 len 1896 seq >> 2 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46458.042209: iwlmei_sa= p_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Rx: type 512 len 64 seq 3 >> =C2=A0=C2=A0=C2=A0=C2=A0 kworker/4:2-32196 [004] 46458.042214: iwlmei_sa= p_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sap_cmd Rx: type 502 len 4 seq 4 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.085642: iwlmei_sap_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 sap_cmd Tx: type 1008 len 8 seq 2 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.085645: iwlmei_me_msg:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ME message: Tx: type 3 seq 3 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.102818: iwlmei_sap_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 sap_cmd Tx: type 1008 len 8 seq 3 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.103369: iwlmei_sap_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 sap_cmd Tx: type 1016 len 20 seq >> 4 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.103842: iwlmei_sap_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 sap_cmd Tx: type 1001 len 4 seq 5 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= iwd-35396 [003] 46467.104689: iwlmei_sap_cmd:=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 sap_cmd Tx: type 1002 len 12 seq >> 6 > > can you please send the content of tracing unparsed? > There is more binary data that I can use. Sure! I'll send you the trace.dat file off-list (it's almost 10 MB). > I definitely need to talk to the CSME guys, I can see that CSME is > alive even if you have AMT disabled. What is this CSME thing, anyway? And does this imply that the AMT is not really disabling itself (there's also a "permanently disable" option in BIOS that I have not dared pick..) > Problem: it's holiday season here. No worries, I can live with working around the issue in the meantime; I guess I can get systemd to automatically restart iwd when returning from suspend if I can just figure out the right incantation :) -Toke