Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9562500imu; Wed, 5 Dec 2018 06:51:09 -0800 (PST) X-Google-Smtp-Source: AFSGD/WUPhtA3RqA7IkWtau0ILhQJrOAX+8IAYZcilTX6wxzi1PRHaPi0roIsY4v7lnxvEAOAT+W X-Received: by 2002:a62:8985:: with SMTP id n5mr24949199pfk.255.1544021469642; Wed, 05 Dec 2018 06:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544021469; cv=none; d=google.com; s=arc-20160816; b=dxk/yv84kKmGrFCS4jl0bgZyxqKDPsCGdHNIHqjifXTpLjRKTkWYGGFRJ35pqJRtjv /pGmUDAxMWoyj8reZiRSl04h1C4EQ2YmxZkUn5Lrk3snjKGnU9j0H8cLf6Dt9uSHvz7k IXUGkgFYuRwuLb98SUpVSLjSvaQRbDQpx62SNZnjtC1h/9DL39/6vA/lHXeA6XG8Yom8 iYu0Kj8UYuGQ7v7xUYxrcjGMYlq+l76R2kJeYN4viUS+LqWfbPovn+/45sDzEWufFdzd UnaayA+D8+U2ExnNNgLmcyvlkGaLG2tJ6emGse/z0rmAZi2kEmXLm4L92IqSwAHbLWJK 4hgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=7sUQHzLKjXtAo4rr75Mu57U3+R24RhkENTMDWupdH7c=; b=DkSPu4X8a6wS/RDgoQ6tgFCE4wCbsquwlW6IHaCts/n1Aq+0QqoQS7k8Dx9j6LHRJa d91ee+7OUPhrTXGKsvQmuLWa8ixiWj9cPWnVy+a6VH0Xdn7eVZ0fZpMbcZgpTpXxHD1m uyqrYlM2P6SpSHrkR++BesWW6u1da2pvF87u+NGd89Zgov+1qD1Gr7h9KnSbBA8NQZy5 PW8kuG/wJhaqQ0lDId89My7e1JgDhEt9eZaXqm0iaLfwDRmt7zauV6eKOB0Ytl2UOgs5 bxEGZwGkRNthd0906mFHh85MvS20RE23IZ0kjHnqt5ewQbboR+YuXpQvJEp7rcRnQR5z Q59A== 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 t13si18714919pga.102.2018.12.05.06.50.54; Wed, 05 Dec 2018 06:51:09 -0800 (PST) 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 S1727309AbeLEOtk (ORCPT + 99 others); Wed, 5 Dec 2018 09:49:40 -0500 Received: from ivanoab6.miniserver.com ([5.153.251.140]:60940 "EHLO www.kot-begemot.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726918AbeLEOtj (ORCPT ); Wed, 5 Dec 2018 09:49:39 -0500 Received: from [192.168.17.6] (helo=smaug.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gUYUC-0006J4-RQ; Wed, 05 Dec 2018 14:49:12 +0000 Received: from wyvern.kot-begemot.co.uk ([192.168.3.72]) by smaug.kot-begemot.co.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gUYUA-0006GB-NJ; Wed, 05 Dec 2018 14:49:12 +0000 Subject: Re: [RFC v3 01/19] kunit: test: add KUnit test runner core To: Arnd Bergmann Cc: "Luis R. Rodriguez" , Brendan Higgins , Lawrence Brakmo , dri-devel , Sasha Levin , linux-kselftest@vger.kernel.org, Shuah Khan , Rob Herring , Frank Rowand , linux-nvdimm@lists.01.org, Richard Weinberger , knut.omang@oracle.com, Kieran Bingham , Joel Stanley , Jeff Dike , "Bird, Timothy" , Kees Cook , linux-um@lists.infradead.org, Steven Rostedt , Julia Lawall , levinsasha928@gmail.com, Dan Williams , kunit-dev@googlegroups.com, gregkh , Linux Kernel Mailing List , Daniel Vetter , Michael Ellerman , Joe Perches , Kevin Hilman References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-2-brendanhiggins@google.com> <20181130031438.GQ4922@garbanzo.do-not-panic.com> From: Anton Ivanov Organization: Cambridge Greys Message-ID: <5bd5581f-f192-4ed0-6f5f-9e1bf9f443e2@cambridgegreys.com> Date: Wed, 5 Dec 2018 14:49:10 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/12/2018 14:45, Arnd Bergmann wrote: > On Wed, Dec 5, 2018 at 2:42 PM Anton Ivanov > wrote: >> On 30/11/2018 03:14, Luis Chamberlain wrote: >>> On Wed, Nov 28, 2018 at 11:36:18AM -0800, Brendan Higgins wrote: >>> Then for the UML stuff, I think if we *really* accept that UML will >>> always be a viable option we should probably consider now throwing these >>> things under drivers/platform/uml/. This follows the pattern of arch >>> specific drivers. Whether or not we end up with a complete userspace >> UML platform drivers predate that and are under arch/um/drivers/ >> >> We should either keep to current convention or consider relocating the >> existing ones - having things spread in different places around the tree >> is not good in the long run (UML already has a few of those under the >> x86 tree, let's not increase the number). > I don't mind the current location much, but if we move drivers, we should > move the into the appropriate subsystems based on what they do, rather > than having a new place with a mix of things. > > E.g. the tty drivers should all be in drivers/tty/ and the network drivers in > drivers/net. To paraphrase what you said above: having tty drivers spread in > different places around the tree is not good in the long run. We have long > ago moved from organizing drivers by bus interface to organizing drivers > by class, uml and drivers/platform are just exceptions to this rule. There are some issues with that because uml drivers have bits of what is effectively host side of the hypervisor as a part of them. IMHO, having that in driver/X is not very appropriate. So at least the *_user.c and *_user.h bits have to go (or stay) somewhere else Brgds, -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661