From patchwork Thu Dec 12 17:33:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Easwar Hariharan X-Patchwork-Id: 850031 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 446D62153DD; Thu, 12 Dec 2024 17:33:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734024792; cv=none; b=uTSElMe1otI2btMMQSGI9WNvCsSfAvyGwFPUEh7efJNmzlftoU3dZ2ZhK4QeYoKpgDbj75NqgHGAVnE2skodnBzvD06Y6hmmZK97oe5K4VvU7nLzqlOHCSplcrcCZ7rQ4O+GYStl5NsGHvj3PHfv2D15VXsvEjPcHOhnUj+Bf4M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734024792; c=relaxed/simple; bh=R5JFd69wz+34MsBBdxu3c/nOib3KiRU/jllGTF4pL8U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Re9HW3okDV8KWAe4uSYn2+e57b1AYZuV6zjC0BL3C0ei7N206Izw1UjKq8YwrF/+Z4Ih5NzbpoO7DvkUMvPY2wPx74tXqXhYxJ4LU0G4W18gqU7h3kf6It7XNwb6qFZSd59na38LbjAPrGsxjskzVMt8n1otDgoPL/dRBxYGkvI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=gJT8tylM; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="gJT8tylM" Received: from eahariha-devbox.5bhznamrcrmeznzvghz2s0u2eh.xx.internal.cloudapp.net (unknown [40.91.112.99]) by linux.microsoft.com (Postfix) with ESMTPSA id 9FC7F20ACD6C; Thu, 12 Dec 2024 09:33:10 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9FC7F20ACD6C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1734024790; bh=j8AmzIEjYIQS6zN/bjVcHRxb12g3/9cjkDw7Uf+bRaw=; h=From:To:Cc:Subject:Date:From; b=gJT8tylMA9p8ykATh8M7TBp8bG7wrLTBVChrEcO+8CYjky2IreuL7Ww1JIgrqe0TJ HmgK0Wa2KtnbepWHfjoD7K4cLnpv39lVLmv1GQD37mLACLyU2fd6TS/gCPPalZTK9Z iCLN3g+6to3teWWxrd32CjLWy+LooyBdQ01pTIyQ= From: Easwar Hariharan To: Jeroen de Borst , Praveen Kaligineedi , Shailend Chand , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Kalle Valo , Jeff Johnson Cc: Easwar Hariharan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, Jeff Johnson Subject: [PATCH net-next v4 0/2] Converge on using secs_to_jiffies() in netdev Date: Thu, 12 Dec 2024 17:33:00 +0000 Message-ID: <20241212-netdev-converge-secs-to-jiffies-v4-0-6dac97a6d6ab@linux.microsoft.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Change-ID: 20241211-netdev-converge-secs-to-jiffies-f18b18c775c1 X-Mailer: b4 0.14.2 These patches are pulled out from v2 [1] and v3 [2] of my series to be sent through netdev. The series converts users of msecs_to_jiffies() that need seconds-denominated timeouts to the new secs_to_jiffies() API in include/linux/jiffies.h to avoid the multiplication with 1000 or MSEC_PER_SEC. [1]: https://lore.kernel.org/r/20241115-converge-secs-to-jiffies-v2-0-911fb7595e79@linux.microsoft.com [2]: https://lore.kernel.org/r/20241210-converge-secs-to-jiffies-v3-0-ddfefd7e9f2a@linux.microsoft.com Signed-off-by: Easwar Hariharan Reviewed-by: Praveen Kaligineedi --- Easwar Hariharan (2): gve: Convert timeouts to secs_to_jiffies() wifi: ath11k: Convert timeouts to secs_to_jiffies() drivers/net/ethernet/google/gve/gve_tx_dqo.c | 6 ++---- drivers/net/wireless/ath/ath11k/debugfs.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) --- base-commit: 91e71d606356e50f238d7a87aacdee4abc427f07 change-id: 20241211-netdev-converge-secs-to-jiffies-f18b18c775c1 Best regards,