Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp954628iob; Thu, 12 May 2022 08:08:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzz7j01Q5XmtWib5pmUjFM+qAATaD3hOITFCNhTDWQeeojfDOtAgHDFpycVBUy+5i/D7Gb9 X-Received: by 2002:a17:906:dc89:b0:6f4:d3a9:6862 with SMTP id cs9-20020a170906dc8900b006f4d3a96862mr302130ejc.571.1652368086155; Thu, 12 May 2022 08:08:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652368086; cv=none; d=google.com; s=arc-20160816; b=0Eu6td22Cn8TKh8o17EcSjB8Z/BFFt2CcqYRl+qtgU22SzIQL9vqpE4EBQq0+XkiuK Xy8CFr8U9rIYpudZwMOwpwJNI2OqdQ7LVSnfR0Z+moPgSDMpkLn9/gV/viiaTiwVMnbS +ksrPbYu1Uu4vR3SUCUAK/w7ElSJ3IdmQDfxKR7qDVLmr3nHZKL2NaFmx/zxr26mgU0L 69Fu/YZTULTcYeGdkpyoO0sTtknJ2RclCBMGHxunYoo2elczfqA2RadWSKKfMUUoxFrw 8TUxo+bdEr2oV+rAQiUgIkJRMzMA+DSlHVvXMzbDTEAPfMPBWm8Gu3bLObTSzLFl5nM8 yAIA== 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=RnK+iHlohBHk+K+PPu2H+s8rv61aQCy6hHkZXbGO1nI=; b=H2SzJYawvZfrB4I99yyBb9sjCJElmeOBz5g3ngsrmwwWr5vjmio6wSsaJ8cEGi0h6T U/5cPVQLEwrKkyCyo0CZ+NO113P3NrT3oYexbUBjsgyWTzS6VmL3xA06x55WnKkjMeXL pNKAk3efTgspKZXOHQQWLCcOBc2Z4hZuFn/BgQKnkBxbhD+oNYxO0vfrCR+Ln+kCNgAn g9riokpnvcU5hUcTe6mYHHba8OgzOpqPahJqSMBkk6/Wae7W34X6rskzLo0biFtz02ze zhMw2DkaHQCffUs+UBwrwqPufSpjKyd1maUCl1BIZyjIFYaE7zoezHXGvlsVT6wQ/NDD XaXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KSDW7Eax; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc38-20020a17090716a600b006f4cbc841d7si5643301ejc.1005.2022.05.12.08.07.37; Thu, 12 May 2022 08:08:06 -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=@linux-foundation.org header.s=google header.b=KSDW7Eax; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345610AbiEKRda (ORCPT + 99 others); Wed, 11 May 2022 13:33:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345606AbiEKRd2 (ORCPT ); Wed, 11 May 2022 13:33:28 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D4D62317E0 for ; Wed, 11 May 2022 10:33:27 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id z19so3404071edx.9 for ; Wed, 11 May 2022 10:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RnK+iHlohBHk+K+PPu2H+s8rv61aQCy6hHkZXbGO1nI=; b=KSDW7EaxEEAox9ArNl/cG0HEgm3SfZ3GtqPNzdmMU8fD7w0C0oDZs3MEyYZ6yoLdeu yShjYNBWL3FgGR6nQX6mpwU5Yirj2LjWdpRYv8a8UxBup5whzO4smQ6iqzPoBSfjp87S 7RlaOLEm4NKQMZeXbACuJSvVt1Ssh4WSaqYVM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RnK+iHlohBHk+K+PPu2H+s8rv61aQCy6hHkZXbGO1nI=; b=nZgBkqjs4SJouFIQDoX0gGtsmjad+frBq+13dkobyUKgTfNRpCunUB1s5rDnqODHNg lwalhiIttA+Ts55c6wBZoRTVtT2Kfkf844rJ4gfdlTSrP41q0Amoj9+LdYqhAY9HK15q bQPc0FzMDHuEgrOQe6Ow746UwWE6a/XtiZK2oEGmdJcNNv8jT4Ex+W3tf1S1jIbPLGDp 2jjzgGkcFlqk45krR9sAxAqhWTuk99am5XDTzYAeXQaajUBfHeT8c7Dozghn1tIb2K0b a5pbIbBKcToPmEwIQclc+ZAN1nm4uz+63sFTVCGklZdMDMMb1K+wLr/7YD9fNNVIyVZ2 rQ4w== X-Gm-Message-State: AOAM532HswfzrRYXjp1OCi7JMXR7k36QH9odvYeSEysBj5Rfxg7R3EgY F2V6HSsZzqnIrSQldt2S1gW4c6B6kc6BSjo9iYU= X-Received: by 2002:a50:eb05:0:b0:428:9cb3:5cb1 with SMTP id y5-20020a50eb05000000b004289cb35cb1mr18009739edp.344.1652290405627; Wed, 11 May 2022 10:33:25 -0700 (PDT) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com. [209.85.128.51]) by smtp.gmail.com with ESMTPSA id ko21-20020a170907987500b006f3ef214e28sm1214588ejc.142.2022.05.11.10.33.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 May 2022 10:33:24 -0700 (PDT) Received: by mail-wm1-f51.google.com with SMTP id a14-20020a7bc1ce000000b00393fb52a386so3684872wmj.1 for ; Wed, 11 May 2022 10:33:22 -0700 (PDT) X-Received: by 2002:a1c:4c06:0:b0:394:65c4:bd03 with SMTP id z6-20020a1c4c06000000b0039465c4bd03mr6060279wmf.8.1652290402369; Wed, 11 May 2022 10:33:22 -0700 (PDT) MIME-Version: 1.0 References: <20220510070140.45407-1-tomeu.vizoso@collabora.com> <20220510141329.54414-1-tomeu.vizoso@collabora.com> In-Reply-To: From: Linus Torvalds Date: Wed, 11 May 2022 10:33:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Adding CI results to the kernel tree was Re: [RFC v2] drm/msm: Add initial ci/ subdirectory To: Dave Airlie Cc: Tomeu Vizoso , Greg Kroah-Hartman , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Daniel Vetter , Jonathan Corbet , Rob Clark , Sean Paul , Abhinav Kumar , "open list:DOCUMENTATION" , linux-arm-msm , LKML , dri-devel , freedreno Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 Tue, May 10, 2022 at 10:07 PM Dave Airlie wrote: > > > And use it to store expectations about what the drm/msm driver is > > supposed to pass in the IGT test suite. > > I wanted to loop in Linus/Greg to see if there are any issues raised > by adding CI results file to the tree in their minds, or if any other > subsystem has done this already, and it's all fine. > > I think this is a good thing after our Mesa experience, but Mesa has a > lot tighter integration here, so I want to get some more opinions > outside the group. Honestly, my immediate reaction is that I think it might be ok, but (a) are these things going to absolutely balloon over time? (b) should these not be separated out? Those two issues kind of interact. If it's a small and targeted test-suite, by all means keep it in the kernel, but why not make it part of "tools/testing/selftests" But if people expect this to balloon and we end up having megabytes of test output, then I really think it should be a separate git tree. A diffstat like this: > 7 files changed, 791 insertions(+) is not a problem at all. But I get the feeling that this is just the tip of the iceberg, and people will want to not just have the result files, but start adding actual *input* files that may be largely automated stuff and may be tens of megabytes in size. Because the result files on their own aren't really self-contained, and then people will want to keep them in sync with the test-files themselves, and start adding those, and now it *really* is likely very unwieldy. Or if that doesn't happen, and the actual input test files stay in a separate CI repo, and then you end up having random coherency issues with that CI repo, and it all gets to be either horribly messy, or the result files in the kernel end up really stale. So honestly, I personally don't see a good end result here. This particular small patch? *This* one looks fine to me, except I really think tools/testing/selftests/gpu would be a much more logical place for it. But I don't see a way forward that is sane. Can somebody argue otherwise? Linus