From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751409AbdCMGuK (ORCPT ); Mon, 13 Mar 2017 02:50:10 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:36753 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbdCMGuB (ORCPT ); Mon, 13 Mar 2017 02:50:01 -0400 MIME-Version: 1.0 X-Originating-IP: [2a02:168:56c9:0:decc:6e78:7e96:b452] In-Reply-To: <20170312215215.GA30510@kroah.com> References: <20170312194440.GA32007@kroah.com> <20170312215215.GA30510@kroah.com> From: Daniel Vetter Date: Mon, 13 Mar 2017 07:49:59 +0100 X-Google-Sender-Auth: __0s8gWDGFuljId2he3rG6IyE9s Message-ID: Subject: Re: [Intel-gfx] The i915 stable patch marking is totally broken To: Greg KH Cc: Dave Airlie , Daniel Vetter , "intel-gfx@lists.freedesktop.org" , stable , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 12, 2017 at 10:52 PM, Greg KH wrote: > Why don't the maintainers know which tree to put them in when they are > submitted? As an example, if I get a patch that needs to go to Linus, I > put it in my usb-linus branch, and when it hits a -rc release, I then > merge that -rc back into my usb-next branch. So I end up with about 2-3 > merges to -rc every release, which isn't bad and doesn't cause any > duplication issues. > > Seems that most other subsystems also do this as well. We do know (mostly) where a patch should go to, and we do push a backmerge every 1-2 weeks or so, too. The reason why we've started to require that every bugfix for drm/i915 land in -next first is fairly similar to why you insist every bugfix must be in Linus' tree: Without that patches get lost. Well, they don't get lost intentionally (they're all still in the git log for us due to backmerges), but we did lose some in the horrible resulting conflicts. Insisting that we have them in our -next branch means the backmerges can be resolved with git merge -x ours. And in the end this is how it's done byalmost everyone: You push to master and cherry-pick over to stable/release branches. Most projects don't apply bugfixes to the stable branch and then backmerge to their master branch, because it would result in pure chaos. You don't do that either for stable kernel. It's just that for most subsystems the resulting conflict gallore of using backmerges is fairly manageable (it's getting into the no-fun territory with drm core too, but still ok), whereas drm/i915 is just too much, moving too fast, to make that a working model. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch