From patchwork Wed Jun 21 05:21:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 106042 Delivered-To: patches@linaro.org Received: by 10.140.91.2 with SMTP id y2csp1753658qgd; Tue, 20 Jun 2017 22:21:46 -0700 (PDT) X-Received: by 10.84.232.137 with SMTP id i9mr22166479plk.154.1498022506583; Tue, 20 Jun 2017 22:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498022506; cv=none; d=google.com; s=arc-20160816; b=p8nbEG6ieCr3KKbtM7yCPjYgNtu1p3LtiWUKhzjph3zoQlD92KhU9XHAP35Fj5UvlW 3QYlwvodFQ+2TDJFYk9wFXYpnRiD5W5MJpulJEFkUwP0gSNjXSigM4kErHKPTXAwEoEZ ZqmuzCaBiuPUbCRYuibfvJL+IEwP1I652X9RGhCcT6jJuS51HuSHubOgoNez7xUTYM/N /4z0zBff6feNN0Xl/ClRdR3T34JoadgBjrzb9vSR5hAJBWuu1OLd7anTmv1TqWA5tH5l VOgdFFBhuvrj7Qb7DR/Sq6ugJ1qv1ZvHftrQjo9oXG/NYO00d+INg1wMhYtRyIPQQkux Krxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=RQC3Ykek2ehmI5RGJ3BOwl0W5dTRYlzDII/mMO2NafQ=; b=A+K0T3CJ7ucHYQLo7BC3y5N5XCKqwGk6VtB6ArG0cG707upGp4OHIvgiOflzmH65eq qiNV0Vc6p6SIg87X6bHg7xh8sCqpFrX0XPtCnRtiqjfUHu7O7oDKv17J0yFXrpZ4Hz4w IcUkH8jkkcmu9Pbt9dKes/in3PRBqADG1mV6bYwitCDyfKYLU4wjDkYEwz+iVGDIoaeb YDeSC7HsykrQ188YJLQ67ubvg8/PLo+LauYPrNbC2TJ2ywQK6UT7J2lN8XK2S2CD6vyo 0XjbGFusxJlllTLxRqeaiAtQW3HjdIYoiJsX61B8aqI/5xURysoew/WaN9q6WkXaodH9 RdYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=VBRen69O; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com. [2607:f8b0:400e:c00::229]) by mx.google.com with ESMTPS id e4si13990923plk.481.2017.06.20.22.21.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 22:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::229 as permitted sender) client-ip=2607:f8b0:400e:c00::229; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.b=VBRen69O; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pf0-x229.google.com with SMTP id c73so19822660pfk.2 for ; Tue, 20 Jun 2017 22:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RQC3Ykek2ehmI5RGJ3BOwl0W5dTRYlzDII/mMO2NafQ=; b=VBRen69OtjYPBz4qTKY58eYQhluRTFqMGefIrF5Tciii7TbYuUOmI+6NE03ym78mCT B6gNgKgydbsNERVNMQfa9nuhFk0l4+913IAP5tYpGYmZ3Rpv+JSa93vwV17FhGJUz0o+ k/OuCSUqWU8aeNQ2RjIvpKTn/GFHIW96Kn/Aw= 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:in-reply-to :references; bh=RQC3Ykek2ehmI5RGJ3BOwl0W5dTRYlzDII/mMO2NafQ=; b=KyD7mR8i9l7v2tA+Rwt7wZ67zWEYDdHJMye016WoTfFj5U9horRE32xGx08jeK1Ykt DTMGFLcjGHdBaTYrfPMpKootPBDfOdCle6YxBF+oohJd2HV08SmAUUQvZB71forRV0qE kxFrPABEVrKe7ssHJTOX5nFaKaO56XzGbLlaOtjCI7zaMjIwqgwuol0tRcdrryOglZMO 1tAJdMoEzyUATvPQa5tpXPndZJ9RYwfEcwFw8DPCI6HxrjCd159kuS1n30gmsEmiFSMy kJSFQTQcpuiAgdQWQuRiS102IoKSe1Qpx6dNcHfhcExENOQEBQclwYLkKo6mWh47ypAh OftA== X-Gm-Message-State: AKS2vOzx99dv4vqoDbWr2CBirapcgLjDk7tDy5BJna0iDZtTMs04qazg GfGiMurou25yOq30/rA= X-Received: by 10.84.229.5 with SMTP id b5mr12956638plk.164.1498022506307; Tue, 20 Jun 2017 22:21:46 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id a69sm30405992pfg.91.2017.06.20.22.21.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Jun 2017 22:21:45 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Thomas Gleixner , Ingo Molnar , Miroslav Lichvar , Richard Cochran , Prarit Bhargava , Marcelo Tosatti , Paul Mackerras , Anton Blanchard , Benjamin Herrenschmidt , Tony Luck , Michael Ellerman , Fenghua Yu Subject: [PATCH 2/4] time: Add warning about imminent deprecation of CONFIG_GENERIC_TIME_VSYSCALL_OLD Date: Tue, 20 Jun 2017 22:21:31 -0700 Message-Id: <1498022493-20292-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498022493-20292-1-git-send-email-john.stultz@linaro.org> References: <1498022493-20292-1-git-send-email-john.stultz@linaro.org> CONFIG_GENERIC_TIME_VSYSCALL_OLD was introduced five years ago to allow a transition from the old vsyscall implementations to the new method (which simplified internal accounting and made timekeeping more precise). However, PPC and IA64 have yet to make the transition, despite in some cases me sending test patches to try to help it along. http://patches.linaro.org/patch/30501/ http://patches.linaro.org/patch/35412/ If its helpful, my last pass at the patches can be found here: https://git.linaro.org/people/john.stultz/linux.git dev/oldvsyscall-cleanup So I think its time to set a deadline and make it clear this is going away. So this patch adds warnings about this functionality being dropped. Likely to be in v4.15. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Miroslav Lichvar Cc: Richard Cochran Cc: Prarit Bhargava Cc: Marcelo Tosatti Cc: Paul Mackerras Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Cc: Tony Luck Cc: Michael Ellerman Cc: Fenghua Yu Signed-off-by: John Stultz --- kernel/time/timekeeping.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 0454bfa..cedafa0 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -516,6 +516,7 @@ static void halt_fast_timekeeper(struct timekeeper *tk) } #ifdef CONFIG_GENERIC_TIME_VSYSCALL_OLD +#warning Please contact your maintainers, as GENERIC_TIME_VSYSCALL_OLD compatibity will disappear soon. static inline void update_vsyscall(struct timekeeper *tk) {