Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp781378ybz; Wed, 15 Apr 2020 18:56:19 -0700 (PDT) X-Google-Smtp-Source: APiQypJ5LjI/dQGO5SlzmCBq7R+BbJElNbtzozhy6kDDWxjNVDf9XxVSrRNAJJftX6UXzKnlaohq X-Received: by 2002:a17:906:d1c4:: with SMTP id bs4mr7520227ejb.109.1587002179134; Wed, 15 Apr 2020 18:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587002179; cv=none; d=google.com; s=arc-20160816; b=fJVBzr4SnlI/1kVblg2DIdc/M2JZXOPNO7JiCpRlJ9OWxE+yB68M8o7LBUGOz953i0 0cDAEEP39qSLPbuz1VkJEmx5Cwk4fMNZgTkkjZhXdnGyZhfY5PsBcFAxfQbaiOLWF9iJ gc3jeJNW9brN6gbGt2AYRkPh6C7S/TJLBT0eYCS5f9DsOoV7JfOcB1qG1Te+cCsk0FsC aGt2PEVkLeuDvceT+U4QxM0Vs+fx0qplindULJ40B3RQVE8qQZnr1PEVkVKcGasAZreB huNDlagX5OoKjDVVBvsycxy4fpHOKBkA3MaIrNQXwYvP6L84IAF5ZICiWloyASEdMpf9 D3bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4aWqk5/j/HVgM5+Uxpcn41+0bfk/7nkK2qOIYF53Lug=; b=B39/mlna0MsODAI1l07OgijYEvo/jVWcqEimxNVojPmXz1rVetOQwI2vyGT4vW6h2B E+4ekwOnzVIB9XTKHMDcYrtOjXNGLFvlAKQZ4yO8Rb+91/7739dKdnDZWz3BECrAlY5z XWoMxPpkAXg/PEX27A3JL9IraBNaVT3/mjRrLlrkyCoLr9o8Si646ZEFN06SEpySx/qg 60tgFKgJJT5qyEno1Zkt2UbK/awwlMX6ahAFcVLJjT9Hvk4r14PfDutEEUBMtWjHNsbG 1QgTrgPZ5gwwMSzQN/K32bjDxbJ7LHuGR0QgYEkmjzdhBxjQJgCEBzPFqaNPKVpDzCtX Hkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=um6fO4IC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si3819192edv.88.2020.04.15.18.55.56; Wed, 15 Apr 2020 18:56:19 -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=@google.com header.s=20161025 header.b=um6fO4IC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2411004AbgDOR1l (ORCPT + 99 others); Wed, 15 Apr 2020 13:27:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2410844AbgDOR1f (ORCPT ); Wed, 15 Apr 2020 13:27:35 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3114BC061A0E for ; Wed, 15 Apr 2020 10:27:35 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id u11so2406914iow.4 for ; Wed, 15 Apr 2020 10:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4aWqk5/j/HVgM5+Uxpcn41+0bfk/7nkK2qOIYF53Lug=; b=um6fO4ICFHnTmDxpxj4g8omamITG4Or1AS4OSK5B4sRHUERm7W6RtMHovrOQY9NWO3 s6Gvu6XKFJW1HXgXoIxxEHJGk8d64F6mmmfi7MCIEg1HD+XWJdTJu3Bg9t3CnBN+LJGH lt/aWp81rCdC4JtMEqxtZPoPRhMkRqqSYCqh8Wh2a3p6SxQ5m/nitQkYecD2QcSpzgaH U7xG1nJijRiotZhcZ3ZSJwY1Il/MhiqdfDeleZcV+5vaALmqnUalQH40IIvjzTG7WQgG xbQOFyBJpd4CVHVRGAPSmqO/Cu1D/EDVpmgX5wHZ9vnnoIKQ6CtV6l9WjlNmI2DaYcgY usfA== 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=4aWqk5/j/HVgM5+Uxpcn41+0bfk/7nkK2qOIYF53Lug=; b=NyMByXjQPlASCALlR+vHAVX+MOhKrkbrMgWBohjpxwksufum+2DGYhJ6saUKgadiG9 j15xfJ9DQJbwfmrdPqE5nrH3TIh5S2VZWNcbzpUh35l/M8aQp8Fw9G37qt+8aTts/U71 rvDEmyt6WQ9GPHWPhFuMW162+g+xM8Lzxt2ZP8AD2acYyoF9cpRmbezT7OfIUICfj0vZ gIzJBCglz1czr4rqktHgqdzgVnTMhyvEY5riDHmDYfSg/j5ZR+Oo3bePmp2w2gXry3Xe 4BhZe3ygLlai8+IQSxabN9FORA2U2DFve6Qaeq64VmxK6JdA6bSarPoQYREqrIrcBl7e ed/Q== X-Gm-Message-State: AGi0PuYxttTAaiqEtfF0bIaBrU6ZltPVZGNjiHUXijHwYrGHzt3oMhSQ hswZzP8XUflBCBPee0W/QHzlMg6ILLdOVh5ZJiGX5w== X-Received: by 2002:a6b:9346:: with SMTP id v67mr16861359iod.154.1586971654121; Wed, 15 Apr 2020 10:27:34 -0700 (PDT) MIME-Version: 1.0 References: <20200415012320.236065-1-jcargill@google.com> <20200415023726.GD12547@linux.intel.com> <20200415025105.GE12547@linux.intel.com> In-Reply-To: <20200415025105.GE12547@linux.intel.com> From: Jon Cargille Date: Wed, 15 Apr 2020 10:27:21 -0700 Message-ID: Subject: Re: [PATCH 1/1] KVM: pass through CPUID(0x80000006) To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Eric Northup , Eric Northup Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I assume you want to say something like: That's a much better commit message--thank you, Sean! > Jim's tag is unnecessary, unless he was a middleman between Eric and Jon, I appreciate the feedback; I was trying to capture that Jim "was in the patch's delivery path." (per submitting-patches.rst), but it sounds like that is intended for a more explicit middle-man relationship than I had understood. Jim reviewed it internally before sending, which sounds like it should be expressed as an "Acked-by" instead; is that accurate? >> Only one of Eric's signoffs is needed (the one that matches the From: tag, > Ah, Eric's @google.com mail bounced. Maybe do: > > Signed-off-by: Eric Northup (Google) Gotcha, thanks. Yes, when I conferred with Eric on submitting his commits, he had wanted to acknowledge that the work was done while he was at Google (e.g. his old Google email addr), and I wanted to include current contact information for him as well. Your suggestion to combine into a single Signed-off-by is a good one, and I'll use that form in the future. Thanks much, Jon On Tue, Apr 14, 2020 at 7:51 PM Sean Christopherson wrote: > > On Tue, Apr 14, 2020 at 07:37:26PM -0700, Sean Christopherson wrote: > > On Tue, Apr 14, 2020 at 06:23:20PM -0700, Jon Cargille wrote: > > > From: Eric Northup > > > > > > Return L2 cache and TLB information to guests. > > > They could have been set before, but the defaults that KVM returns will be > > > necessary for usermode that doesn't supply their own CPUID tables. > > > > I don't follow the changelog. The code makes sense, but I don't understand > > the justification. This only affects KVM_GET_SUPPORTED_CPUID, i.e. what's > > advertised to userspace, it doesn't directly change CPUID emulation in any > > way. The "They could have been set before" blurb is especially confusing. > > > > I assume you want to say something like: > > > > Return the host's L2 cache and TLB information for CPUID.0x80000006 > > instead of zeroing out the entry as part of KVM_GET_SUPPORTED_CPUID. > > This allows a userspace VMM to feed KVM_GET_SUPPORTED_CPUID's output > > directly into KVM_SET_CPUID2 (without breaking the guest). > > > > > Signed-off-by: Eric Northup > > > Signed-off-by: Eric Northup > > > Signed-off-by: Jon Cargille > > > Signed-off-by: Jim Mattson > > > > Jim's tag is unnecessary, unless he was a middleman between Eric and Jon, > > in which case Jim's tag should also come between Eric's and Jon's. > > > > Only one of Eric's signoffs is needed (the one that matches the From: tag, > > i.e. is the official author). I'm guessing Google would prefer the author > > to be the @google.com address. > > Ah, Eric's @google.com mail bounced. Maybe do: > > Signed-off-by: Eric Northup (Google) > > to clarify the work was done for Google without having a double signoff > and/or a dead email.