Received: by 10.223.164.202 with SMTP id h10csp4878714wrb; Tue, 21 Nov 2017 00:56:36 -0800 (PST) X-Google-Smtp-Source: AGs4zMYA8werlKr8zuhvxPjfuLsQsJ9r5IvviFDRhPotPzDKO3v0U9oTTgvT3tEjtPujpiyJL5bZ X-Received: by 10.159.204.145 with SMTP id t17mr9493608plo.215.1511254596550; Tue, 21 Nov 2017 00:56:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511254596; cv=none; d=google.com; s=arc-20160816; b=bwXfwKORUxjAh+IH0Dg3UoyMisf4Lsxn80s/N5UmiHBYmq37+rjnqE3UZ8q+EJnyfY hc92QWDgv9Y/o2Ft0cnI174P5iBWFl2KoJl8/kpZ0U7Lytkxnx0NUKfW7670Sh430Rsc rIBk494VYWFu/kiq+Ebzl6UqJNllUmN1TtBqgBbldfkZIL14RW6T5tuv5oq7r9YQh5xU g+Ggdi96l7sozjToIJ2N3uvo8+iPT1eECLoXeCurKZ+cAQBDpOPKmnSf0Igwq/QK+/kz 9QxXS5gQApqsdH22fpnJ0EtjzrtfAhk3SjhiHekC6uoBRdE6GFtaQ8MlYssZjmnnNtx7 pGkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=MPzNpnswDCkAVeSM/Ndhb6akGMfoPyy2lEcyepFjM7M=; b=yEtLGN06+HdpfJdr+vwJUVuJ7zHyqL0Kq2135/BtSv72nrJlf3/o5SmJns1Mm8bB5t 6tklFwpcOsV0YEHWEWQPDAz2uIBk+ZTmi9v4NgfLBl7Sy6BCLcG0yCwg0zNNLvtL1ol4 0DaLUtcnQkLDpWg9905DcZfL0GiNvR2d9tF780o1G58NTdz9H83QNRmq59rnDDrIg7GT xVtJEyfSliik3JJdU6HJB0T7Rax9ySB6EaezpIELPCGPU62EY4jixrSzveko+jLHp7wD 0wwhG2I3nyDbcvgIlRF8yUmhHyNbf0ry9iPX+VOD93WXnz73Y++3u2AWc7qXVDsDWdJU WkQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=ghSPAngR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d62si5119873pga.87.2017.11.21.00.56.25; Tue, 21 Nov 2017 00:56:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=ghSPAngR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751721AbdKUIzu (ORCPT + 72 others); Tue, 21 Nov 2017 03:55:50 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:40818 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751571AbdKUIzr (ORCPT ); Tue, 21 Nov 2017 03:55:47 -0500 Received: by mail-wm0-f42.google.com with SMTP id b189so1601705wmd.5 for ; Tue, 21 Nov 2017 00:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=MPzNpnswDCkAVeSM/Ndhb6akGMfoPyy2lEcyepFjM7M=; b=ghSPAngRbSOH2oIlXQE8c/YE91miaI5Em+wyr5gr2KPEUbStOPSVna3MbObwULcHcJ UeUTZ5/bMBTIKnWMpFYqIKdm8S1UqHb+4vAYDRj4k/1xEEK3HUTY5XEcoU3x1g5c/g8Z 0HYyUSOTQ7wT0PEn2jptZA2nJCfi/3e6wk4oU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=MPzNpnswDCkAVeSM/Ndhb6akGMfoPyy2lEcyepFjM7M=; b=Iyo5ZBgsxthqJVyMMfEJ0GLIbD6qbOjDDic4R/RZAsDAXh8/EflVfmLjAM9gonaFnu 37kOLXYejGvddgcdE3rcF0oWv2rxaRKocesgyUe5Up9n0L1w8xhsVzCltdbQ9L5H2rH4 xcFTlmUhkYezMWMPsaKZsWw9qdWny+Eb1NZzl+VkEEtADkx5hRO/oAVsdzh5w+44iaE+ cusGQaLtKgOgKdOlWmI7eNCOjVm6ltexlw/bosONJm25DVU374us7iPSA+ukDEIzPJ3B oUrelmtBtWDWaskriCph7V/3W2Um+wbfl3LDc8yRw5UotKu+IDcg5a43NxbfrLsLebrT WArA== X-Gm-Message-State: AJaThX4zM/233FSlU5Af04j30dVzMMAr5ITD2QFLwVf/axbHxR8az5CQ emv88TUfd8RS6SWrB3sUFsvfnw== X-Received: by 10.80.135.199 with SMTP id 7mr23219695edz.103.1511254546180; Tue, 21 Nov 2017 00:55:46 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:5635:0:39d2:f87e:2033:9f6]) by smtp.gmail.com with ESMTPSA id b17sm8586029edj.21.2017.11.21.00.55.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Nov 2017 00:55:45 -0800 (PST) Date: Tue, 21 Nov 2017 09:55:43 +0100 From: Daniel Vetter To: Dave Airlie Cc: Emil Velikov , Greg KH , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , ML dri-devel , alexander.levin@verizon.com, "stable@vger.kernel.org" Subject: Re: [Intel-gfx] Autoselect patches for stable (Was: Re: [PATCH AUTOSEL for 4.9 36/56] drm/i915: Fix the level 0 max_wm hack on VLV/CHV) Message-ID: <20171121085543.3jm3zjfump3k6avh@phenom.ffwll.local> Mail-Followup-To: Dave Airlie , Emil Velikov , Greg KH , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , ML dri-devel , alexander.levin@verizon.com, "stable@vger.kernel.org" References: <20171120123931.yuqyjxs4mq2ldoow@phenom.ffwll.local> <20171120131341.3ah2tkoqjbctoauc@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 4.9.0-3-amd64 User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 21, 2017 at 07:39:51AM +1000, Dave Airlie wrote: > On 20 November 2017 at 23:13, Daniel Vetter wrote: > > On Mon, Nov 20, 2017 at 01:39:31PM +0100, Daniel Vetter wrote: > >> On Mon, Nov 20, 2017 at 11:21:52AM +0000, Emil Velikov wrote: > >> > Hi all, > >> > > >> > Since I'm going slightly off-topic, I've tweaked the subject line and > >> > trimmed some of the conversation. > >> > I believe everyone in the CC list might be interested in the > >> > following, yet feel free to adjust. > >> > > >> > Above all, I'd kindly ask everyone to skim through and draw their conclusions. > >> > If the ideas put forward have some value - great, if not - let my email rot. > >> > > >> > On 17 November 2017 at 13:57, Greg KH wrote: > >> > > >> > >> > >> > >> I still have no idea how this autoselect picks up patches that do *not* > >> > >> have cc: stable nor Fixes: from us. What information do you have that we > >> > >> don't for making that call? > >> > > > >> > > I'll let Sasha describe how he's doing this, but in the end, does it > >> > > really matter _how_ it is done, vs. the fact that it seems to at least > >> > > one human reviewer that this is a patch that _should_ be included based > >> > > on the changelog text and the code patch? > >> > > > >> > > By having this review process that Sasha is providing, he's saying > >> > > "Here's a patch that I think might be good for stable, do you object?" > >> > > > >> > > If you do, great, no harm done, all is fine, the patch is dropped. If > >> > > you don't object, just ignore the email and the patch gets merged. > >> > > > >> > > If you don't want any of this to happen for your subsystem at all, then > >> > > also fine, just let us know and we will ignore it entirely. > >> > > > >> > Let me start with saying that I'm handling the releases for Mesa 3D - > >> > the project providing OpenGL, Vulkan and many other userspace graphics > >> > drivers. > >> > I've been doing that for 3 years now, which admittedly is quite a > >> > short time relative to the kernel. > >> > > >> > There is a procedure quite similar to the kernel, with a few > >> > differences - see below for details. > >> > We also autoselect patches, hence my interest in the heuristics > >> > applied for nominating patches ;-) > >> > > >> > That aside, here are some things I've learned from my experience. > >> > Some of those may not be applicable - hope you'll find them useful: > >> > > >> > - Try to reference developers to existing documentation/procedure. > >> > Was just reminded that even long standing developers can forget detail X or Y. > >> > > >> > - CC developers for the important stuff - aka do not CC on each accepted patch. > >> > Accepted patches are merged in pre-release branch and a email with > >> > accepted/deferred/rejected list is sent. > >> > Patches that had conflicts merging, and ones that are rejected have > >> > their author in the CC list. > >> > Rejected patches have brief description + developers are contacted beforehand. > >> > > >> > - Autoselect patches are merged only with the approval from the > >> > respective developers. > >> > IMHO this engages developers into the process, without distracting > >> > them too much. > >> > >> Getting explicit confirmation for autoselected patches sounds like a very > >> good idea to me. We intentionally limit the amount of patches we cc: > >> stable, because we simply don't have the manpower around to support stable > >> fully (i.e. with proper CI and everything). And less backported patches > >> means fewer regressions, which is more important than fixing someone > >> else's bug. > >> > >> Of course our CI is open, so if someone is supremely bored and wants to > >> backport more stuff for drm/i915, they could do that. But atm it doesn't > >> happen, and then having to deal with the fallout is not really great (like > >> I said, we don't really have anyone dedicated, and I much prefer we > >> fix/improve upstream). > >> > >> For the actual products we're shipping we have dedicated teams doing the > >> backports. The upstream stable releases essentially have no value for us > >> from a customer support pov (for drivers, I guess core stuff is an > >> entirely different matter), there's not a single serious customer or > >> bigger user using that. It only costs, by spamming us with mails and bug > >> reports for stuff we didn't even nominate :-) > >> > >> Just my 2 cents here, but I think this perpespective matches with other > >> big drm drivers like amdgpu (I just discussed this exact topic of how > >> upstream stable is useless with Alex). > > > > Just to clarify, this includes non-(directly-)paying customers like community > > distros: Either they track the quarterly releases (of both the kernel and > > userspace) because they care about the latest gpu driver work. Or they > > want LTS and stability uber alles, and in that case being aggressive with > > backporting and increases the regression risk doesn't help either. > > For Fedora, I think using stable would be appreciated. So you don't cover > community distros if you don't do some stable work. > > It follows upstream kernel releases, and we still rarely manage to get an i915 > that worked on 4.x to work without regressions in 4.x+1. I guess I wasn't clear, we do support latest stable and if we know of a regression fix that isn't cc: stable, we nominate it explicitly. That should take care of fedora. But anything beyond latest stable is kinda wishful thinking atm, and even latest stable isn't being vetted by us before the patches show up like we do with -fixes. > The easiest way to avoid doing stable work is to not screw up so often > I suppose, > maybe if we put more effort into that :-P We're getting there I think :-P I think 4.14 is the first release since years that it's on fire. There's still huge gaps in our CI (we don't CI mesa, and ofc we broke it, patch cc: stable is trickling through the systems), but we're getting there. E.g. since about 4 months we now also have chamelium tests in CI that exercise hotplug. Not yet MST hotplug, but at least some hotplug (and ofc it's catching tons of bugs). We'll get to MST eventually, just takes time. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch From 1584665017589473436@xxx Tue Nov 21 08:52:07 +0000 2017 X-GM-THRID: 1584583896347485038 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread