Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5096255pxj; Wed, 9 Jun 2021 09:04:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqwsp8fikqTq5S/4/t1yiLFSfDhFL58cgjksio6ngQICWKBkr/z0KxPiIXoY4X4zCr9bN8 X-Received: by 2002:a05:6402:128d:: with SMTP id w13mr191288edv.38.1623254647952; Wed, 09 Jun 2021 09:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623254647; cv=none; d=google.com; s=arc-20160816; b=aDoqU9aTo+xcheg4UJneNzVJQOM+3xVTMRkxV/hRCmwixYi0SXM3ocVrXxzfF5TEo3 n/r77G9z335IdkeDtyAVZAU9S+W3ZxPHqGnGo1uUTbiFeoj7ap2UcOoCkqqA/y7tMUd4 I0dappTXyZQoo0Ry8XtuxdP8lcTbak1SOpXEk36MNdyWiJ6+PP2LZYTi7G9L0vZ6dZKO 7kOCof7NfoUVDGsrGVVe+VOR/o3QxKcVapVlEh7sYIDAIdli2gn4Ylz+1IJ0sDK8agyL 6g87rFGBmI1DlwbqjbnFzUrEG/NaZl8AmvKeeQWhpXbQ6QYIlA1jlQZqDWdrICuDKBYa /NjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=3petPtHlsPDryAINfA1PFiWj/Uqj+GdPUr7vulKPiao=; b=uictplKSQz1bTRhOzXJn8vfN/AQn6o4Nfxk19VheokipqHRuCpeyjzZofdQq5pYMos hfO3imtMCzbEZJqgSt2xPxzvE+2pLiKy/8isIr4pA2g44dgiG089q0nENdLty6hKhZU9 6DT4Lrb00mK2G4i2sn/+qmqqrETEYVAGoRrCq9jOdf576l6luPiBz1AODCOdtROd8I7b RtyzFIY7PGJyK1SNY0F72+SajSqNoNwDrOGo1SpND4UkxwVsvj1UIhVa94aH6+fiA/Um kNKbCUtQI50h/BuejOb3jiZNeg/O+O13pqbww33AL34ZU/yYpBV6b+YoJGpg6VbjzOWd a/Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dNlqVUQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c25si153683ejj.528.2021.06.09.09.03.39; Wed, 09 Jun 2021 09:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dNlqVUQf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234047AbhFIPKL (ORCPT + 99 others); Wed, 9 Jun 2021 11:10:11 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:45161 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231389AbhFIPKI (ORCPT ); Wed, 9 Jun 2021 11:10:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623251293; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3petPtHlsPDryAINfA1PFiWj/Uqj+GdPUr7vulKPiao=; b=dNlqVUQf9AnOGAA9f2VxFNybQLhZPLgNQs8VS1LUCl1UDGEzyy8D5FRvVlOmewIlYdk3/T 9Q0jAqSCXx5S9HoGx/N53Z5uZ4rORui/YGT0Iey6cYRT48LCHycRb8GvrA6Odw6bX1wWrj iRvBD3Mgd/QgrN+8/nW7FuMwfbaJ2qQ= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-30-jtJ9SVRjMVa80ggQOyuoDQ-1; Wed, 09 Jun 2021 11:08:12 -0400 X-MC-Unique: jtJ9SVRjMVa80ggQOyuoDQ-1 Received: by mail-oo1-f69.google.com with SMTP id 3-20020a4a03030000b029024950bdb69dso10617697ooi.3 for ; Wed, 09 Jun 2021 08:08:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=3petPtHlsPDryAINfA1PFiWj/Uqj+GdPUr7vulKPiao=; b=MAjg3ALHn/PnwvY5t20st4HG4sVR4KhEGlJfqFNChx6L+L8KSIEZpEGjYnUJqFNZsk hQrDNx5tjicMLePmBTx++CajchG6npiNT5WUYu8xln+9jKAL65htw6VyTt4xdckGW2sr dX6hNsV9uHiHQ4oIbuFJnE73zYt8pGGso6nW8YdF00zl7ncYZwpaN7v7K34VyxvENXI9 9WzhmEnAinQHDAnhn6CnflIz1nBRT7sVtVFjXgMXY+nSBneCYH8doJPMMASdBGZ/thnY ArTxEoyWPp6Wzchjg7qsG9ldBgQeLRxSys2dHwW/vX3GeWgqgfxDoGrBhNcH1F92jupg l3Eg== X-Gm-Message-State: AOAM530FMPiF4mRhEgipxYtyco5QPK7j+CJVfZz9G2XFvYFpv53XVrC9 hBo9JVN9MfyMuXdmdYyxRL0QBcpCBpeIKYxS3w7RiInTsQjKWHNO7S8iwa+IZeaLAsVbm7HooaV iQge6bIYXa8HVUYdq6KjM7wZ8 X-Received: by 2002:a05:6808:9b2:: with SMTP id e18mr7077831oig.109.1623251289112; Wed, 09 Jun 2021 08:08:09 -0700 (PDT) X-Received: by 2002:a05:6808:9b2:: with SMTP id e18mr7077813oig.109.1623251288875; Wed, 09 Jun 2021 08:08:08 -0700 (PDT) Received: from localhost.localdomain (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id t21sm45440otd.35.2021.06.09.08.08.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Jun 2021 08:08:08 -0700 (PDT) Subject: Re: [PATCH v2 0/4] fpga: reorganize to subdirs To: Greg KH Cc: mdf@kernel.org, hao.wu@intel.com, michal.simek@xilinx.com, nava.manne@xilinx.com, dinguyen@kernel.org, krzysztof.kozlowski@canonical.com, yilun.xu@intel.com, arnd@arndb.de, fpacheco@redhat.com, richard.gong@intel.com, luca@lucaceresoli.net, linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20210609142208.3085451-1-trix@redhat.com> From: Tom Rix Message-ID: <2738ee7a-448f-c327-c430-13fb44da45ec@redhat.com> Date: Wed, 9 Jun 2021 08:08:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/9/21 7:53 AM, Greg KH wrote: > On Wed, Jun 09, 2021 at 07:22:03AM -0700, trix@redhat.com wrote: >> From: Tom Rix >> >> The incoming xrt patchset has a toplevel subdir xrt/ >> The current fpga/ uses a single dir with filename prefixes to subdivide owners >> For consistency, there should be only one way to organize the fpga/ dir. >> Because the subdir model scales better, refactor to use it. >> The discussion wrt xrt is here: >> https://lore.kernel.org/linux-fpga/68e85a4f-4a10-1ff9-0443-aa565878c855@redhat.com/ >> >> Follow drivers/net/ethernet/ which has control configs >> NET_VENDOR_BLA that map to drivers/net/ethernet/bla >> Since fpgas do not have many vendors, drop the 'VENDOR' and use >> FPGA_BLA. >> >> There are several new subdirs >> altera/ >> dfl/ >> lattice/ >> xilinx/ >> >> Each subdir has a Kconfig that has a new/reused >> >> if FPGA_BLA >> ... existing configs ... >> endif FPGA_BLA >> >> Which is sourced into the main fpga/Kconfig >> >> Each subdir has a Makefile whose transversal is controlled in the >> fpga/Makefile by >> >> obj-$(CONFIG_FPGA_BLA) += bla/ >> >> Some cleanup to arrange thing alphabetically and make fpga/Makefile's >> whitespace look more like net/'s >> >> Changes from >> v1 >> Drop renaming files >> Cleanup makefiles > You can rename the files, you just can not rename the .ko objects > without everyone knowing what you are doing and you trying to bury it in > the middle of a differently described patch. > > If you want to do that, do you? I don't really understand why you want > to move things around right now other than "we have 40 files in one > directory, ick!". I am trying to resolve the layout inconsistency between what we have and what the xrt patchset does. The big issue is the files vs dirs. Over specified filenames is secondary, so I dropped them. 40 files in one dir is itself not a problem. having 40 files and an xrt/ is. fpga/ layout should be consistent so the Makefile and Kconfig are easier to maintain. My preference is for subdir's. Tom > > greg k-h >