From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FF83C83F1D for ; Thu, 10 Jul 2025 10:25:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 484AC60EAB; Thu, 10 Jul 2025 10:25:27 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Q6PE8YsX-h0S; Thu, 10 Jul 2025 10:25:26 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 9CA4060ECC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1752143126; bh=nXW8sF/Br1/Qw7nPChYf/1oqd4SsDx+vQrmyDzBrh9M=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TkM5W9Pyl+lfqYE8bXjzGvhzEEbpORdbX3pb8w+vHG8FdOI2kKTHzDBERZ2+xIeG7 GRCug09+pU2o7OVE5ncs2JbhAh9Bheige8JsyEE3DOrniJb8/XrrI0kqOZgoXfJSJ2 6pm02FAHRja+pxQllE/NBpAYcePX9yuTNjWLkrU7GPjR/3joYjBk4Sp63KqUPz8SOS P/GrJ080u/2X6Fu2DyN5rwDfTPNWOMED50X8+zPmeWmiwnmG2Tmj5Seg7/bFPif+JS /9Uh4bR+C7r2n+OieGggpkcfJdDO3RJzPvUdHqZaKL3Cw/J2udWGQriIx6EM0/P6L9 rMe5zILvj/mmQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 9CA4060ECC; Thu, 10 Jul 2025 10:25:26 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id B9B27114 for ; Thu, 10 Jul 2025 10:25:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 9FC3F408E9 for ; Thu, 10 Jul 2025 10:25:24 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NlnVERLarPvM for ; Thu, 10 Jul 2025 10:25:24 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=horms@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org D76AE408C8 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org D76AE408C8 Received: from nyc.source.kernel.org (nyc.source.kernel.org [IPv6:2604:1380:45d1:ec00::3]) by smtp2.osuosl.org (Postfix) with ESMTPS id D76AE408C8 for ; Thu, 10 Jul 2025 10:25:23 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 34D2BA548FD; Thu, 10 Jul 2025 10:25:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5854C4CEE3; Thu, 10 Jul 2025 10:25:18 +0000 (UTC) Date: Thu, 10 Jul 2025 11:25:16 +0100 From: Simon Horman To: Markus =?utf-8?Q?Bl=C3=B6chl?= Cc: Tony Nguyen , Przemek Kitszel , Richard Cochran , Thomas Gleixner , Lakshmi Sowjanya D , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , markus.bloechl@ipetronik.com, John Stultz , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20250710102516.GP721198@horms.kernel.org> References: <20250709-e1000e_crossts-v2-1-2aae94384c59@blochl.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250709-e1000e_crossts-v2-1-2aae94384c59@blochl.de> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752143121; bh=OTAGDJehumguZ7HzBQgsD4oSk+XeA3SFo2ualcXHoFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LBtiq0V93Bn4LCgxW0oTzpvlEGWQj8N+TEn4YVJ4fdJDY749R5a5Xw2WCC2kCVG/l RjhNv6CwJWj37mSehFEdbwYoiuJf6cEprxkiJLQVm9rHTpSglVSj+TWjjFk20PsQ3u INwORcIC5HfgWfZ56/4gzFwPMvI7juiR2/H6rORFzZhdh0tJFZMv2ccARuJJFNAMre gRoGYcjWGG6PRwPxUOgNAvuFUQQuCK5c3YNLLdvY/fkgXy7WAczxihBrZYcbM8gCaf H6ryobFI2N7WAMGPJ4L0DjJM2Yr891hGcNPHhJp6wrFIRn4yI9ERabALC/vcGsOsjM uFOrV4+KumfTQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=LBtiq0V9 Subject: Re: [Intel-wired-lan] [PATCH v2] e1000e: Populate entire system_counterval_t in get_time_fn() callback X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Jul 09, 2025 at 07:28:07PM +0200, Markus Blöchl wrote: > get_time_fn() callback implementations are expected to fill out the > entire system_counterval_t struct as it may be initially uninitialized. > > This broke with the removal of convert_art_to_tsc() helper functions > which left use_nsecs uninitialized. > > Assign the entire struct again. > > Fixes: bd48b50be50a ("e1000e: Replace convert_art_to_tsc()") > Cc: stable@vger.kernel.org > Signed-off-by: Markus Blöchl > --- > Notes: > Related-To: > > Changes in v2: > - Add Lakshmi in Cc: > - Add Signed-off-by: trailer which was lost in b4 workflow > - Link to v1: https://lore.kernel.org/r/20250709-e1000e_crossts-v1-1-f8a80c792e4f@blochl.de Reviewed-by: Simon Horman From mboxrd@z Thu Jan 1 00:00:00 1970 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 595268821; Thu, 10 Jul 2025 10:25:22 +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=1752143122; cv=none; b=ZZSPfgogkaBqHoYKveR6RaRwiJhl4hT7dy9iEz5vc44OHvKFnMfhX8tPNQ0qX5qDfFZ9NuiCMYiPZIfzhN50hvxpIL0I1u0YUVjbFpjYNNKIvzwWR/4zbVRH2qUc8/JomXNf9oqUxJoLovVdM15054LdJazbUIkPaQIWQMmlJ6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752143122; c=relaxed/simple; bh=OTAGDJehumguZ7HzBQgsD4oSk+XeA3SFo2ualcXHoFw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZvFhc1xEAovSUMmQj67+LQJwG6XfkBUdbpeHEHhr9lAXFTAECtDHrevEa8bPGTDjRwZEqIumqlyT4RGynnyknavV8hbCCKQp1gAZD5tfbZAOy5BmDjg6bzwkW17PLEXhWCOiXnvfEs1V3k2ENvs3DO39YTObwx4V++nxWQElp/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LBtiq0V9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LBtiq0V9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5854C4CEE3; Thu, 10 Jul 2025 10:25:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752143121; bh=OTAGDJehumguZ7HzBQgsD4oSk+XeA3SFo2ualcXHoFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LBtiq0V93Bn4LCgxW0oTzpvlEGWQj8N+TEn4YVJ4fdJDY749R5a5Xw2WCC2kCVG/l RjhNv6CwJWj37mSehFEdbwYoiuJf6cEprxkiJLQVm9rHTpSglVSj+TWjjFk20PsQ3u INwORcIC5HfgWfZ56/4gzFwPMvI7juiR2/H6rORFzZhdh0tJFZMv2ccARuJJFNAMre gRoGYcjWGG6PRwPxUOgNAvuFUQQuCK5c3YNLLdvY/fkgXy7WAczxihBrZYcbM8gCaf H6ryobFI2N7WAMGPJ4L0DjJM2Yr891hGcNPHhJp6wrFIRn4yI9ERabALC/vcGsOsjM uFOrV4+KumfTQ== Date: Thu, 10 Jul 2025 11:25:16 +0100 From: Simon Horman To: Markus =?utf-8?Q?Bl=C3=B6chl?= Cc: Tony Nguyen , Przemek Kitszel , Richard Cochran , Thomas Gleixner , Lakshmi Sowjanya D , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , markus.bloechl@ipetronik.com, John Stultz , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] e1000e: Populate entire system_counterval_t in get_time_fn() callback Message-ID: <20250710102516.GP721198@horms.kernel.org> References: <20250709-e1000e_crossts-v2-1-2aae94384c59@blochl.de> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250709-e1000e_crossts-v2-1-2aae94384c59@blochl.de> On Wed, Jul 09, 2025 at 07:28:07PM +0200, Markus Blöchl wrote: > get_time_fn() callback implementations are expected to fill out the > entire system_counterval_t struct as it may be initially uninitialized. > > This broke with the removal of convert_art_to_tsc() helper functions > which left use_nsecs uninitialized. > > Assign the entire struct again. > > Fixes: bd48b50be50a ("e1000e: Replace convert_art_to_tsc()") > Cc: stable@vger.kernel.org > Signed-off-by: Markus Blöchl > --- > Notes: > Related-To: > > Changes in v2: > - Add Lakshmi in Cc: > - Add Signed-off-by: trailer which was lost in b4 workflow > - Link to v1: https://lore.kernel.org/r/20250709-e1000e_crossts-v1-1-f8a80c792e4f@blochl.de Reviewed-by: Simon Horman