Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3389461yba; Mon, 29 Apr 2019 01:08:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqwoOTHSWy/7+QLAmj7/v6HQ7T7xA7mL7iv50lWlriDBDq1RJxu3hyCcde4BnQD/qGnZyH X-Received: by 2002:a17:902:7294:: with SMTP id d20mr13949171pll.300.1556525337674; Mon, 29 Apr 2019 01:08:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556525337; cv=none; d=google.com; s=arc-20160816; b=yJ1XT8c1+qS8o55Cvsj5uxqjAYqFhXK+7bbgUOxZnVTUK1YXRalFqUwJG8mWXzlnhd VnBwhmr+omy/MTZ2jRbZ800Mx3sPu7tmOvzxAkyHTNmALPij9doguMdJlaOPU+TESszx o+v91nnHBFz+ynfWYP9CQIRlWgWsCQFdIH+PAajZb9AlXKeMCAup94/bP3pV52QcojjT KriLM6Gi8u3UqAKDd9Hs4+nVC+N9Us5hi3xQr4bYcZA90slpgobLq85lvUL0lsjffWKk vr8yH/swOJZLVnTivuv2tQzcSq8hZ89z3zcPmj3ljIJft2b7VfxktLiyVIJgbVhDQLAY m9tg== 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; bh=uYi43Lpb2eQY3E2rRqP8+5ua3fkv4oukhSpEYQDHTQo=; b=CAc3M9S6rBApVtt8e0tWHBzGKjAzy0Wrj8mcdxwv4Bob91E+ucbzwJnO2UO7J+6a8U RIi6bDodn03N6VB2lXYiNx+5BokQP7r8kCZMv8ZdQrtFUYsCmm7EOhrXLodOj+Omqvdi G+PkztRoLXzzoH1i85ZpReycqfcEcJQXKsMArGUtrbgQ4lS0lwYyQPPVsYzo4B0wvy3w BeX9/3IcdoMIpVOgbrjvgeibA6W28ACMut2oIkV0S5e+kdzkh8/XDwVKWTqoba4KKy4k e0kqveqHsj9F3FoVLHCFyVTC7CGdNYQxuHzGqsL3ub8YbxMeiyPgD3d3VlX1a7qpIJJR SndQ== 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 a1si17889116pgh.517.2019.04.29.01.08.42; Mon, 29 Apr 2019 01:08:57 -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 S1727521AbfD2IHq (ORCPT + 99 others); Mon, 29 Apr 2019 04:07:46 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:32847 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727362AbfD2IHp (ORCPT ); Mon, 29 Apr 2019 04:07:45 -0400 Received: by mail-qt1-f196.google.com with SMTP id g7so10974063qtc.0 for ; Mon, 29 Apr 2019 01:07:44 -0700 (PDT) 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=uYi43Lpb2eQY3E2rRqP8+5ua3fkv4oukhSpEYQDHTQo=; b=pl32xDab23kz56oaQErTqkD2ZEty1i4MtzuG8my9lixxFARfIf9OFb70gGjB9QGnTa WhAziKQJhTsTxQO82mkDQ/xaw2umi26+nv/R5Dhqw4ZdFQCzDpXkKIZ6QOgrBXaWA0CF bfjpEN6y5F5aMuPuf9u+7kn39TV2U0Waw7unMVjx4WXyGNqDdlWpI+76OhbPIdA/2VHe jF6j6srAH6pyO4dkcJ5W+ApvD61wEx+U+xXTWE26Hfg/Zb8upa+Gnz4yJX8snv+znNgp u+xvxBumoq4pWKxZq7RhaA02AU/etOcQGHk3YyeA5NAOwFr76Ni5SGCJd+HWcMLBgHqg /7yw== X-Gm-Message-State: APjAAAX8eyn03Oj6Me5d0K5qVMo5fQZ1x0h7L3G2nmQzPFffEh6HluZH Y+Qmi2+1ukklIAen8F0Di5RqcqbECyiilMdAgjU= X-Received: by 2002:ac8:8cd:: with SMTP id y13mr36383548qth.96.1556525264286; Mon, 29 Apr 2019 01:07:44 -0700 (PDT) MIME-Version: 1.0 References: <20190423142629.120717-1-venture@google.com> <20190425172549.GA12376@kroah.com> In-Reply-To: From: Arnd Bergmann Date: Mon, 29 Apr 2019 10:07:28 +0200 Message-ID: Subject: Re: [PATCH v2] soc: add aspeed folder and misc drivers To: Joel Stanley Cc: Greg KH , Patrick Venture , 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 9:49 AM Joel Stanley wrote: > > On Thu, 25 Apr 2019 at 17:25, 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. > > I was on the fence about this. The downside of moving drivers out of > drivers/misc is it allows SoCs to hide little drivers away from > scrutiny, when in fact they could be sharing a common userspace API > with other BMCs. (Keep an eye out for the coming Nuvoton "bios post > code" driver which is very similar to > drivers/misc/aspeed-lpc-snoop.c). Things like this should usually find a different home: drivers/misc tends to be for one-of-a-kind stuff with a user interface, not for things where you have multiple chips doing the same thing. If you think there are going to be additional cases where you have more than one bmc in need of a user interface for the same functionality, we could introduce a drivers/bmc/ subsystem and have a set of user interfaces backed by a set of chip specific drivers. > However, in the effort to move away from BMC that are full of shell > scripts that bash on /dev/mem, we are going to see a collection of > small, very SoC specific, drivers and it doesn't make sense to clutter > up drivers/misc. > > Acked-by: Joel Stanley > > The p2a driver has been merged by Greg. We should move that one over > too. Arnd, can you advise Patrick on how to proceed? We could have him > spin a v3 that includes the p2a driver, but it would depend on Greg's > char-misc-next branch. I don't think there is a rush here, so let's do that for the following merge window. Arnd