Received: by 10.192.165.148 with SMTP id m20csp3988723imm; Mon, 30 Apr 2018 09:44:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrZfXW5uGXAxX6XHZYB3eyOKnYusi8OWjrrlv4RZgF3zFae9DbFuaDhmClYP9qgUwxJ9dEE X-Received: by 2002:a63:7547:: with SMTP id f7-v6mr10772179pgn.204.1525106695312; Mon, 30 Apr 2018 09:44:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525106695; cv=none; d=google.com; s=arc-20160816; b=FHVhpiGOZCvpqHq1KoXLZD7oOhLK27yXgMzGNBc33WnPYOUPRH1P02Z2usdewt6gvX ZcQ9heB7k6r1MAomHUgsvLiq+1cNdpvDiJqSoidigoIV8Lxe559UlC3JKMxENxmoq4Cr FlYLKuaQYJm8c0SnpOzb4iUU5KDB7UjP1cOrw7wwdjAmsIn1qrUrjQ5eeDf/AShMYC0w nq+DN/mRGTR7WuUkKfJLrbUTGjBrtar3Vrr1Uc1/XNBxjGWrSIzlK5Yd+dx0YQzq/zUZ dNNSWQxt0rvN13o7U/FYhWbiZwv035gID8jpMOgxR3/eEav69u5GNvowBrp7T11d7YSv 0/fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=T2N9m+2WTg98n96/Eec9mhr2OCvuBDCJxnqNStPxUHE=; b=lGUKNZXiqwuLdBxtR0OyX5LVnqJ+pa1ngoHBV3up3eJ3i77hINSlmd5Bz3C8Cu2R6e uOHoUMO0XvRuU/qTFtJ/F0dAhlDuT98c23kdmAPFd3eqBCSxOwwwG+zyINwOGiOHo5b/ DEuTJ0q3Yc4BBFEASG3Yk2MuVs18D7DEuPX3TdvA7u591ZxoEotCxOBAxjo1o7BChOpI wXvqzCNIaCMQ09km/bvsfyycWfYWfKTx7ePY550DUwPw/cUIkG1vSHtohqirT3dLFTHa yhG9R0Rh0JCEHBJJAYWZycUD3UPsTm+a2rWa2BRX358Z7uzgK/rNCV9lEsEf0nDIZ64U cWtg== 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 k16-v6si8318961pli.171.2018.04.30.09.44.41; Mon, 30 Apr 2018 09:44:55 -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 S1754947AbeD3Qo0 (ORCPT + 99 others); Mon, 30 Apr 2018 12:44:26 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:53536 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754674AbeD3QoW (ORCPT ); Mon, 30 Apr 2018 12:44:22 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1fDBt4-0003lw-00; Mon, 30 Apr 2018 16:42:50 +0000 Date: Mon, 30 Apr 2018 12:42:50 -0400 From: Rich Felker To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , Mark Rutland , Yoshinori Sato , Andy Shevchenko , Marc Zyngier , "Rafael J . Wysocki" , Peter Rosin , Jiri Slaby , Thomas Gleixner , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-sh@vger.kernel.org Subject: Re: [PATCH 0/3] sh: make early_platform code SuperH-specific Message-ID: <20180430164250.GN1392@brightrain.aerifal.cx> References: <20180430163556.2560-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180430163556.2560-1-brgl@bgdev.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 30, 2018 at 06:35:53PM +0200, Bartosz Golaszewski wrote: > I recently started a discussion about the need for a proper early device > probing mechanism[1]. One that would be based on real platform drivers > and support both platform data and device tree. > > While we're far from reaching any consensus on the implementation, Arnd > suggested that I start off by moving the SuperH-specific early platform > drivers implementation to arch/sh[2]. > > This series is the first attempt at making way for a new, less hacky > implementation. > > The first patch removes the last instance of a non-sh driver using the > early_platform API. It can be removed since ARM no longer probes early > drivers. > > The second patch moves all the early_platform code to arch/sh. > > The last patch prefixes all early_platform symbols with 'sh_'. > > [1] https://lkml.org/lkml/2018/4/26/657 > [2] https://lkml.org/lkml/2018/4/27/239 > > Bartosz Golaszewski (3): > clocksource: timer-ti-dm: remove the early platform driver > registration > platform: move the early platform device support to arch/sh > sh: add the sh_ prefix to early platform symbols I can't say I like it, because I really want to be just removing all this code, but I don't necessarily object and it might be the most appropriate short-term action to clean up this mess without breaking things. Rich