Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2390202imm; Sat, 23 Jun 2018 17:23:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKqjFY0VcGhXScta78LXf7uTdBgf9vWtwe5/S9A36bKoNAtHCjN3Ai7UWOu6/iz5+T18h5S X-Received: by 2002:a65:4146:: with SMTP id x6-v6mr6101551pgp.221.1529799788373; Sat, 23 Jun 2018 17:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529799788; cv=none; d=google.com; s=arc-20160816; b=dComg6EGIWO3pQI59tfBpZi7KAjI6TovmKUjEpYhTV3ilqAxS2Hr2J0K1vUQR8ARxH kjI+Ro4l73oIJNuXr2xWxZD06P+e1nLqIl6+rhj/tgCwhiKHHDn4ChbDdW62ICkFXah/ SXKcjN6mYxYpurIFEZkJ50xUEns7xXxyA/JWaRbur/Fwc4r4eo6QaxgbJNFFNEK0L0LT bR6wmYfzuEtjJC4EwNrFe2D400s/JJuGJy/xfGfZY/bZuESipSEhuoagrqAoJwlQWQLX HpU9T+Zy23tOT1NajLXsvjkJ2fm4mLt7d0fucyaszw7yCN9dynHOnN+UUjLcc8TUp0L6 24yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=q4lw0J/jysGRKK//iDR9Yo8PKfUptlWSa6Vc1x4yMx4=; b=0Mdx9slzWfwW9SdTvrncaD6QWy1Hz7ysTMTaZYmCu6XTUz5nwawJIIjJ+VrgYfnvy3 sNxQCz3ga1NT9M5vlemBeUtbsuhiqP2gngXDkL5P1Bn/yVufYbJ2gRtc1mQ1PE3cOn5p Kzq32VzQ9g7g6JNufoqrcKKQyLL8t+ybrZ5rk/tB2axavzHsJheIkcEEnF3q94wLOfri 1uW83ILI5NnefaBS17adeOONIDc0VlOUNCloap6N3xE/ZMIgOMkQXVv2Yocm0lMMNKLs nsey3tfSJ+ov6d9japiaJcsbJ8j3LLp7Z0Ns+wZW5QNJMZkmnYJTajC3R/DpxEI+Aevl kSiQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2-v6si11094535pli.6.2018.06.23.17.22.53; Sat, 23 Jun 2018 17:23:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751915AbeFXAWI (ORCPT + 99 others); Sat, 23 Jun 2018 20:22:08 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:44090 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751589AbeFXAWH (ORCPT ); Sat, 23 Jun 2018 20:22:07 -0400 Received: from p4fea482e.dip0.t-ipconnect.de ([79.234.72.46] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fWsm9-0000Sb-K3; Sun, 24 Jun 2018 02:21:05 +0200 Date: Sun, 24 Jun 2018 02:21:04 +0200 (CEST) From: Thomas Gleixner To: Baolin Wang cc: john.stultz@linaro.org, daniel.lezcano@linaro.org, arnd@arndb.de, tony@atomide.com, aaro.koskinen@iki.fi, linux@armlinux.org.uk, mark.rutland@arm.com, marc.zyngier@arm.com, broonie@kernel.org, paulmck@linux.vnet.ibm.com, mlichvar@redhat.com, rdunlap@infradead.org, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, pombredanne@nexb.com, thierry.reding@gmail.com, jonathanh@nvidia.com, heiko@sntech.de, linus.walleij@linaro.org, viresh.kumar@linaro.org, mingo@kernel.org, hpa@zytor.com, peterz@infradead.org, douly.fnst@cn.fujitsu.com, len.brown@intel.com, rajvi.jingar@intel.com, alexandre.belloni@bootlin.com, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 3/8] arm: time: Remove the persistent clock support for ARM architecture In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Jun 2018, Baolin Wang wrote: > We have introduced the persistent clock framework to support the OS time > compensating from persistent clock, and we will convert all drivers to > use common persistent clock framework instead of the persistent clock > support used only for the ARM architecture. So we can remove these code > with converting the Omap 32k counter and tegra20 timer. Why did I look at that in the first place? But as I did, I just have to say, it's just consistent trainwreck engineering. Remove working code first and then add new one. Hell NO! This is not how it works. We add new infrastructure - if required with some extra temporary helpers - while keeping the existing functionality intact. Then we convert the users of the old infrastructure over and when the last user is gone, we remove that including all temporary helpers. That's not something fundamentally new. It's documented all over the place. Thanks, tglx