Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2933915pxy; Mon, 3 May 2021 11:11:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFWuAWKieoAb5fUoXfHaB+LHXqTEkTw5kCt9+HWVfXfx9YAhuxC5p1v8zRu+mJwL154Xmx X-Received: by 2002:a17:902:e54a:b029:ee:d9ed:5191 with SMTP id n10-20020a170902e54ab02900eed9ed5191mr5519251plf.46.1620065497537; Mon, 03 May 2021 11:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620065497; cv=none; d=google.com; s=arc-20160816; b=FLM1ehWQIFedL9e2iXTMK03SpQhaCWb5D3wqlZ/v2xKVbYe02kb3/2s6/XBMJX2XB+ LdKjAvkWSqEPENn1V5OPnwiXvJ2iOpJ1YGMwDwTPd1k3d5Uu/OzCtHoXG2pI9qLNEQ8r tf5MT9Q9fDyQqohoHB+ldubjr9eZZhMj1oQ4KTCcKXYiMkfhAWazr3PCdoB3jdQVKZn5 Cv3GKmHXqOwK7cflqYlfvZdX3UT+l2Ig6gNPuUn74mgnVZkMXhZU6qQ1GVFvqiGeSxuu h/0WYhuPqmk5/5wk389KIscQLe5T80uhj1y1SyoDoUFi+FdsL+MNbhe8Y0MciXwCpeRR 7i8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=MqlCI3A2oW6RhK7XQnWik09Euybp4fJ1e+usL2JIHoc=; b=vm9Lnb2clj92DrwXOkxT23SLq7ay62oJa73xvawgFAU9uJh8zkInNcqI9bnCO9HPqZ i3lYY6PW8M+eRE4nMibbL7MTsQgdguSKLwGVrh+ZrRRGbGNfiXo3dXsWiSHgKnPFVuSL f5eqYdr6DrreRPJwfLQvVhN+yYGwJPgv5vvm2LIXKmovLk7c7GrjV8hJnXh/w0ZJwdH+ aMRigFFy8uiGslxaYqGseZtOPZnhnctnq4JXNLDU870kzc0Irwx4sHYDAp1zhPitJBdD qlNWqG6E7RuS5zYt2Tqr4pQhLBsubsfIO6zo9r/jLRtgy8EAktXkYQyF5muW8m7e7Ci4 xEtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=T1mudV73; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l132si17807487pfd.116.2021.05.03.11.11.24; Mon, 03 May 2021 11:11:37 -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=@redhat.com header.s=mimecast20190719 header.b=T1mudV73; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231215AbhECQK1 (ORCPT + 99 others); Mon, 3 May 2021 12:10:27 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:36635 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231221AbhECQKM (ORCPT ); Mon, 3 May 2021 12:10:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620058158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MqlCI3A2oW6RhK7XQnWik09Euybp4fJ1e+usL2JIHoc=; b=T1mudV73yLVRVD0DcUXFduncFVUbjxGQ0znaCijXd/hGv/8b7YbmA/apW8jAZZSV/qVLg5 o0cv4iDcKb0KCr4KKLi4Sr+eyMq3l1S3m4++duEqAYaiGHK4pz2AWvsWpblYRTjCKMfoyX uuBBZY+Vcve+2fT9aNgtKpeHg1xGqgQ= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-226-cyhbb-6RPl6YYb3Byq37PA-1; Mon, 03 May 2021 12:09:17 -0400 X-MC-Unique: cyhbb-6RPl6YYb3Byq37PA-1 Received: by mail-ed1-f70.google.com with SMTP id v5-20020a0564023485b029037ff13253bcso4832291edc.3 for ; Mon, 03 May 2021 09:09:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MqlCI3A2oW6RhK7XQnWik09Euybp4fJ1e+usL2JIHoc=; b=WbJJEMl+3zLLu2bDFQH4a1ZREdOogDNzJdLdFOY2J/872GRz1Jb3wd8NMNQreMUV8U Podl1dY4w/Jw+2Ht3U+kSwDyRSjDS0wexxrVuSKEiyC5MW39D03lpLqH6kKVyAn9HL/N ME1CMPcS1UL5+LEQCWuKyKlUfH5ERMBSUN4evKYrNglxyVN55Pf6+gk643qtB5NiEu7u lzQAQ3DmjzYgVPW5tEzavagopoxRN9s9Hn40/BrPcfHA0miC7vUPuo0qUgjCTQqkiEvc AhYPh9+nxnIHEKE8Yo71mI/ab9Jo2C+KOmEnbp0wV8YoqtpApKq4hP9VkOpD/wAsS6LB 0CPg== X-Gm-Message-State: AOAM532DNJaJpJ9WveCUoQ/xVgFoxBigyb4vyeHvShEUcGsQKujtktBq Svy2bqXGTMg5K3zwoDGvCT3gcwFJyRhApIJXjJ57Kkiat66LnFiUlgz30CWOKip8ZwgQBBMkf5T KF1Zj1hhcTalnVdSXg6O0tV4P X-Received: by 2002:aa7:dd41:: with SMTP id o1mr5111020edw.361.1620058155975; Mon, 03 May 2021 09:09:15 -0700 (PDT) X-Received: by 2002:aa7:dd41:: with SMTP id o1mr5110994edw.361.1620058155739; Mon, 03 May 2021 09:09:15 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id y2sm52375ejg.123.2021.05.03.09.09.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 May 2021 09:09:14 -0700 (PDT) To: Mathieu Poirier Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Marc Zyngier , Herbert Xu References: <20210428230528.189146-1-pbonzini@redhat.com> <61aa0633-d69c-f1b6-dc9f-6ca9442fbbab@redhat.com> <20210503152554.GA1697972@xps15> From: Paolo Bonzini Subject: Re: [GIT PULL] KVM, AMD PSP and ARM CoreSight changes for 5.13 merge window Message-ID: Date: Mon, 3 May 2021 18:09:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210503152554.GA1697972@xps15> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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.