From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.169 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795989485; b=VqXRcDD/ycwQagtuKVgv8Abrz5kSmx895jhVXkLuNYm9N2TQQmvp9KWUm1d5jo2htSI2 p/LsGu0Gy/iXFGuoJ/Zi1jSPcDgxew+Jq+VcR0aDvmvIzz7NWCb5lfuK5RsDMz8uszYaw Bd9ZExR6oYuXzof15klkTSKEJWVyneQM2NTDWc4aEUY/g6sNCbi8Pi/a5SEKFF9T2InbK jl3O6LmejCrCd+uM3upmsKsWcw9GfmKEZgV4Gn4cB/6mXAQjmpNxafkuygNGmYW9T2JmX LTfAudwuwf5PjpfDjqmPfL7w0O66wynSxQbadFgyDUNTHkGN/X/Ku7IIUZw9cE7NyeQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795989485; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Mime-Version: Content-Transfer-Encoding:Content-Type:Date:Message-Id:Subject:From: To:Cc:X-Mailer:References:In-Reply-To; bh=UgNNms0NKpJUHv2olEFhyuWSr7jDOAEIoGWVYUFisxY=; b=1/gR7+x8p9jEsOfSXL635DgyzJqZDOxqMWYvDenwfUjaNXguW0vaXd/z+Y78klLNnnnc OFcsaNpfRXsOPylpOGn5VWlVBq+cGu0Q+uxGgSLZiveHmV5o0ovdOKVfOMxV2V3OQLNzy wmSi+U8ukTsTKm5tsHra76YOHg2BAyzx5gOq4+V7yLNEaVYseAcalQY2Nkt4lstBVW4jT dLTJd49rkjeujeESw0/QnmbJV3vem4GqVP9r5FK2jbD/+KRJIPh+874Y9ZK3FvKhhMUad eDWWpvXzI+ELY7BK9MDnveeHLClcjzCUi8FJ+Pouy+BLyDGEQxM47LCAZDua0Pa4l9w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=N1tke6io; arc=none smtp.remote-ip=209.85.214.169 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4485C606A331 for ; Sun, 29 Nov 2026 21:58:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4485C606A331 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=N1tke6io Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2efe591a1f6so30948515ad.2 for ; Sun, 29 Nov 2026 13:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795989485; x=1796594285; darn=vger.kernel.org; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=UgNNms0NKpJUHv2olEFhyuWSr7jDOAEIoGWVYUFisxY=; b=N1tke6ioW+q5FTzL8yJJsaLNMoOJGw0KOkSw2tCsY3OKx/jQQaPWU0v8vsLEAScYMm eWz5tHuaHoakwXMhGkVK8Lw2rMCetk6i3+M/Tp7ayV9B4XoDDzb2olhGNm5bnlhL4tYg iaWqUn7oNPw9vpnmUGisYYxXECfd3g5VEAOcgpnTgccYLo0ekyMr5OX/y0o5VjXZAfqs cOqZ8U8sHsjR90U3F/COdZp6cO5277nsNzL/yaTNcg0tdsSztKi9B11PWty5K6Ae7JyN gLdvSwsytfP73fBplanTesI22pInLsZHzxKqcKBtTWzG2N78aF4Mn4mIzL6me+hnfA1e gGxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795989485; x=1796594285; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=UgNNms0NKpJUHv2olEFhyuWSr7jDOAEIoGWVYUFisxY=; b=peQIHBaJ0Wfswak9nhKtQQVp7Rm/tk5dTndJp2zYnmhVGhuHOF9PEe5/cYuU6rT2QB 2xd0sy1GVyLijSDiANPcDD25mGZL2WavJWVFmX9ZxY7qzhcIXGDiMz5vl4szxdi2OLKG 8pq24TjPp2VVx8Ci3lN0lqOc6RSPXkF2IsqIdhE2uXpyQUoDfrWAnw542Pz1CzJB5/dG tuLA13Vk5Hs0vE2eSKgLEyhkE+LxuFOl4FoJ9LqXabjNULKnP2lkeyN+YbphbZXelecp O9jw7Evhxlp4zHzXR+YQGXoSrbDzCLX9mG6H7ZKOuMaKBn87o368BLAgC1PcyxDTZ8ak X3/A== X-Gm-Message-State: APuU4Z9CKMVhQl0JdHAfsqt/uBHytSJ00bwSL3r32T1y97NBFrIivAfV /4yW2JKLLU0jD2h7N08R0sW+6ABeVzPdgJqbs18xA4tuVahGXXP6PWCr X-Gm-Gg: AZFdTZddXBAwpNptTWAErVQVJJOKCOF2d5a63WaizC8Dh4qAn4NQOVGrWqJ31jfHZHr MAlqEnMS2EaxFIQeq354RYrcFPpRzz9rGRd825f41TNs8gYzhTWKSpVjeEhB08w0APWON8+9AVT k3wcbTfWZvwQY+Usir8eKawFwTzg+18N2QYExwxdY94P1zVS7vXngkv3TsDf8+W/GwxR8R27wDM ngiKE/L2x2bEUwvNje6eTHamOcprsfBoaDkLAOTel4a/iGLfDDUdK2kW/aPb5QQFw0oxwok0XDD o8Ok9DGXebXCIy3KwE5XnMcjD1A6aot6S9V+9IopNnj6tN+N+YmjlTkA3m4qtnIpPPb5mv+YZOK Zd2u3aEZOdvTLSjMT21DzhxcyLXXOWJMQH7etpNsSVAmOFdPC/IzBYdQTNFEvH9HCwrlf4Iq4v5 ti4z6fU6n+kDdJNLwAWLPmu/Tbp1KlcIpuQh8FEYR1tKmCDC3pKjyUC7uzz7BQUV81npz+UqT+m Dtloz8bm64L8W2o2HGZ/rATBKQJG5QGI5VJlkYBJJyBkAFjGkq2IIg74XClrlT6tPFmIAyL0nrq 927os0T3gwCZPhTRHgAhBYssdY4kHl9qFw== X-Received: by 2002:a17:902:ea0c:b0:2ef:f3fc:e610 with SMTP id d9443c01a7336-2f03f1cf406mr369141465ad.57.1795989484550; Sun, 29 Nov 2026 13:58:04 -0800 (PST) Received: from localhost ([172.56.108.68]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f0fe9e36f9sm53934885ad.55.2026.11.29.13.58.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 29 Nov 2026 13:58:04 -0800 (PST) X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 Nov 2026 13:58:02 -0800 Message-Id: Subject: Re: [PATCH net v3 2/2] net: wwan: iosm: re-bind the driver when the modem rebooted during S3 From: "David Westen" To: "Maciej S. Szmigiero" , "David Westen" Cc: , "Loic Poulain" , "Sergey Ryazanov" , "Johannes Berg" , "Andrew Lunn" , "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261126194143.32283-1-davidlwesten@gmail.com> <20261126194143.32283-3-davidlwesten@gmail.com> <26f19a1f-8f60-4402-afc8-96fe46611998@maciej.szmigiero.name> <27177991-fd89-456b-a440-a56a616fdc02@maciej.szmigiero.name> In-Reply-To: <27177991-fd89-456b-a440-a56a616fdc02@maciej.szmigiero.name> Hi Maciej, On 29.11.2026 20:03, Maciej S. Szmigiero wrote: > I meant going back to how your earlier patch titled "fix S3 resume by > re-binding the driver around it" did it. Sounds good, thanks for clarifying. > So fixing the cleanup done on suspend with modem still live would still > be the preferred option. Agreed, and I think it has to come first. With the current cleanup, unbinding while downlink traffic is in flight let the modem access the freed MUX buffers in every run I measured with a strict IOMMU, DMA writes included. A single keepalive arriving shortly before the unbind was enough. The PM notifier runs before user space is frozen, so the link is still live at that point, and an unbind before S3 would hit this on any suspend with traffic. Without an IOMMU those writes land in freed memory unnoticed. So I'll leave the S3 fix aside for now and fix the teardown first. Once that is in, I'll send the re-bind around S3 as you suggested. Patch 1 doesn't depend on S3, so I'll send it on its own in the meantime. Thanks, David pw-bot: cr