Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2892849pxy; Mon, 3 May 2021 10:18:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8q1G2mscS258eUIBCR5b0ik7Y8m0vuEuQXNWLm3dXwvHHQps90MmjFAyxpjeWrGfw8RrD X-Received: by 2002:a05:6402:138f:: with SMTP id b15mr21215874edv.121.1620062323962; Mon, 03 May 2021 10:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620062323; cv=none; d=google.com; s=arc-20160816; b=VOE9JS3is4iLvoeSF2zfR0AlCOR4UDYDfymH7/W1LWTyyEl1wykoJVy7yj41ObsLQk ZeSa6mRMqKPIB9+TfnnjvYa4wC0Q4uP5l3Fiha7Q02wUo3juY6CZcJzdO8/A9p5mDWpD 9DUq8s0wfExcEFvlQwOffl7PbtQofmaUvrqTxkMwsfsTrGuI+2jj3GxcesxPmt7dzl3n ur19HPm47FjxSCsXOHxb5fDpvp7Tq/XpmTxXtDLN+c8i5cgMZ8Kq+//++lLhtWhPj7rJ aKn2X9OY58ptprwe8TF6EYvE+ipEQPeILhe7/ZZu3sVduRBeRpLPji5yefkJmHltqr8X uhaA== 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=/rrP1AGyxKsa+ORBfD+mOvtRMENmltFb1LCD+9ApmG0=; b=nhJmscQzVLC39cj7Zf2PDfaEFUMBjuzwYZjUJ/tadRVbiqOmQlV1IORlttESJzFh9e lQiN3/XZoM5Yf6x/0RE36qkfAJCmwhco6cFxzI0DJr6r1m9hArvhsDGsExfo5CaKGS9H 2QdMW7PIjChAV4hWX5Ecch+L7fWYl4E0WCqC7RwF1/rxpc507aYd2du1mDINj6JGRV+Z +tuedUGtO+zwhBkTKZQIKqjLzQJ/esCC5P0LanQEpoQsaI0zGuRo+bFjK4WYj5caq5op KB/m+zFzpCFWCsMpChraXzal9cBegXJ6EhbskUo/LalFk5HVa+3wfAyVj+yWfidJRemh 4NSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXKonJqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id op18si299015ejb.39.2021.05.03.10.18.17; Mon, 03 May 2021 10:18:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXKonJqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231906AbhECRSF (ORCPT + 99 others); Mon, 3 May 2021 13:18:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbhECRR5 (ORCPT ); Mon, 3 May 2021 13:17:57 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E231C06138C for ; Mon, 3 May 2021 10:17:03 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id k128so3772263wmk.4 for ; Mon, 03 May 2021 10:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/rrP1AGyxKsa+ORBfD+mOvtRMENmltFb1LCD+9ApmG0=; b=gXKonJqka8sqoJObWITpaycdkvshAufcCfDxLc8W98tG27c4CUdmMTVQMR0HN/0oAk kMMi8HuZ9xPD5wcqG7wEIcCX07bsY/RKlHElhcD3tC0CGPd5ebXIPh371iGvj2kaddbY qn7eXtPA+l9288tNAE3a6sox2UQcFdSiS7i0dKX69AOkz8CwJremrUuUKN/Cq0oLjfgn BL3reuKxc5XFaoe0QgvAQG/h7xx3klU4Kz9iMn2iy+4K5yRVo3sYvDtXjH6rDnp/eGOg GZLSx/DGfrkPOIeMCkmR/fRQ5xXX1OdDqD/c+plOfrS2mBlf5lA+3rvvYLSmeuYK3Opc fxrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/rrP1AGyxKsa+ORBfD+mOvtRMENmltFb1LCD+9ApmG0=; b=YN/SIrrHY8nCGZRF4XCsPGtPVNohy8DEJNGwc9M3VzLWaxBE3Upw8e4wnk7Q1muxS/ 1P/aahN87wejbRDMtoJWhLKy+KYZI3nRxL212KAN74Jd6ziqGfRcDlKURWD7sYD22GCx dSgYQgwmiVnKq4A0z5VIqWwUx0iZPdhNGWFIwz0biWPSGmdRb1IKdP9LhZ0pK1+fDasn u8YaxNoMb5VmKYWNLdLgypiVUcOkU0PT53fYRPi9mUyWE5/DY8702USBZbivjZU4F/VZ 5ZnQ/QcgCkwl3QZDfreKP2n2wZLPdN7EJOQSM+w7tbkhj+HWhmSQovjqdxFoXXIV6LKM 1SDQ== X-Gm-Message-State: AOAM532yV312pUT6CsqBZxQCcKVYfsJrxKmXItJhhIf0GnXzt3ca/kqL qq06kuopGiGD2R/RM89+17GLf3jQFIEsr0jvpq6f1Q== X-Received: by 2002:a1c:9a8a:: with SMTP id c132mr18953323wme.48.1620062222096; Mon, 03 May 2021 10:17:02 -0700 (PDT) MIME-Version: 1.0 References: <20210428230528.189146-1-pbonzini@redhat.com> <61aa0633-d69c-f1b6-dc9f-6ca9442fbbab@redhat.com> <20210503152554.GA1697972@xps15> In-Reply-To: From: Mathieu Poirier Date: Mon, 3 May 2021 11:16:51 -0600 Message-ID: Subject: Re: [GIT PULL] KVM, AMD PSP and ARM CoreSight changes for 5.13 merge window To: Paolo Bonzini Cc: torvalds@linux-foundation.org, Linux Kernel Mailing List , kvm@vger.kernel.org, Marc Zyngier , Herbert Xu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 May 2021 at 10:09, Paolo Bonzini wrote: > > On 03/05/21 17:25, Mathieu Poirier wrote: > >> Mathieu, can you confirm that your coresight branch will*not* be sent by > >> the ARM maintainers as well? > > Confirmed. Marc's tree is the only place where the ETE-TRBE functionality has > > been added. It was specifically done that way to avoid having the same code in > > multiple branches and prevent merge conflicts. > > Thanks for confirming! > > Generally, what we do for x86 is exactly the opposite: the basic > functionality is committed to the x86 tree, and then merged in _also_ by > myself. For example, this pull request includes a topic branch provided > by the cgroup maintainer and one provided by the x86 maintainers, but in > both cases they _also_ sent exactly the same commits to Linus. The above works if all subsystems are pulled-in directly by Linus. But for CoreSight patches flow through Greg's char-misc tree, which would not have worked for the ETR-TRBE patchset due to dependencies with the KVM/ARM tree. As such I don't think we could have done things differently. > > It works well because git is pretty good at avoiding conflicts when the > same branch is present in multiple branches. Instead, cherry-picking > introduces lots of merge conflicts. > > There are other advantages in doing that. For example, in this case I > didn't (and don't) quite know what ETE and TRBE are, beyond what a quick > Internet search tells me. Sending this functionality to an ARM > maintainer that is more acquainted with the feature would ensure that > the new functionality is documented properly in the tags and therefore > in the commit messages. > > This is what Linux was mentioning when he said "Pull requests need to > have explanations of what they pull - not just because it needs to go > into the merge message, but because the maintainer needs to keep track > of what's happening". In this case, the maintainer was me; based on my > own workflow and due to the lack of commit message I assumed that the > branch was also going to go through the ARM tree (and doubted my > assumption only when sending the pull request to Linus, i.e. way too late). > > I am also guilty as charged of the "Merge branch 'kvm-sev-cgroup' into > HEAD" commit message, where I should have pointed out that Tejun had a > later branchpoint from 5.12-rc than I did, resulting in conflicts. > > So Marc, let's heed Linus's advice and document all topic branches that > we merge into the KVM/ARM and KVM/x86 trees, including whether they also > go into other trees---which they should do almost all the time. > > Thanks, > > Paolo > > > Let me know if you need more information. >