Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp873572ybp; Fri, 4 Oct 2019 06:21:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB8WiSEIf3XWMlnwQhgrZOZwiruW+OMindHnbZ1JbTHx6bseye+1lRgwqtQIk1wvYjReRs X-Received: by 2002:a50:918d:: with SMTP id g13mr15173798eda.64.1570195301472; Fri, 04 Oct 2019 06:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570195301; cv=none; d=google.com; s=arc-20160816; b=o5vTgYEOVRX0sQHhM4OVROuPZcTAALzH5UlDm3yfXFrQENeFznXVUmY121E9ja/hKg QETqvm9FnHllbcH8QKd/qa+AcQ/dokxtCw2pUOn7oOX5foTe8ceyE8hGLk1Rz5hSvXhM INbnl3dudJY78ZNgzZ8Jx9kJWFPBVMI+AvlE5yOVI2DrWS6LMYi0ivZz8uqFM7y7JLEE 2Omf+KM6ZNS/e3VYJIbl1eG0fZ2O7xFkW8V4Khu8Yxsu5Cy2Z/4zVuibvokhZWfZbTjI pZkllMH3Ntz5uBbKwf4Cnu9DavhH4napr+tJM7n52aE8qRKdv8hI/boOz8dhBo5BP2g1 ug8g== 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; bh=Mli+cj6jBLlNSEnG79nUQfaZGOXNOxZLcHemGrXJ2us=; b=MG8iEwrP7GsXKCjqM8+8ficujqDzfJOJIUNm7J4R3r1VSH3+WgfZaUCHfZErSQciZy oRKGfQ985x4gjYHuXP85O61livMbcxX/tPNwPUFzJREvzdzWsKCe0G+08Q+Ivw8xOULZ O9dsa05el66eGozt7Ea4Lrqhan9b44xDCMhaCiDdb+MAf2PZmqhXy7k0dJp3ZS91JZcF TXW2Q7wBlwzqA+iDnLVxEJGCXsnSNh9RDQ1hZUyeC1w8TSvJWnMLNVjAIRtNvOzgRLUV r6+JhjyQJ/Cvp1lIJTOBEe5hJzr3NFxwt894CEvNZrLkb3uwUmJQWgQlGr+mOiGQ+zo/ 20ow== 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 26si3165539ejl.292.2019.10.04.06.21.16; Fri, 04 Oct 2019 06:21:41 -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 S2388270AbfJDNUv (ORCPT + 99 others); Fri, 4 Oct 2019 09:20:51 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:48494 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387917AbfJDNUv (ORCPT ); Fri, 4 Oct 2019 09:20:51 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1iGNVR-0002sV-00; Fri, 04 Oct 2019 13:20:25 +0000 Date: Fri, 4 Oct 2019 09:20:25 -0400 From: Rich Felker To: Greg Kroah-Hartman Cc: Bartosz Golaszewski , Yoshinori Sato , "Rafael J . Wysocki" , Daniel Lezcano , Thomas Gleixner , Jiri Slaby , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v4 0/2] drivers: make early_platform code SuperH-specific Message-ID: <20191004132025.GQ16318@brightrain.aerifal.cx> References: <20191003092913.10731-1-brgl@bgdev.pl> <20191004130031.GA596158@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191004130031.GA596158@kroah.com> 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 Fri, Oct 04, 2019 at 03:00:31PM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 03, 2019 at 11:29:11AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Some time ago I 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 moves all the early_platform code to arch/sh. > > > > The second 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 > > > > v1 -> v2: > > - certain drivers are compiled for arm/mach-shmobile too - we need to > > add ifdefs for CONFIG_SUPERH around early_platform calls > > > > v2 -> v3: > > - added a stub for is_early_platform_device() which always returns false > > on non-SuperH architectures > > > > v3 -> v4: > > - rebased on top of v5.4-rc1 > > - removed patches that are already upstream from the series > > > > Bartosz Golaszewski (2): > > drivers: move the early platform device support to arch/sh > > sh: add the sh_ prefix to early platform symbols > > I like this, any objection from anyone if I take this in my driver-core > tree for 5.5-rc1? I don't think I have any objection. It will probably make gratuitous merge conflicts with Sato-san's old device tree sh4 work when we get back to finishing that, but that's not really a big deal. Rich