Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2090170rdg; Sun, 13 Aug 2023 08:49:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENe7SP+5UDFNiaMeH6thvWC2ox7OPM0f+qZlzhDiiM/BsNpwKIjo/JOkVOp6dJQThPH7Wi X-Received: by 2002:a17:902:ee94:b0:1bc:1df2:4c07 with SMTP id a20-20020a170902ee9400b001bc1df24c07mr6449578pld.63.1691941795457; Sun, 13 Aug 2023 08:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691941795; cv=none; d=google.com; s=arc-20160816; b=foQIfdXGxs9LVM6PxGlg+E9tzZo7sW88LFDh9NR3c4EAQqBITbwM+LQbZKS3IV/idp DKEsm4BQ1NLL4Qx2FfTU5vjUgSmvB0ntvEpfA9N9fr2j9sMLdTvnB5FOlloKjMYXvxIh XGuwH9VT0MgG6M0Xidq7GIDooui+Fix0nT6Nkbfc0mQ606PLRwxrXiKmNgjkOzPLAMG/ px9pIPOkqUa3rfDmyUrTftIAESR/fmeMarxTchqcR0vgzuAdw31g4LDm8bpZ9TloX2MC X6fSHuXwWLFSJgSBoCoKKFoDcuieT/wF9xoIIr4/m3U9KLOuWtKKvQ4EWIqunLDcjReW kB+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=D6GK4r3g2pMNaj1/iMHxZq3AeQCZgFzlhT3OyuIGXJg=; fh=AunyflK20h7X7WIgvgqFIyJ0eHXWu12l2PvogNiyj5E=; b=vGbXXmM0h7LACqPlb+l8YCwUPCVTdQPpiokfToIhpkDmvNxyrLsXSg8DvfBaQzIBXA 1sriJfrsP5UL9HNSvColkp6Fsynyp0XXJNhW42xDARNAQaP6egoaaH4PAHaz3U7YBVyT uf0cw7qsJyq2gmNXUAhlf8IsH3u20GNiowAwOJgMEt2/QbLj5c+OtkfAmYcJXqn3kv6e ztoypzHmOCHliC4zenko0ffp3OWSgLAbAL7gQnLnqDN3UNFXjW9x9pHVmKQohOTBxJ+z qH5F1Y2OzGyorBA82FRMycTKjWIMqnZLneQghKI12EMPXaH4hN+y91/nDY7DO+35dncC nFvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="uRaBb/Aj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a170902c61300b001bb7b0a67cfsi6297539plr.31.2023.08.13.08.49.41; Sun, 13 Aug 2023 08:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="uRaBb/Aj"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230369AbjHMPY6 (ORCPT + 99 others); Sun, 13 Aug 2023 11:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229578AbjHMPY5 (ORCPT ); Sun, 13 Aug 2023 11:24:57 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AF97E0; Sun, 13 Aug 2023 08:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=D6GK4r3g2pMNaj1/iMHxZq3AeQCZgFzlhT3OyuIGXJg=; b=uRaBb/AjtZ/XDK/WInjRB3JU3o 6m1Wl7WsYf6RGEtONjYbrd/7QyYu6c5BD4/xibXyQvgO7IhbBfjPnsfsQZcS6PI3yCfuYtqEjCSDc ila7+dAYUp4jG02OEh/FfPskHSsqoYuKlBRhuu983PnIRovYNRIDZ+tSL4tRFKt2iPc8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qVCxZ-003yRr-Jv; Sun, 13 Aug 2023 17:24:53 +0200 Date: Sun, 13 Aug 2023 17:24:53 +0200 From: Andrew Lunn To: Keguang Zhang Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Thomas Bogendoerfer , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Serge Semin , Kelvin Zhang Subject: Re: [PATCH 0/5] Move Loongson1 MAC arch-code to the driver dir Message-ID: <2ed268fd-113a-4da0-8f33-04d618053dca@lunn.ch> References: <20230812151135.1028780-1-keguang.zhang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230812151135.1028780-1-keguang.zhang@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 12, 2023 at 11:11:30PM +0800, Keguang Zhang wrote: > From: Kelvin Zhang > > In order to convert Loongson1 MAC platform devices to the devicetree > nodes, Loongson1 MAC arch-code should be moved to the driver dir. > > In other words, this patchset is a preparation for converting > Loongson1 platform devices to devicetree. It is a long time since i converted an ARM system from platform data to DT. But what we tended to do was to allow both for a period of time. Does a system using platform data still work after this change? The first patch seems to delete a lot of code, not just move it around. Can you restructure this patchset to add the glue layer and DT binding in parallel with platform data. Then have a patchset which convert all in tree machines to using DT. And then a patchset, submitted in maybe 6 months time, to remove support for platform data. Andrew