Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1557637rwb; Tue, 29 Nov 2022 15:34:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf5o0CWdpruua9ozijjEV69+aJHNB1J/iNEcSggdSEkC0RgxbC4+ABM0+R9Y98Rch+CswpMt X-Received: by 2002:a17:90a:5909:b0:214:291f:87b5 with SMTP id k9-20020a17090a590900b00214291f87b5mr61818786pji.115.1669764893060; Tue, 29 Nov 2022 15:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669764893; cv=none; d=google.com; s=arc-20160816; b=TofnJlHqZOYXuwxhtt7QE6z3Q0gdJ4pZrzZxqTMvcNnOfxRJePp0/cHXHaXpA6nIrv 8OSSr3ZjnX9voRCLNv/OwmWcUz4qfqcdhZhBvmUSVxAbT4ZCk+1xlIT4DzTLZSFgM5+4 H1dTzcBTBHkTkkEFzXf6YLTIQiwgCr3CkOTQ/9Br3a2dnEPcQZq4ku80RZFK2e7w+8xb fG4aOMVQ47zmU9Y8x6YlGZdjDEu6fKW1i3I95FvPZ2SL0FzpOuKyJRfjZmGIIoDtdRmg 6DFJtv98cQV4X/jJ4iwsVy4XcP/bjCY4/H90U74a4hjOyJrt8lUyrX+XU9nD6BBvbg1W Rp2w== 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; bh=rUKc4mR/Mfwu7jkjJVB/sckWcE9ThlfDvPuBAfuHKEo=; b=cxhJ+aKiJ6BmuQglqTFFzpbPfI3CpzHTodrQz8DkcLPiTjbBFBiqo0FEdNaqf4t8Op dPpZyaQc/Eo+h6x+Lzcz1WvgpSTcx+JnUiO6Al2k1rcQCYv+6nY5YqdwlL2rz2ESL7bH //9RxIJW03ys8eZcleD2e9xCd0R+11MR+jDa5GJbliB4A61W6xqGg9OYEj93IPJxQvuB YX0IEuLG9n8GRI/H/IzeeZE1W2rlPa3Q2nuiG0uuoVbpRGrp5E6Eer3BXEmEyprGufJ5 NsG8cLiy3djqp0tCQDnKK4D0H+9DFnAHeY7qXUCDgtyPs7k7CuNw2UoyGAZghz0wJfqQ iwxQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a170902759300b001898ee9f703si5584401pll.30.2022.11.29.15.34.38; Tue, 29 Nov 2022 15:34:53 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbiK2X2t (ORCPT + 86 others); Tue, 29 Nov 2022 18:28:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiK2X2m (ORCPT ); Tue, 29 Nov 2022 18:28:42 -0500 Received: from mail-oa1-f48.google.com (mail-oa1-f48.google.com [209.85.160.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979AC31EE1; Tue, 29 Nov 2022 15:28:39 -0800 (PST) Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-142306beb9aso19014679fac.11; Tue, 29 Nov 2022 15:28:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rUKc4mR/Mfwu7jkjJVB/sckWcE9ThlfDvPuBAfuHKEo=; b=ZBkK2YWaNdBmfKD3VYimc/DwPmMzkcuK8+HnzVm/e2/baAKFjrpAN9R8v7IbyKbiL8 5i4WtKz0BaCbHQ6aCUQVcPuUnvgKLAaTPjZKoqyLhqKjOq1R7MhZtH8dGrNawKZAekH9 m5XbXjSrrBYBSKHnk04za1+mQopDT8eaJu06t8rtdV7mJVpwUohQ+6TMfYj3x0qUloNG jjwKWIb1ffTjR8A/mCIy9QhpKJJWrazYUUpZyDBBe9EFksSpOYyfARBt+z3JoY7XAXXt C210nwnzKtGyIFdpmDV2rVNe6HyTVw1E94GwReng4Yb5cl4v4N4Unfz4DeykyrEdN5Yo eaLg== X-Gm-Message-State: ANoB5plbBYIjN9439vIx6gzN9NKpWm84SedogeGgNg024kITjleatmRd 1CpC7XQ9zSvtWQprKd2j0shTncwyKA== X-Received: by 2002:a05:6870:8183:b0:137:5344:7776 with SMTP id k3-20020a056870818300b0013753447776mr31801448oae.208.1669764518884; Tue, 29 Nov 2022 15:28:38 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w12-20020a056830410c00b006619295af60sm15421ott.70.2022.11.29.15.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 15:28:38 -0800 (PST) Received: (nullmailer pid 492448 invoked by uid 1000); Tue, 29 Nov 2022 23:28:37 -0000 Date: Tue, 29 Nov 2022 17:28:37 -0600 From: Rob Herring To: Hector Martin Cc: Krzysztof Kozlowski , Ulf Hansson , "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger , Sven Peter , Alyssa Rosenzweig , Krzysztof Kozlowski , Stephen Boyd , Marc Zyngier , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH v5 2/4] dt-bindings: cpufreq: apple,soc-cpufreq: Add binding for Apple SoC cpufreq Message-ID: <20221129232837.GA432535-robh@kernel.org> References: <20221128142912.16022-1-marcan@marcan.st> <20221128142912.16022-3-marcan@marcan.st> <41c6882a-bff0-378c-edd3-160b54be7c1d@marcan.st> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no 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 Wed, Nov 30, 2022 at 12:17:08AM +0900, Hector Martin wrote: > On 29/11/2022 23.34, Krzysztof Kozlowski wrote: > > On 29/11/2022 15:00, Hector Martin wrote: > >> On 29/11/2022 20.36, Ulf Hansson wrote: > >> Please, let's introspect about this for a moment. Something is deeply > >> broken if people with 25+ years being an arch maintainer can't get a > > > > If arch maintainer sends patches which does not build (make > > dt_binding_check), then what do you exactly expect? Accept them just > > because it is 25+ years of experience or a maintainer? So we have > > difference processes - for beginners code should compile. For > > experienced people, it does not have to build because otherwise they > > will get discouraged? > > I expect the process to not be so confusing and frustrating that a > maintainer with 25+ years of experience gives up. That the bindings > didn't pass the checker is besides the point. People say the Linux > kernel community is hostile to newbies. This issue proves it's not just > newbies, the process is failing even experienced folks. IME, a lack of response is a bigger issue and more frustrating. > On that specific issue, any other functional open source project would > have the binding checks be a CI bot, with a friendly message telling you > what to do to fix it, and it would re-run when you push to the PR again, > which is a *much* lower friction action than sending a whole new patch > series out for review via email (if you don't agree with this, then > you're not the average contributor - the Linux kernel is by far the > scariest major open source project to contribute to, and I think most > people would agree with me on that). We could probably add a $ci_provider job description to do that. In fact, I did try that once[1]. The challenge would be what to run if there's multiple maintainers doing something. Otherwise, it's a maintainer creating their own thing which we have too much of already. > I know Rob has a DT checker bot, but its error output is practically > line noise, I'm not sure what to do there beyond the 'hint' lines I've added. It's kind of how json-schema functions unfortunately. I think it stems from each schema keyword being evaluated independently. > and the error email doesn't even mention the > DT_SCHEMA_FILES= make option (which is the only way to make the check > not take *forever* to run). That's easy enough to add and a specific suggestion I can act on. However, note that the full thing still has to be run because any schema change can affect any other example (which is a large part of why it's slow). > Absolutely nobody is going to look at those > emails without already knowing the intricacies of DT bindings and the > checker and not find them incredibly frustrating. I don't know how else to enable someone not understanding DT bindings nor json-schema to write DT bindings. I get that json-schema is not something kernel developers typically know already. Trust me, the alternatives proposed for a schema over the years would have been much worse. Rob [1] https://lore.kernel.org/all/20181003222715.28667-1-robh@kernel.org/