Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp953791iob; Thu, 28 Apr 2022 14:50:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSpwP0cz2gbLmb7biV/VdXVJkUMcPiWbrO+kwRrL6O39SfUS45FFHTC3rRcGxJdUr5gi5K X-Received: by 2002:a2e:4611:0:b0:249:586d:8e3 with SMTP id t17-20020a2e4611000000b00249586d08e3mr22513956lja.225.1651182604922; Thu, 28 Apr 2022 14:50:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651182604; cv=none; d=google.com; s=arc-20160816; b=UuoqmHDrHNGIyiwxVgZI+tFxHQnlcUgAPyR21GeclwgJ2gZAbQkZlrCAl/aWgDs48x l/1FMMLF/4uziiN3DRMQs6kj7dV87DqTPMNL+gVJimEPl3lxanlYGe9p9mN4bRIeGsoS cHmRP6T2FpfA3KCRBLlWQH1LSd7oo0Vg4qX9Rw/qpflu649WwuCkIQmAxc7ynF0XVeGr aGEhzF+WyNTyoAz8zPpVdd/sJ1iv2F1lwQlAzmH7i8RT4Cyk+QGiu3zdTbiRBQDcPeCe T3yKR1rZHZzL33+r9D/Wny33KoozhjZT5ZLSopARZ8SZQgZA9J6aRWuksLViW3sK2gMK +pJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=J2k9Op3oCvA0yw2O0z+wfdGUyypR9n8Swd2cAEAx4EM=; b=jITF0O4UxFXBJXEJEFKcWTDpXko54PYADPMRB+/1mPv+fmQ16MRY2qpr2SuUgUe1jE 43yROJlFrlpUs9StBWx/4JuBaF5oexno6cWziSle/3nsHI2eD4xE++s3ROwyFXuJcvMJ RJF+3rXvTlLiRkrzrlEmxfZu3K29OyDzJyzAnI620I6mr1g2+wWwKvF0yoDvQeYyv9T+ Th//pK+tfBhUF9BJPnpPO0ZGHhKdNSwJqzyyubXvlGVoQQlon9vK+ZL7L50wWs3DTFTC PDcHiiaNCDWogdpdyLC4XoLcPPPIYU/mZe6d0hvDtNqJbisQZKskFmX2eNCLaoi4JFwc wGgg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b28-20020a2ebc1c000000b0024db8b3d76csi6753691ljf.466.2022.04.28.14.49.37; Thu, 28 Apr 2022 14:50:04 -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; 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 S1348301AbiD1O1c (ORCPT + 99 others); Thu, 28 Apr 2022 10:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239271AbiD1O1b (ORCPT ); Thu, 28 Apr 2022 10:27:31 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C440BAFB22; Thu, 28 Apr 2022 07:24:16 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id A118E68AFE; Thu, 28 Apr 2022 16:24:12 +0200 (CEST) Date: Thu, 28 Apr 2022 16:24:12 +0200 From: "hch@lst.de" To: Arnd Bergmann Cc: Sven Peter , Hector Martin , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Keith Busch , "axboe@fb.com" , "hch@lst.de" , "sagi@grimberg.me" , Marc Zyngier , Janne Grunau , DTML , Linux ARM , Linux Kernel Mailing List , linux-nvme@lists.infradead.org Subject: Re: [PATCH v3 0/6] Apple M1 (Pro/Max) NVMe driver Message-ID: <20220428142412.GA19708@lst.de> References: <20220426201539.12829-1-sven@svenpeter.dev> <0f6ea2c3-586d-4f5a-9cee-688cd73b96b3@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 On Wed, Apr 27, 2022 at 07:39:49PM +0200, Arnd Bergmann wrote: > The usual trick is to have a branch with the shared patches and have > that pulled into every other tree that needs these, but make sure you never > rebase. In this case, you could have something like > > a) rtkit driver in a shared branch (private only) > b) thunderbolt driver based on branch a), merged through > thunderbolt/usb/pci tree (I don't know who is responsible here) > c) sart driver based on branch a), merged through soc tree > d) nvme driver based on branch c), merged through nvme tree > > since the commit hashes are all identical, each patch only shows up in > the git tree once, but you get a somewhat funny history. Given that the nvme driver is just addition of new code I'm perfectly fine with sending it through whatever tree is most convenient.