Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5036069rwb; Wed, 21 Sep 2022 02:10:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yhzAsGLDNm81+e3YIeeQqFtUplAooOjOHEGIgccdHYMhnYmHKW9yLjxrpeSN4+Wy68ccA X-Received: by 2002:a17:90a:ba8f:b0:202:f6b1:eebc with SMTP id t15-20020a17090aba8f00b00202f6b1eebcmr8534859pjr.241.1663751416351; Wed, 21 Sep 2022 02:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663751416; cv=none; d=google.com; s=arc-20160816; b=Zo9bUIiq4zlrJTLGpDzyr68A+M/pwnRZR4orscYQ9VB+mjtJ5n3Vk1Q7OKSpCz+I5W 3I1TzwjE1qBowgPzPBJYbwhjHo1pcpOVh50yt/SnPDWDsXgxa1Rs+olAQh51cqHwRrwo Ils/xjNtWzVPFmeS2yB4IjY9LoLRCIjEOqx06D42cQfJn6F1Fw8X1zkHTiaX300PcvFy riNUmxzaTimhSA+OQcoNkHGXtKja8Gw0XQouqEvalAKXZ1bYXUaN62Svs81KYtkDL8Qe ZNkX1dqlHB9O+aP5oOVd1bS7RMsZhcRQB5sLcVqqhw0HtEGlQpPjggxv61MwDA/2DsZV 4UPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kllsaU+NrhBActC8/Ko962C+vx5weLH497C4j1ASf9o=; b=a1R55X2dY5iohveJ6uzxvpL3mh/dkVp7WvszxxI2AHEJl3WmbQYkJ98214yMu8Pvox i2+M0Vb1fv0MUxpwxehqbn46bP0T92hu+2Mx2yKs12QD1DGkCenslSMZDWg8g+hXZrK/ RT+FQXOFM9ezGAMr+wemrDR40LkGb+TzePoCmKkXR9D4wULuLYxSr/jqP90wPcfo39Lz yZIizCy4nUgpOtP4D2hsEZAR6qNxYYzmkCwZkXwrGRHP2nLO1pq9SzrEbvElfnhls44+ i6vh/1ylNT+13pWYnmNcbcnTSsEEspBqRhJDhMT28HD3k3oAYNp6UO1XmeRftSHuFe1z S60w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zWLXZoJJ; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c21-20020a17090a8d1500b001f2ef2c840dsi2072946pjo.18.2022.09.21.02.10.04; Wed, 21 Sep 2022 02:10:16 -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=@linaro.org header.s=google header.b=zWLXZoJJ; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229686AbiIUI0n (ORCPT + 99 others); Wed, 21 Sep 2022 04:26:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229640AbiIUI0O (ORCPT ); Wed, 21 Sep 2022 04:26:14 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30D48A1ED for ; Wed, 21 Sep 2022 01:25:34 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id f9so7967503lfr.3 for ; Wed, 21 Sep 2022 01:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=kllsaU+NrhBActC8/Ko962C+vx5weLH497C4j1ASf9o=; b=zWLXZoJJQ3xhYU/XcWK2I428YuQvun/7UY+WRs0+BYAAZKcmybbhZqBOE3OweGuGY4 1XHSKLHuXqUa9vJU7EoRVjf9weaO9bwDxbR3jMAzcRsqzCe8qMpDLnUSxHDMrsoiM01z Uau16EpBeQDeVz+urQlXrcatyvzv1bY/dsJyps3utYxS4jFm0Faj51cwy8sVz9MHfaTA pbvvzGCEkjH0bnsanues36FdO9hFUzPnn21WWOoJOI1RIq3epBujjl+cxwKdvjPxtwQa RmKNYIH4DnY8lCDYpdPGxJrdJMPmA8tht2L7GRe0YhG/CwAjwGfGjNEQYVuRL/VR/Dhd io1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=kllsaU+NrhBActC8/Ko962C+vx5weLH497C4j1ASf9o=; b=bP2fhW7niOqB/9xzDSPJKgEaTXKgYKQSsQlfLGUIDa18j9NyLWzJpo7dGPQ3ZH1XKe glwmad2Wm4l+0u7QU+loXpNvg3rMM20EHtyO/8E7MmLSmeAt8QIKZqAOfLCk/PBX+sOk qXV6Y7VYPefQhsSW9ekVFXjKs+y3hLLs6y3xf/i2bgUCdBuvBRkSldGXkrWoZqbzqWiR UAqpwo5d7logHl8pBBppEIr6XuX5VzLMAS5ubIQFWuZrYtXoPi3KU4qi9IOMd9wJMq8/ nWUiftpDt3NioyOq1VPfjWH4qF1xb/p9cTW+96ZtepXmwPE2gOkBIkN1HBzDd+bsYcPc sK7Q== X-Gm-Message-State: ACrzQf1M1B5HR0t8XRKT1JPDC9pi7imcvdICTG/n6GA8bcgfEDYNyqsa NOEqxadfbypNXdiR39HJBvYt7A== X-Received: by 2002:a05:6512:6c8:b0:49a:1765:335d with SMTP id u8-20020a05651206c800b0049a1765335dmr9283076lff.29.1663748732570; Wed, 21 Sep 2022 01:25:32 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v18-20020a2ea612000000b0026c4113c150sm329526ljp.111.2022.09.21.01.25.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 01:25:31 -0700 (PDT) Message-ID: <7edc0445-c5d4-64a7-0261-f9db9b10158e@linaro.org> Date: Wed, 21 Sep 2022 10:25:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [RFC V2 PATCH 2/3] dt-bindings: net: xilinx_axienet: Introduce dmaengine binding support Content-Language: en-US To: "Pandey, Radhey Shyam" , "Gaddam, Sarath Babu Naidu" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "linux@armlinux.org.uk" Cc: "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Simek, Michal" , "Sarangi, Anirudha" , "Katakam, Harini" , "git@xilinx.com" , "git (AMD-Xilinx)" References: <20220920055703.13246-1-sarath.babu.naidu.gaddam@amd.com> <20220920055703.13246-3-sarath.babu.naidu.gaddam@amd.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 21/09/2022 10:23, Pandey, Radhey Shyam wrote: >>> required: >>> - compatible >>> - interrupts >>> - reg >>> - xlnx,rxmem >>> - phy-handle >>> + - dmas >>> + - dma-names >>> >>> additionalProperties: false >>> >>> @@ -132,11 +137,13 @@ examples: >>> axi_ethernet_eth: ethernet@40c00000 { >>> compatible = "xlnx,axi-ethernet-1.00.a"; >>> interrupt-parent = <µblaze_0_axi_intc>; >>> - interrupts = <2>, <0>, <1>; >>> + interrupts = <1>; >> >> This looks like an ABI break. How do you handle old DTS? Oh wait... you do >> not handle it at all. > > Yes, this is anticipated ABI break due to major changes in axiethernet > driver while adopting to dmaengine framework. Same is highlighted > in commit description - "DT changes are not backward compatible > due to major driver restructuring/cleanup done in adopting the > dmaengine framework". > > Some background - Factor out AXI DMA code into separate driver was > a TODO item (mentioned in driver changelog) and is being done as > part of this series. The DMA code is removed from axiethernet driver > and ethernet driver now make use of dmaengine framework to > communicate with AXIDMA IP. > > When DMA code is removed from axiethernet driver there is limitation > to support legacy DMA resources binding. One option is to inform > user to switch to new binding when old DTS is detected? (and at some > point we have to make this transition and remove dma code). If you keep ABI non-broken, such message is a good idea. > Please let us know if there are any other alternative to consider? You just cannot break ABI just because you want to refactor some code in driver. Best regards, Krzysztof