From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D06CC48BCF for ; Wed, 9 Jun 2021 18:54:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0552961246 for ; Wed, 9 Jun 2021 18:54:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0552961246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PxwHnRvWOzyApdKgXMJWbMLeIDeQD9hSnQ15/aK0emQ=; b=uvUy4dlxAiB0mzUJj8gcA2v3wt jMH7L0C1GgkyVGodl6ltl10PfctPpRPudXdkrpct/4dJybBdlbZS5KYIzauq2ii3Svembdz1FqnCT jV581G2QsaKwnA3zfJ1YqmM9G0+3fVz4kHwWQpz4oO9DC1ay5I05mmJvyXha0El3wR7hA2aUa+kGQ a3q3+URqRxwreUL50cXmmMSqzs57f7kSlrZYFoS5x5DFAbXGZeBpo0mFsIerLOJnNfnzqVCJhjouh Jf6qVRPn9O4vDU/4F/OJ9ZrV6+0iQtj5n79+0JiCrjrGFRUBp6fpLojvDRfbj3ez8JKxw+FYmS68x dueJ/MaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lr3Jy-00FcER-Ao; Wed, 09 Jun 2021 18:52:58 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lr3Jt-00FcD7-PR for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 18:52:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623264771; 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=UJv7aWmnObYZjIRak2zuvQQ+UDBG4ApcHE+EP2bUvao=; b=GJr4rohL7ov7w2kyw7Px4y1AUjlHpwsVGMq9xIUad/6iNI91ADaucs9JDXNEjmFMIYDDD5 RCGYXuEruMiE6f9XkSOUgyy8FYTyPUzbUfDrpUa3Na/6HjSUPNux9dgWSZkhqZY2Nv8q7O d+3d8nZ2TbrJs0uMWdlv/nEuYLHinSQ= Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-15-pLCIasX5Ob-0G8AwgWtcYQ-1; Wed, 09 Jun 2021 14:52:50 -0400 X-MC-Unique: pLCIasX5Ob-0G8AwgWtcYQ-1 Received: by mail-ot1-f71.google.com with SMTP id 59-20020a9d0dc10000b02902a57e382ca1so16896645ots.7 for ; Wed, 09 Jun 2021 11:52:50 -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=UJv7aWmnObYZjIRak2zuvQQ+UDBG4ApcHE+EP2bUvao=; b=czumOszB0zF2k2rRW7xNpGoazBOxP56HwEvWB9EqJ8G9dskdE95mkdaHG7R320wtUR vnwhqnquFckQQKPGK6eiHvmopryR6YIUsNLRavucvOthqKEHZf7Ib7n5U2GW+FEHDHxd GWwLZPPq669DbCq57uxnSm9DMkoyJJ3gPz67VrYlMwU7ewMWzYcj2zxQQ4F0QOzofxqp iOc82CfCQCC3pYHm5OnJngcIXhUMJ+zfkUBIkO4bewneyahjLJEIxekGjjOHJB209iXD B5RtcBkTFF7Dn0UHUFGXL3Q3R4MI5dkPQ8lIWh6HupszWW6ROqIq27dUPxov1gvdjPkt GAIg== X-Gm-Message-State: AOAM530jPvibK+5NsmmrYMqbVDwIPlD273FeJ/44K59mZhzgCHTR6LIl N1q84Wlo8WnFkpQfShuKqbPJSY0g50771renhclRK69l+sya+3qRq9sUmNUXFyH/8R5kOXuRV4Q SWn0uBbTaQtFX4Mc9uFZyT/ehID7fYpy+8IoCinSYx/qCnJ61qwapFTd931Dy1OkCVw+4wmFFo0 bAxKBA8g== X-Received: by 2002:a9d:1b41:: with SMTP id l59mr752438otl.8.1623264769518; Wed, 09 Jun 2021 11:52:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbksmEZVttdsFOTiUH5FxL4Xn997V4wIynWP3Ez8EQZC2AnipQtQmYRnCULF/30XC2+WXccw== X-Received: by 2002:a9d:1b41:: with SMTP id l59mr752409otl.8.1623264769221; Wed, 09 Jun 2021 11:52:49 -0700 (PDT) Received: from localhost.localdomain (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id q26sm117297ood.7.2021.06.09.11.52.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Jun 2021 11:52:48 -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> <2738ee7a-448f-c327-c430-13fb44da45ec@redhat.com> From: Tom Rix Message-ID: Date: Wed, 9 Jun 2021 11:52:44 -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: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210609_115253_969321_6E0858C6 X-CRM114-Status: GOOD ( 25.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 6/9/21 10:13 AM, Greg KH wrote: > On Wed, Jun 09, 2021 at 09:50:39AM -0700, Tom Rix wrote: >> On 6/9/21 9:38 AM, Greg KH wrote: >>> On Wed, Jun 09, 2021 at 08:08:06AM -0700, Tom Rix wrote: >>>> 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. >>> Why does it matter? New stuff can be added to a new dir, why worry >>> about old stuff? What does it hurt? >>> >>>> 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. >>> Why is that a "problem"? >>> >>>> fpga/ layout should be consistent so the Makefile and Kconfig are easier to >>>> maintain. >>> Is it somehow hard to maintain today? Seems pretty trivial to me... >> This change was to help move xrt along. >> >> If you are fine with xrt/, I will drop this patchset. > Who has objected to xrt/ being the only new subdirectory? Maybe just me, but it has been mostly me doing the review. all of my easy comments have been nearly resolved. now I am looking at bigger issues like this, should subdev's move out of fpga/ etc. > > My main complaints here are: > - these patches were not tested > - you renamed kernel modules "accidentally" > - you forgot SPDX lines > - lack of description of why these files being moved was > necessary in the changelog where you moved the files > > Remember, patch 0/X never shows up in changelogs... I will respin and collapse the patches to a single patch with a better commit log. They aren't really useful except as a full change. Testing will be done for dfl. Tom > > You can do better :) > > greg k-h > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel