Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3811523rwb; Tue, 20 Sep 2022 05:13:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7at18O7yCpTHpx2+5t0+o3FTqPo87+zlSWva2XxmyIGW1VcoY9slgnh4gy4rqfPlXm73K/ X-Received: by 2002:aa7:c990:0:b0:453:fad5:2a30 with SMTP id c16-20020aa7c990000000b00453fad52a30mr9668568edt.309.1663675999586; Tue, 20 Sep 2022 05:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663675999; cv=none; d=google.com; s=arc-20160816; b=yttwRDiKitNQ4CbtOqyZmJaXugQKMn7Bf+0mRCpAO7ICyFdHW/o3Nxto16vHORJTuT jgshma1zOjY06cS7+08r3McKM2e6MWwCrVDBlEcKtAKW9y0v/rqMFp8b0vGBAexuz56n 8frD92XVxVHya1w3JYBhjPMXQduT1qfk5u3YkXCKCShIzhfzn9y5tT23mXu3qfAZqsRk EB5vWxl3TDtGdk1THz3Lw8boueKjFdsUROyYYlTldn0V3UsGaesEf8whABpHGzc4/Rsy EuGyqlNzWKQJ8RT6XmAokChr/9N/PpXT+lCksNCWZzCBANaGUQHEb8JM+Yc4th7gaL97 3U3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/0Ndn+NlDdssGkzqLaRqbOpdIWEheyXaXTlI3yhLY30=; b=V8xAeY5Rz7+2XxmuLI3NBP9u+b+T4fNGMsi2NKEiLk+Hr44k3oBnz2pFsxE6guFCCK ywyfaI5PjTsra/4O1uAvkpmIsTm9i/7fVW/S+l9zx1J+B5U31eYpnmB64f71oPofyf3w YUp7w95ehtV9f6SM7LFSTWjZcNAuNyD6gAKJT5pl9FgOtvVhs1Y8o40QcwnoSUS4LgjY 33JP6Z1iE6IW+JSJr+69pgvH3H8kqluGdbto9hPHyeY8AHRQF5YZcBzIu/C1hbU9SvT3 GXI4i9f0Di2ws1c4Jg7M2QNa1G1L6ir31q2TdtqLbf+XW5R09fQ4H90N700vY7mPy8dl ddwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c6cFS2Od; 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 cw8-20020a056402228800b0045465c35632si1247675edb.255.2022.09.20.05.12.54; Tue, 20 Sep 2022 05:13:19 -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=c6cFS2Od; 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 S230207AbiITLoc (ORCPT + 99 others); Tue, 20 Sep 2022 07:44:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbiITLoE (ORCPT ); Tue, 20 Sep 2022 07:44:04 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564A17435C for ; Tue, 20 Sep 2022 04:43:52 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id f14so3311539lfg.5 for ; Tue, 20 Sep 2022 04:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=/0Ndn+NlDdssGkzqLaRqbOpdIWEheyXaXTlI3yhLY30=; b=c6cFS2OdCtcAaac9snrBgj/g9rqNTclDUaVWthxoYVT6YzoHV42Z9Sk+5aYsIWRfAU 4kAngnc1/q0Y2dWlSkS0JjJ0ayw7dQ4fOjmbhT/IbAhfnx/jP3RqhcnLoxzSidhBVkA+ eTMijuVuTqmrA2yrnxJX8fZOypXGHIqjxXuQIJcZd/A6GAyOVVCNixNr5PglTohNoDXH FTgvn4phqMGQldmfggdUOgR7cPllwj5GUkPDsOqI/1PvdC4SBG2MEJVZigR0GoRMRdWc A6Q2wYFOIi+cl/Yk8cMnApy7As0ucfIITfHDb//g1e79XS8pdHlsUx0o07J14jHn19wc I3qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=/0Ndn+NlDdssGkzqLaRqbOpdIWEheyXaXTlI3yhLY30=; b=aoWqKUUrbMGF1YmAcZfR55U42EDnR5asaZ+JJFTOhTV7N0KADnkBzflsrcTbJhbWyx HLGxGanYmnuIQNil0iVz4foM5n+lUwCnlPCS1Y42pePTTCh1I1ZsmP+uhMeBoDA+rXns 9VRWJ4BrUIlUKV9mHcIeZLEmi7ZL3D7+4wvZ/0dJicJb1yKFgG+KJnrJueppZ5wPjRxk V2EyAN+AWnYFYcUH9eHgzFyEeXJHHiMEboQ+m4kFxUL/bUQPXjww+gVX/UxMqgj9Witb dvVh5kcN9rkCTt7Y1GBrUxE/MA/VnBO3soexhro4Xt8ailbPOhrDGPozl9LPFb9xl6Xe v8bA== X-Gm-Message-State: ACrzQf13FHoy0gWMJMUlaCZjgydPSasYusRujegcOftUjZCkdUaL/624 fBfxdzuasCL9ukNRxbrGpOxjUrOz8b7+NLaUBN2www== X-Received: by 2002:a05:6512:3e10:b0:498:f317:e57e with SMTP id i16-20020a0565123e1000b00498f317e57emr8364693lfv.328.1663674230091; Tue, 20 Sep 2022 04:43:50 -0700 (PDT) MIME-Version: 1.0 References: <20220919221509.1057574-1-bhupesh.sharma@linaro.org> <20220919221509.1057574-2-bhupesh.sharma@linaro.org> <00dd028f-d636-0cda-40ce-01d5addcbec9@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Tue, 20 Sep 2022 17:13:37 +0530 Message-ID: Subject: Re: [PATCH v6 1/4 RESEND] ARM: dts: qcom: Use new compatibles for crypto nodes To: Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, agross@kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, thara.gopinath@gmail.com, devicetree@vger.kernel.org, robh@kernel.org, andersson@kernel.org, bhupesh.linux@gmail.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, Jordan Crouse Content-Type: text/plain; charset="UTF-8" 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_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 Tue, 20 Sept 2022 at 16:46, Krzysztof Kozlowski wrote: > > On 20/09/2022 12:48, Bhupesh Sharma wrote: > > On Tue, 20 Sept 2022 at 15:09, Krzysztof Kozlowski > > wrote: > >> > >> On 20/09/2022 10:57, Bhupesh Sharma wrote: > >>>>> crypto: crypto@8e3a000 { > >>>>> - compatible = "qcom,crypto-v5.1"; > >>>>> + compatible = "qcom,ipq4019-qce"; > >>>> > >>>> There are few issues here: > >>>> 1. Compatible is not documented. > >>> > >>> Its documented here: > >>> https://lore.kernel.org/linux-arm-msm/30756e6f-952f-ccf2-b493-e515ba4f0a64@linaro.org/ > >>> > >>> [as mentioned in the dependency section in the cover letter :)] > >>> > >>>> 2. Compatible is not supported by old kernel - ABI break. > >> > >> You cannot fix this with dependencies/ordering. > >> > >>>> 3. Everything won't be bisectable... > >>> > >>> I think its a question of dependencies b/w the patchsets intended for > >>> separate areas. Let me think more on how, I can resolve it in newer > >>> versions. > >> > >> DTS always goes separately so this also cannot be fixed with ordering or > >> dependencies. However if Bjorn is fine with it, it's good. > > > > Sure, I get your point. SInce I haven't sent out the crypto driver and > > DMA driver subsets yet, let me stop and respin the series with the > > dt-bindings changes clubbed with the crypto driver patches in a single > > patchset. I can keep the DMA and dts patchsets separate and send them > > out separately. > > > > I think that should help maintain the ABI and backward compatibility. > > Please let me know if you think otherwise. > > I actually don't know what's in the drivers, so maybe there is no ABI > break by kernel... but you are changing the compatibles in DTS thus any > other project using them will be still broken. I have sent out the crypto and dt-bindings clubbed together as one patchset in the v7 version (see [1]). [1]. https://lore.kernel.org/linux-arm-msm/20220920114051.1116441-1-bhupesh.sharma@linaro.org/ Thanks, Bhupesh