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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D60E7C47073 for ; Wed, 10 Jan 2024 20:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4yde8R2bqnoE4qEh3xTl4jE0c5Kuoum7Kj8zmTsSaI0=; b=CUS3enx0kjRMr9 wLQLUi2PypjV9nmri92dndzFgygwqVnyvB6tMxpC0hRbSsvnNrmtw8LydipG3OHDHnh4YDmXISOaN Xmv00quQY4RXVOzQbpqybvVAVN/cx6I1ydWMVlTosR+1APIv7y9rRQD1mbTncorFsyQwl9mhksWaP PYcg81Y6TDBJZmAor3ebdc2YqaeojYoB340iGnYilBkFnjiUm5OcUE/SESwFbUlgaDLzuIf9+Pgb6 RamBNoekE8DUg2LFISrzrXBfIioNgzYhLrrExcVVHQbOj9HEc+jB5Hy4qXjNYmdX2zdd9XMJZhLfA LZ7n7mmIdYBlXWcGVfFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNfI5-00E0nj-0Z; Wed, 10 Jan 2024 20:35:09 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNfI1-00E0kV-0V for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 20:35:07 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a28bd9ca247so511512266b.1 for ; Wed, 10 Jan 2024 12:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704918899; x=1705523699; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=cG5TS7jiRBzka4KOCkj5yKF26OcvPSo8/7HLaJO0co4=; b=lnWQQvz9GiUZoissnNXLv9Up/1ySwx7MWwgzwYojNDa42eLXIj9+kXs1caxscg5TwM Y/DH+taSlFR5qv2LqEADl/PYgrCXcfEq8yeZ+of/p1dwxzXvfP/IsgggvrClfFAZkXlw It5h4udCPJT5ySU7acDveithyYiwqYiEKe7bqc/O8LDaDvDOvjU0/4tQxvPubvmhW+Ga cawprE7xGYB3uk4czKK3ueJMWcxrVeW6QwD+NACVZnSDBxGlUF4YauAnkBOZ6MxaAQHa QVHey6V6qYMXN6ZENjwdhxTVstHmvi/lcNlC36lR2tjZYOXa+QGk4OtIBqyMUIdX02jb 4eOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704918899; x=1705523699; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cG5TS7jiRBzka4KOCkj5yKF26OcvPSo8/7HLaJO0co4=; b=BVT/PKHBPHgLnd45++kW9i74CQqBNl+KRp2y1IQfk83oDoaBfMWsaNW+PIaV12rr4i 9yGWzmcCFbwnaa6lwdRSxLlnTmhrZ612Iv+EfXh1taUeqK0T9gW/gT9EUVy7RiNrePoc 65Jl376NDIhqLgUq7QJm9roe7kXzDVpDWz0PZHi16pAb6W/cez45XwONl1aHl9rMC2+8 Z5QRy1u8YloGwsSW+3jvhd8wtYxgYeszqNMxrpzUVih7bvLO+Au2AE6qVo7CZp+Baw4P Hs+iHnD5Dck1M2z9RQFtPfTCkwEsmgM4cDXBXA+RuUC75AvqTOT5KDSvaZ2OfI77PlIo QKbw== X-Gm-Message-State: AOJu0YxlQqS4hQt2VOjSGF6JMu845iAMjqrRDTChPwn9fkguW533an/o sJfan3DMZWiEerHoCQ3Y9OcsEs+Wm6ssBA== X-Google-Smtp-Source: AGHT+IF9i+Vzo/TCYeq0AMp4Pyqei21onU9Y0fXaMJ34FS3LZjw+khtv4F7nGHJr7Mn1p1DXuAnh4g== X-Received: by 2002:a17:907:6d10:b0:a2c:17cb:8f21 with SMTP id sa16-20020a1709076d1000b00a2c17cb8f21mr51828ejc.145.1704918897787; Wed, 10 Jan 2024 12:34:57 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id dt13-20020a170906b78d00b00a26b057df46sm2392480ejb.126.2024.01.10.12.34.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 12:34:56 -0800 (PST) Message-ID: <32d46b64-d4a5-437a-8737-c2d172608559@linaro.org> Date: Wed, 10 Jan 2024 21:34:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 7/8] tpm: tis-i2c: Add more compatible strings To: Guenter Roeck , Ninad Palsule , Conor Dooley Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, johannes.holland@infineon.com, broonie@kernel.org, patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-8-ninad@linux.ibm.com> <20231212-avid-grill-dbead068fac8@spud> <73381bb0-7fa7-4a9e-88df-ab0063058e26@roeck-us.net> <20231212-mouth-choice-40a83caa34ec@spud> <2946fbb1-2a47-4d21-83dc-8e45bf6ba5a9@roeck-us.net> <60c8bbdb-4e08-44f0-88d4-ab164d4843b5@linux.ibm.com> <20240109-pep-coerce-2a86ae88753d@spud> <01974929-dfbf-4989-ba39-369e521827d0@linux.ibm.com> <3d194e84-bf1a-48e4-a376-e5c327c6508d@linaro.org> <2dd37d2b-28da-4e73-9047-61ec5d64bdb5@linux.ibm.com> <385b06e9-1daa-408a-a0ed-7b09d7d539df@linux.ibm.com> <3830c26d-96be-4084-a04d-8edb9ccbab5e@roeck-us.net> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+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yV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <3830c26d-96be-4084-a04d-8edb9ccbab5e@roeck-us.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240110_123505_251738_2711FFD5 X-CRM114-Status: GOOD ( 33.87 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/01/2024 20:06, Guenter Roeck wrote: > On 1/10/24 09:54, Krzysztof Kozlowski wrote: >> On 10/01/2024 16:54, Ninad Palsule wrote: >>> Hello Krzysztof, >>> >>> >>> On 1/10/24 09:37, Krzysztof Kozlowski wrote: >>>> On 10/01/2024 15:31, Ninad Palsule wrote: >>>>> Hello Krzysztof, >>>>> >>>>> >>>>> >>>>>>>>> I have send it as a separate commit. https://lore.kernel.org/linux-kernel/20231214144954.3833998-1-ninad@linux.ibm.com/ >>>>>>>> Why did you do that? It now just adds undocumented compatibles to the >>>>>>>> driver. Please, as Rob requested, work with Lukas on his series to make >>>>>>>> sure that these devices are documented. >>>>>>> I think krzysztof kozlowski suggested to send these patches separately: >>>>>>> https://lore.kernel.org/linux-kernel/1c5ace65-2fd8-4503-b22f-e0f564d1c83f@linaro.org/ >>>>>>> >>>>>>> Did I misunderstood it? Do you guys want me to include that commit again? >>>>>> My comment was in DTS thread under specific DTS patch. How did you >>>>>> figure out it applies to driver and bindings? This does not make sense. >>>>> Sorry for the misunderstanding. Where do you want me to add driver >>>>> patch? Before all DTS patches or after all DTS patches? >>>> Does not matter, why do you insist on combining them with DTS? Drivers >>>> and bindings are going together. DTS better separate, although depending >>>> on the case can be together. >>>> >>> I have combined DTS and Driver because DTS was using compatibility >>> string which is not upstream yet hence I thought it is logical to send >>> it under same patchset. >> >> Sometimes yes, sometimes not. DTS must not go via driver subsystem, so >> sending it in the same patchset has implications on maintainers applying >> it. Some like it, some don't and you will be nagged for combining them. >> > > "DTS must not go via driver subsystem" > > I always thought the guideline was to submit separate _patches_ for dts > and driver changes, but as part of a single series. I didn't know that > there is a rule to submit separate patch _series_. I also didn't know > (and as far as I know no one called me on it) that I am not supposed > to _apply_ dts changes. So far, I typically applied dts changes together > with driver patches after receiving an Acked-by: or Reviewed-by: > from a devicetree maintainer. I did not notice you applying them, but such guideline - DTS must go via respective SoC tree - was always repeated by me and SoC maintainers. Just like gazillion other things probably was not documented... or even if it was documented, it would be so deep among hundreds of other rules nobody would find it. :) > > This exchange suggests that I did it all wrong. Should I reject devicetree > patches submitted as part of a driver patch series going forward ? I propose: just ignore them. The SoC maintainer will pick them up. > Should I not apply dts patches submitted as part of a patch series ? No, please do not apply them. > If so, it would help to have some documentation I can point to to explain > the rationale to submitters (and myself). Also, in that case, how is the Yes, it would. I can try to create something. > synchronization between device tree patches and driver patches supposed > to happen ? There should not be synchronization. Just to remind: we talk about DTS (so also DTSI and DTSO), thus everything being in arch/*/boot/dts/. We do not talk about DT bindings, right? The bindings are obvious (and documented): preferably go via driver subsystem, with fallback/special cases via SoC tree and fallback to Rob. The DTS must be independent from driver changes. If synchronization is needed, it means it is not independent. It happens from time to time, kind of expected exception, with proper justifications. In such case, recommendation is to send DTS for the next kernel release, so after the driver changes hit rc1. > > FWIW, if dts changes are sent as separate series, I don't know how I would > be able to review driver changes/submissions without being copied on the > associated dts changes. People are also encouraged to provide links between them. One lore link is required: the DTS patchset, if sent in parallel, should have a link to the thread with the bindings being reviewed on the list. Of course if bindings are already accepted (in linux-next), then it's not necessary. We all know how to use git grep. Now about your specific question: As a driver subsystem maintainer you are not expected, as a requirement, to review DTS code. You can, you are welcomed, but don't you have already too much stuff to review? Why would like to jump to DTS? If you do, your help is appreciated, though. However think for a sec how would it even work? Imagine we send new driver + bindings + DTS for OMAP in one thread, so you see the DTS for your review. Now 2 months later I send DTS for Qualcomm using that driver. You would never be Cc-ed on this second submission. It wouldn't be even possible: get_maintainers.pl would not print your email. Why would you be expected to be CCed on first DTS to review and not on all others/further ones? This does not make sense, really. BTW, I am not saying here anything new. I was babbling about this every second month since few years. :) Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel