Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3906224yba; Mon, 29 Apr 2019 10:24:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAbfTKUXhutowryKn69eyLJVb5aHcgsN7H8cHkdgmVjnS+QJM48jYBp/2o2Kl8BdA0+ky2 X-Received: by 2002:a17:902:e382:: with SMTP id ch2mr62059816plb.94.1556558695423; Mon, 29 Apr 2019 10:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556558695; cv=none; d=google.com; s=arc-20160816; b=JF7AnCnnuNwB+EQWEqHBuegaQVlXuhRwKahKs+sLtaKXzbgNT0Usppukq4M7+j8W2t 0p1WqiEZYD9Th3j7cLXjFOHfmpNeeNEMHhH+zw4fGkiKd/A7OjxSLAXVa3Z9FenDhXlD 5jQeVNmNCjvWMjCCCYhFiDeNxxEzHx+oBURMFG1Nv2Dxj4nYlLDMSQhwKDRzxvveOHDl OJ6OtmHtCeQ5eM4gAEE1oXR785/WI1hl4ojrruBe6kL8H83PjUUHJrRb+esh4DtnHMnM dfMbsFSQ1VhcMCEe2xc801Plu1LAdVc7kfBll/d+UI4zLc7nXuoaJBfCpPNLD0dg3exh He1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rsw8UPykdorsw4sPVzHVYzdipOf63m0Li/lJqRlHJ28=; b=kDMafCUr3gYybTAu0rYu+SlVhzcAIZ9fRb36/pnzAId5fwPs7mwbVel2sebITi68X8 SAF2e9fx0SinxH3Oef1mr0qpZs6zbbjhf+2vKjfT/7GNWXIxXUQPOBci8V0EjwfzszdR pBJ/02gOZQjGEdIpddb7djdo46M4HV2YAkfbNMe1hTHezTqZ1cD3+sdiwQWu2dDwH0vM k1H1pXJ1lFzuzj5+SBimmWARNyWMCoszo1CyKPDxUFGeeWmprAPiuL4LROqwJwvPOdye 7a+6VPNEz9675kZummdloNsNiaE8XDHCVnCxJ0wiv0lmler6LoACJ54+6eEIjBK8DCeD hX/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=PCPGwWsH; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g23si9900224plo.68.2019.04.29.10.24.39; Mon, 29 Apr 2019 10:24: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; dkim=pass header.i=@google.com header.s=20161025 header.b=PCPGwWsH; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728982AbfD2RXF (ORCPT + 99 others); Mon, 29 Apr 2019 13:23:05 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:36973 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728920AbfD2RXE (ORCPT ); Mon, 29 Apr 2019 13:23:04 -0400 Received: by mail-pl1-f194.google.com with SMTP id z8so5396419pln.4 for ; Mon, 29 Apr 2019 10:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rsw8UPykdorsw4sPVzHVYzdipOf63m0Li/lJqRlHJ28=; b=PCPGwWsH2zeGDnz68osLQlxPJg3Mq3ZZ3rJnVkG96kpebaebQeHBm6Fk21rGKM3Iu1 y5AjtKyIzxFb/lo+UhU4zgbnf1mIQ125i478+JYkFgTyfWa0760MVb5SuDjwIzpEXcYw hsuIIjql21Co4qkj8ZGbsKYloGjQna0HcrYVspTiNXKqXDCW+s0aFPBdUg9eTF6+yswM /BsGsVhdNvuhHPteCh6HvAaJhM30O7s3iZMC95XQFv/L2lDxLjTMuA3MugRnY75nJgxS 8WmicA925irBdJLs/VSS2PjmLpw/N5IaDkzrcGu0d1Aa5uivPxMCHlTGFB6rhqzTX0aM aydA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rsw8UPykdorsw4sPVzHVYzdipOf63m0Li/lJqRlHJ28=; b=EeNrhdDoODgZBZUq2LurH7DLvZgS9eY86HTKi5jDBMCeTb1Sch/Ba4dx1wkUcnxJ3y Yn+7iXiPnj5eAIAFxBumXB6tCeALndRyPKiLu3NXR7nX5DQKQ0B1GJ7lWHxPsrJ6L0L+ peB9ZlheS7ZC6iP9vrwulXTNJt931GBy1Nq6ktdF1W5fbQbtgZvX04WdNpqYtr7v21R8 lxrEwYcs5VbhO+/gzdo3ZjXut6JUErxpK2AJZvfQd9m7JHPGIj7G1ZJAm6fDFoFTl8tz 29pz1AOEoNUMDX1aHNhhaWEhO2cVboHSIZPoiCaFFLk1i6nSzdt6rMgJbFxLHooh4UMG Z/3A== X-Gm-Message-State: APjAAAX7E+SUOztW9nC6kB3dDoNcnQxXqKbqr1BHFWFAIKMd4JwGDT2v KYaEYCJfoYwEvVFesa3MNmKCHYtIv/NBwS6j62/1fg== X-Received: by 2002:a17:902:e183:: with SMTP id cd3mr23298888plb.233.1556558583289; Mon, 29 Apr 2019 10:23:03 -0700 (PDT) MIME-Version: 1.0 References: <20190423142629.120717-1-venture@google.com> <20190425172549.GA12376@kroah.com> <20190429165137.mwj4ehhwerunbef4@localhost> In-Reply-To: From: Patrick Venture Date: Mon, 29 Apr 2019 10:22:51 -0700 Message-ID: Subject: Re: [PATCH v2] soc: add aspeed folder and misc drivers To: Olof Johansson Cc: Greg KH , Arnd Bergmann , Joel Stanley , Andrew Jeffery , Linux Kernel Mailing List , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-aspeed@lists.ozlabs.org, arm-soc , soc@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 10:19 AM Olof Johansson wrote: > > On Mon, Apr 29, 2019 at 10:16 AM Patrick Venture wrote: > > > > On Mon, Apr 29, 2019 at 10:13 AM Olof Johansson wrote: > > > > > > On Mon, Apr 29, 2019 at 10:08 AM Olof Johansson wrote: > > > > > > > > On Thu, Apr 25, 2019 at 07:25:49PM +0200, Greg KH wrote: > > > > > On Tue, Apr 23, 2019 at 08:28:14AM -0700, Patrick Venture wrote: > > > > > > On Tue, Apr 23, 2019 at 8:22 AM Patrick Venture wrote: > > > > > > > > > > > > > > On Tue, Apr 23, 2019 at 7:26 AM Patrick Venture wrote: > > > > > > > > > > > > > > > > Create a SoC folder for the ASPEED parts and place the misc drivers > > > > > > > > currently present into this folder. These drivers are not generic part > > > > > > > > drivers, but rather only apply to the ASPEED SoCs. > > > > > > > > > > > > > > > > Signed-off-by: Patrick Venture > > > > > > > > > > > > > > Accidentally lost the Acked-by when re-sending this patchset as I > > > > > > > didn't see it on v1 before re-sending v2 to the larger audience. > > > > > > > > > > > > Since there was a change between v1 and v2, Arnd, I'd appreciate you > > > > > > Ack this version of the patchset since it changes when the soc/aspeed > > > > > > Makefile is followed. > > > > > > > > > > I have no objection for moving stuff out of drivers/misc/ so the SOC > > > > > maintainers are free to take this. > > > > > > > > > > Acked-by: Greg Kroah-Hartman > > > > > > > > I'm totally confused. This is the second "PATCH v2" of this patch that I came > > > > across, I already applied the first. > > > > > > > > Patrick: Follow up with incremental patch in case there's any difference. > > > > Meanwhile, please keep in mind that you're adding a lot of work for people when > > > > you respin patches without following up on the previous version. Thanks! > > > > > > Not only that, but subthreads were cc:d to arm@kernel.org and some > > > were not, so I missed the overnight conversation on the topic. > > > > > > If this email thread is any indication of how the code will be > > > flowing, there's definitely need for more structure. Joel, I'm hoping > > > you'll coordinate. > > > > To be honest, this patchset thread was a bit less clear than anyone > > prefers. I use get_maintainers to get the initial list, and so adding > > arm@ or soc@ per a request tells me that perhaps those should be > > output via that script. > > The tools are working as expected, we normally don't take patches > directly to arm@kernel.org, we let them go in through platform > maintainers who then send it on to us. Thanks for clarifying. > > > > > > > I'm with Arnd on whether the code should be in drivers/soc or not -- > > > most of it likely should not. > > > > I think the misc drivers for a SoC that are a single user interface > > that is focused on the use-case that belongs to that SoC only belong > > in soc/, while if there is something we can do in common -- different > > story. If it makes sense to just have misc/aspeed/ instead of > > soc/aspeed -- would that align more? > > Those views are how the "board file hell" started on 32-bit ARM too, > so we're definitely hesitant to jump to that conclusion without > knowing more about what's actually anticipated. > > > Do you happen to have an estimate on what kind of drivers are > needed/anticipated? There is a UART routing control driver for ASPEED that spawned my push to soc/aspeed. The advice on that thread was to put such drivers there. There's likely to be a few more control-focused aspeed drivers. For Nuvoton, we definitely expect some similar LPC control drivers. Possibly an LPC snoop driver, similar to aspeed-lpc-snoop. This supports the idea of creating some form of bmc subsystem as suggested above (or in a different thread). > > > -Olof