Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp763731imm; Mon, 2 Jul 2018 22:46:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKW3gwusunG7gSYws9qJLQnTsfhmeMcKvNoWXP5/OFaskH9ufMe30KHdKN790/3/2/sqCqx X-Received: by 2002:a17:902:28a6:: with SMTP id f35-v6mr28592753plb.110.1530596796154; Mon, 02 Jul 2018 22:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530596796; cv=none; d=google.com; s=arc-20160816; b=ZSh04jd+NkzCGHjzI3QHH0h0EsUWQKgHV6M36DKKeL+OVf8Zz4lwxnQoYycdAE3vA+ f8masv3m2Jogoc32s6wDqG0x5gZY3s3jnNpZpVQw6m3fArIT/6PAqh3dzRWgJ5TlLwny xgG4GaB75vWaEynpdXeGbLq0RJcbpQYH7z95KdBgRgIK4spOA9QgLihtRmvEXiHD5xBB M7CK2/fJeogo5+uwLrABDkgY4lNcvvBXImmCC3EcosP5GyAevpPjAvwwtnrE+/0efknu y+PPVngAGJ8Mft+jkZuWDj6Vf/s1g7QWkiNCk4yyYxb9Hy3/QOHZjvAEhgsmQK2QCyoT 566w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=b/Ny68IeWgdDJaS78uW+oO/uYqsHyiX/ZV/bWKK2Qbo=; b=EQy4rp0y1pIO55v+QZvYUOwF05L0ObReuPocv31y8NDEMZJ7UyiWDIJn19yiCh/0/1 r2GbPIOJg//JLbMput9K9vD2HfPhN0sWZ3Mk2zbs9Iu8LkRLn3USqhprrfSBEkAiPzVC OIjGPMXG8ParO/tO6k7cu1Yszu+FlSEsrxKlxmGHDCf9tpA6mE//4eVCSPNkRThphoif gmZ4TU/1iYrizE9LadpgVfmxlH12CzpJc3hoJT27Jxuq3hsvVYq1G/GlBAgb8qfpqS4R FKD7lkwTGvE3vT1LNkPgec9/2R82AAPUgmr4tQ8HbBD5u23/iTXG6ZbGZbJGe8q4CNvK pL5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FEKNj9Qu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si373433pfa.15.2018.07.02.22.46.21; Mon, 02 Jul 2018 22:46:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FEKNj9Qu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932734AbeGCFov (ORCPT + 99 others); Tue, 3 Jul 2018 01:44:51 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:43709 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754329AbeGCFos (ORCPT ); Tue, 3 Jul 2018 01:44:48 -0400 Received: by mail-pg0-f65.google.com with SMTP id v13-v6so422940pgr.10; Mon, 02 Jul 2018 22:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=b/Ny68IeWgdDJaS78uW+oO/uYqsHyiX/ZV/bWKK2Qbo=; b=FEKNj9Qu7lk22symzMwwZkwF6GKjVrCJPOyQk9k21oFIlb2GNjV9RCWgBP39Oe3V8A FzscpOr3E7HRDHVf1W9mqKA5mGxUXY79wFrybvD6UEErlmp25xQhsfTI9vfFIUrPYFCu enzDHXgy7QGJfxWClv8h9VFRGU9DT9/h0occO/76bBlVo5etRuGcWnXWTglY6h2GnQ9U cbAlL7wj7myDihenJod86vbSG95BNsT/Nwjq1aDzQ2gOG71KT2EshlDLTI+4qu4+UOXI hpdqf579znsloKf2U2Nnh973Zml9AyqTiPdZyEGKLDD5h9PGmTgALs7p5Dg7Je1rsYDY 7EYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=b/Ny68IeWgdDJaS78uW+oO/uYqsHyiX/ZV/bWKK2Qbo=; b=Yawjgkj1fiDduebyVu+KXLdZwsMBFGTt8juvigXlHk118n8FDjwB0LWl1Czc0X7hI5 +eB09BsSEbSZXWXbNgOow0bBiUmytU5DY6olRE/oCS0f++rLAE0g7Ny596L2umpod+4V irsRvmIzwLNbesHbjDH2XEjTjkZDTOutF5GOOA+TPjxLKwYkxioQrRGA6vDeVAftZzQo hVd4fsJYdWe1GYzSMFio9N63U33wm2rL4U1XMkGzRbG0uj78UCQqrYmHcaQUBIznFihQ AH1+2ZS6bsr2WVOpjhPsKthGbU1MIvlRu9KXnYRefS9XX1XP1Dv/R73kp8dEILdz2LgK Zstg== X-Gm-Message-State: APt69E1yjps96AfIVTyLR0Yb+UDgg6yLKSQ63dbBryn6l2di/uU9QzIF CeDbgM+XM058hQ9EfIg/XMvryA== X-Received: by 2002:a63:b74a:: with SMTP id w10-v6mr15808818pgt.266.1530596687874; Mon, 02 Jul 2018 22:44:47 -0700 (PDT) Received: from deepa-ubuntu.lan (c-67-170-212-194.hsd1.ca.comcast.net. [67.170.212.194]) by smtp.gmail.com with ESMTPSA id h75-v6sm784780pfh.86.2018.07.02.22.44.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 22:44:47 -0700 (PDT) From: Deepa Dinamani To: tglx@linutronix.de, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, y2038@lists.linaro.org, catalin.marinas@arm.com, davem@davemloft.net, linux-alpha@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 0/6] Introduce struct __kernel_timex Date: Mon, 2 Jul 2018 22:44:16 -0700 Message-Id: <20180703054422.12089-1-deepa.kernel@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series introduces struct __kernel_timex as a substitute for the non y2038 safe struct timex. The series is based on the original series posted by Arnd Bergmann in [1]. The overview of the series is as below: 1. Prepare for the compat timex interfaces to be used unconditionally. 2. Introduce struct __kernel_timex. 3. Use struct __kernel_timex in place of struct timex. 4. Switch syscalls to use struct __kernel_timex. Deepa Dinamani (6): arm64: Make basic compat_* types always available sparc: Make thread_info.h available directly timex: prepare compat helpers for y2038 changes time: Add struct __kernel_timex timex: use __kernel_timex internally timex: change syscalls to use struct __kernel_timex arch/alpha/kernel/osf_sys.c | 2 +- arch/arm64/include/asm/compat.h | 22 ++++----- arch/sparc/include/asm/compat.h | 2 + drivers/ptp/ptp_clock.c | 2 +- include/asm-generic/compat.h | 8 +++- include/linux/compat.h | 33 -------------- include/linux/compat_time.h | 34 ++++++++++++++ include/linux/posix-clock.h | 2 +- include/linux/syscalls.h | 5 +-- include/linux/timex.h | 9 +++- include/uapi/linux/timex.h | 41 +++++++++++++++++ kernel/compat.c | 63 -------------------------- kernel/time/ntp.c | 12 ++--- kernel/time/ntp_internal.h | 2 +- kernel/time/posix-clock.c | 2 +- kernel/time/posix-timers.c | 14 ++---- kernel/time/posix-timers.h | 2 +- kernel/time/time.c | 80 ++++++++++++++++++++++++++++++--- kernel/time/timekeeping.c | 4 +- 19 files changed, 198 insertions(+), 141 deletions(-) base-commit: 69877f06915f1c7a9f1704442993bcc12c13ace2 -- 2.17.1 Cc: catalin.marinas@arm.com Cc: davem@davemloft.net Cc: linux-alpha@vger.kernel.org Cc: linux-api@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: netdev@vger.kernel.org