From patchwork Fri May 12 18:24:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 99725 Delivered-To: patches@linaro.org Received: by 10.140.96.100 with SMTP id j91csp442706qge; Fri, 12 May 2017 11:24:17 -0700 (PDT) X-Received: by 10.99.1.141 with SMTP id 135mr5892458pgb.164.1494613456906; Fri, 12 May 2017 11:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494613456; cv=none; d=google.com; s=arc-20160816; b=v7Zxym0tZTlbjPByh7nzAROAbPjfy0JDsYSwI4BKBmhBZZiGubp0jnOPLGIPBAeQIz 1EaP62i2tFKzF2kc3olDAA0yyi/5OjWFA5pOOZ76PbakEyJgRj5PCbF7gf2X9ExJDBRp dIi5NjkixZhCLXH2XBqLHjuDO6uyAeuQt7iFQJIvn092m0p8ZJrOIq55v4rqcilh8ECB 8EHczUdDqPH+xDR93PzPzNZFB2b+wddll3UzUJ/wX/K8ouNB2O/BOpl40EMnv+sR8QVd njrzCycPJEvQQYzFJRCvxoGMmb8FLrhBQSqoYKKx21UpfUdb9sDcchDn1W0KDgvG+ULd f+cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Ix1jYGw2UxsqzWRmWlMWjMCmGTl1ObXvLIfKnZzNKZ8=; b=L3DQvzu//D0+L5P4YZAgWjONREDFFceXyXyK+5rAeXdzWRtjiUAyBEfWAds++nTx/Q GmC3RO9nJJK3xQU3X0R8OCXmVMBcOVqE9Un6ajR/FJMeFvWfr2asEp8LwkL/fGG7iI+h Xte7LxE4SRL3mvIpoQ29lrCAn112Lc7YsSyM8hkA1KLLg6wsL6JW8B0bjdkIUscwjm5D 6ew5VbZvvgEI3RNPtRU24dJSsF32nty5c31ZyjuKXzutieOgqHUuqZZIRBTRIwv0UvcP D3osCZknv6RTP1zdzHP/HgMkIINVPTebSrIfi3ce95zLCXQnLHVT06G0JSGAjhK6UZJD UwPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::234 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-pg0-x234.google.com (mail-pg0-x234.google.com. [2607:f8b0:400e:c05::234]) by mx.google.com with ESMTPS id g5si4178411plm.37.2017.05.12.11.24.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 May 2017 11:24:16 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::234 as permitted sender) client-ip=2607:f8b0:400e:c05::234; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::234 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x234.google.com with SMTP id u187so33780110pgb.0 for ; Fri, 12 May 2017 11:24:16 -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; bh=Ix1jYGw2UxsqzWRmWlMWjMCmGTl1ObXvLIfKnZzNKZ8=; b=NjfFCiigzNth9N2+8ai/oTLrVXbG3uYQifI9YP39uUPhd3GgWuy8bGVviLhG8IILsG +Em1Fv+apAO0n0HSh6CRJeZGhHU4qecBQ/XjKdvqOVixCibgAOw7xGfQLvTHt14e2e1q 4+8t8n6s7Z7ARczeFB9xFzoau5nvCRLUxM1Lw= 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=Ix1jYGw2UxsqzWRmWlMWjMCmGTl1ObXvLIfKnZzNKZ8=; b=PxSjITSki79F2lJidHnWfhGPNThR6zd2E2waao/6l73vj3vrLJioZ7qJPtWWBOuYxH 0f/buj8pNWDveDt3IgafdgRxJOVPlgakzAvXBhLo2+KFYHtjvgH8nRYGUaLbDkM2ZKOc KnvdeojVjzV5KT5D6aZcgAtXqX55+UDNVLzxQkbE8wHqyOCJ3sstK4wCTwgpx2xAs8Oi LBdaAiY8S3VRuG0spMWzVnM1CfogJXHH1PYXRvkRy8s1UJq7nRPXbvZ8KKNzXbOOJNPD Fvx64rsE1nKGti6e4TT7a7Na+qwszh805Qgm+4TCEe5nGJjf1fpu6KQtqoGXaBEd/L/a gsrg== X-Gm-Message-State: AODbwcBxpIAAQIQUKBVmPK3DLMZNjiJHX0++6Pbd0C09bmvqZGWpRH2w oUe+ZDYTfYVybOUDz98= X-Received: by 10.98.109.5 with SMTP id i5mr5873601pfc.58.1494613456490; Fri, 12 May 2017 11:24:16 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id 84sm6413883pfi.88.2017.05.12.11.24.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 May 2017 11:24:15 -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: [RFC][PATCH] time: Add warning about imminent deprecation of CONFIG_GENERIC_TIME_VSYSCALL_OLD Date: Fri, 12 May 2017 11:24:10 -0700 Message-Id: <1494613450-4713-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 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.14. 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 9652bc5..8c1523d 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -488,6 +488,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) {