Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8676587rwi; Tue, 25 Oct 2022 09:27:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4LK1iwIqvZl7VPAo/A6e3eo5UXdWRWkDxu3W9PVDzjv2swwuPZsoT9SxXnF43GO/jS1kkt X-Received: by 2002:a17:907:3ea9:b0:78d:fdf0:88fe with SMTP id hs41-20020a1709073ea900b0078dfdf088femr34590365ejc.667.1666715254165; Tue, 25 Oct 2022 09:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666715254; cv=none; d=google.com; s=arc-20160816; b=ItwQWiMKSaYgQfdJGHGmCciqxdy1pY34q9x2yDvFp/qQtHzNiOfy6ZmsTFSWHruSOr bUMRc1PSFQXnPFbu2nd3spkU+UhUUMj7qVu3bnBEbzPH+uhjbMljvuagQVZ8dTufDBg/ /7FXebRvBGXmRvhxB1HXi1QP7p3rOvntsofEKIWz4jgF7WFcT8wSvKwdCSVvbr2084pj klEgO9Rr6F6rYsx8TkG6VIsd6esNvfe3Yqygqrkl7cWWJlIyCsftTjnsSMUJ4YU1osoN zocBwA1dL/tqy1kS/uf8Vm/avQCNqKXSJL7SD45c8Vg4NEJC9h08S4O79zso/OGiiVie Cjig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=21fm5EgPKmeOayQHxWYMU7Nefc1Ipf9I7LMbzYS7TPI=; b=PA214Lk/Qyhism4nE3COckjkIpohAtboHoOEB3HnGVtWROz2ZBt0A3IhW24z7Gtp4d c+gssJ8BCt04ZVnMiETW0pnwZ52FDV5KxOGYdCqEGeogUju3twKixDGWoYs1NOIPPA+S e67K+s/5ApNFE+Za+J0pIbRsrImasb97aN4j+rKmYgQ6OaLbhH53ALDQ0T3qYR3tA3sd 7EAzujwkiyvAETPeEUHilYj32wWVHMvgOUwO+rI8oyTZtUeC5kGSN/lleE6luw8MQJgN dFk1gyOV/5hef1F7dDPYaBanM8vY8owAmKpZCUdFFPO3lIW+fJDnWoYCciSAhPh4MwVU kTVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fooishbar-org.20210112.gappssmtp.com header.s=20210112 header.b=Qao3n6VB; 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 c4-20020a170906154400b0078ddff4b3absi2789987ejd.423.2022.10.25.09.27.07; Tue, 25 Oct 2022 09:27:34 -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=@fooishbar-org.20210112.gappssmtp.com header.s=20210112 header.b=Qao3n6VB; 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 S230281AbiJYPHH (ORCPT + 99 others); Tue, 25 Oct 2022 11:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbiJYPHF (ORCPT ); Tue, 25 Oct 2022 11:07:05 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3EFEF9725 for ; Tue, 25 Oct 2022 08:07:04 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id m6so8236994qkm.4 for ; Tue, 25 Oct 2022 08:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fooishbar-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=21fm5EgPKmeOayQHxWYMU7Nefc1Ipf9I7LMbzYS7TPI=; b=Qao3n6VBojqDPD+nyuHaNb8aRuC3dHiWWy2AGSGIeYcnvqBmtYGQkw0ZAnJFMbgl3b YXIsxmYnbPg/gkeIi50KEfyRBdnGvB7rOyE6AKwAWbos4tmP+xf33xTqrKYAFctdgjEV 5bJSY6/fZwHsi070+kf0Dnmrd9VA6kpKF5vcsJbaF4KkD+ujQ6HfenyTPpf4q34P817v Lw/cRjg8xI19gsnwTd7/9PilD6/WIP9eNa1DtNk+gWXZdxuCJP9myXKQJQF5gbDxLWVe PS22WiRQZeD4cAN67FUE74f+0buJO7v71DQP6WC4ve5q5Ibyz3V9+9DvZel0/LU50VSx rUZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=21fm5EgPKmeOayQHxWYMU7Nefc1Ipf9I7LMbzYS7TPI=; b=QsIoYFMIDtu7CmV/E+jwISMt43/xPWPyYIsTb7DRU/zeR5Q6KQCvwtpp5bfNnCO/bc OMaOeahAyfgHVM2fyLX75BhNT5mWbVIJ6LolsmTUkT1sgslk6Sf5NRzU5MSOylQeNSEA 8hL+iP5droF9IjFQBwoEaDJYIfbqC0XrvQMyQT9xbEfXgfN41oj12h3aG5QWZhztsd2U UmBm6nw9+EJ4BZiFnRiyTgpLmNtxtOpjCl/3ZtC8pORDicGTxZUjdYg1boy4CvbycZCh LLYpvs1zPvrTA21O9R9t5lKb3YazBFA71yl1cw7yauhrccr6zukK+kbTepmBBhsQhz1n PHKg== X-Gm-Message-State: ACrzQf2eInRO/SxGas91I6LWQQ/ho3jTT3GwkD8xR6Oyf3JQLPDYnz3i vhxwG43Od/23I3EdXvfTmxYsnlKGkg0LQ/4BLLFcAw== X-Received: by 2002:a05:620a:25c8:b0:6ae:be73:86c6 with SMTP id y8-20020a05620a25c800b006aebe7386c6mr25824699qko.531.1666710423705; Tue, 25 Oct 2022 08:07:03 -0700 (PDT) MIME-Version: 1.0 References: <20220829093141.45583-1-tomeu.vizoso@collabora.com> <20220909141528.5090-1-tomeu.vizoso@collabora.com> In-Reply-To: From: Daniel Stone Date: Tue, 25 Oct 2022 16:06:52 +0100 Message-ID: Subject: Re: [PATCH v8] drm: Add initial ci/ subdirectory To: Daniel Vetter Cc: Tomeu Vizoso , David Airlie , Jonathan Corbet , Carlo Caione , Kevin Hilman , Heiko Stuebner , Matthias Brugger , Rob Clark , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, Neil Armstrong , Rob Clark Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 Hi all, On Tue, 25 Oct 2022 at 08:32, Daniel Vetter wrote: > On Fri, 9 Sept 2022 at 19:18, Daniel Stone wrote: > > But equally - and sorry for not jumping on the IRC (?) discussion as I = was in the middle of other stuff when it came up - I'm don't think this is = the right plan. > > > > Mesa having all its CI in-tree makes sense, because merges happen rapid= ly to a single canonical tree. If the scripts need to be changed for whatev= er reason, we can merge something in under an hour and everyone immediately= gets it. DRM is quite different though, given the forest of trees we have = and the long merge paths between them. I worry that merging the CI scripts = in-tree - especially for our initial attempt at it, when we're likely to ne= ed to make quite a lot of changes before it settles down to become a stable= system that works for everyone - is shooting ourselves in the foot by limi= ting our flexibility. > > So the entire "we have multiple trees" is why I want at least the > gitlab-ci.yaml in tree, to force people to collaborate more on one > thing instead of everyone rolling their own fun and hacking stuff up. > And there's still tons of stuff outside in the separate repo, like the > lab status so Linus doesn't get a silly history of lab flapping. > > Also wrt "developers don't get the update right away due to > backmerge/pull delays", that's why integration trees like drm-tip or > linux-next exist. So maybe initially we should make sure the ci > patches go in through drm-misc, to maximize how many people see it. > And even for mesa it's not fully automatic, you still have the rebase > your branch if you picked a bad one for development (but yeah marge > does that if the MR is ready). If you're doing kernel development on a > linear tree instead of an integration tree, you're doing it very > wrong. > > What I think everyone agrees on is that we probably get the split > wrong and need to shuffle some files back&forth, and that's something > we need to warn Linus about I guess. But somewhere we do need a split > between internal and external stuff, and personally I'd like if at > least the pure sw testing (build and virtual stuff) could be all in > upstream. > > > Given that it's currently very dependent on fd.o infrastructure (publis= hed ci-templates, the registry, the specific-tag runners for Collabora/CrOS= DUTs, etc), there isn't much of a portability gain in bringing the scripts= into the tree either. It's a good goal, but not where we are today. > > I don't think there's huge chances for any non-fdo gitlab anytime > soon. Once we get there we might need to figure out how to standardize > the hw lab interfacing, and if we have all the sw targets in upstream > that should help with shuffling stuff around for a hypothetical LF > gitlab CI (or whatever it is). Yep, having talked through things on IRC, I'm happy with where we are; let's give it a go and find out. Acked-by: Daniel Stone Cheers, Daniel