Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp755149iog; Wed, 15 Jun 2022 11:32:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1umD+9vjE6QcZuHNC/SwqoLReChF5Sp1A2SO7nHbOtsbfU8uh3MLxtKTFuEQbnEx86ZfdP9 X-Received: by 2002:a05:6a00:162a:b0:51e:73c4:f895 with SMTP id e10-20020a056a00162a00b0051e73c4f895mr923102pfc.82.1655317957979; Wed, 15 Jun 2022 11:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655317957; cv=none; d=google.com; s=arc-20160816; b=psp3UZamup4bsAzCKZXglN2rbYL5Yd0/rMNUAUuG5xxun/GBKKiAjKFH55/uUUMo7S MuI3dZACqEd/uoYuHliyNP18yUygpMOddxlE2/Y23ElWcWWRCamrXk2VbJWkY51NIsAS 8vuH1DwSaULVKY/qsRVcLuLuY8OA4eI+rJ3+e0c+3oJn3fdXMo2kz6kPC/YpsGWcIofq ESsZBvLH/BpY+6l2lZsZuAY1bhsV/iFyaJkdrYSs1q7S4yAmivsQtrbVKffE0zSpPW2/ uxQtg0mXOJipqhu+WifZi5A405qvZ4mSWVnZE2wEHEuGwch6z1P5CJpvydgPmVjudwzW qQEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=aKVoJG94TlRK1lO5EtxaMQBi2kCbacnBTEUYcvXReYs=; b=JUHrg78PgiFflz2viD+G/knc7OZsKqsWsnTeXhVx2ZAf9uYYY95uNGYWgcVHDiptPH X7Ht7dWbyMckb9vQRvWCKX6u6SQLoFzlyjKxQYbUwKjv+bCi5YKfgnLx6JsgBMoPZZu5 ERfyO+Ar2kpqtQmIHAUhwemMx64eWFyeZs1S4sc8eoXyZnTFMUPGpX7xN+x4ijlTSNH+ GSRg4fR+ETHtbAQZgyR4tUlZsRZYqMT5Jwute98uZfN49bRdxtL4uMl/WpXMTaUKMrWV 5ELsiU6E8w34h41eQTcS+787/21MFA+F9kyAoTuIfUSdrOMHH7jvAn5P4RuHCkDLW+wr /VjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=FNCP2oYf; 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 l62-20020a639141000000b00408aa327347si6091384pge.426.2022.06.15.11.32.24; Wed, 15 Jun 2022 11:32:37 -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; dkim=pass header.i=@semihalf.com header.s=google header.b=FNCP2oYf; 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 S1357901AbiFOSAz (ORCPT + 99 others); Wed, 15 Jun 2022 14:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347617AbiFOSAx (ORCPT ); Wed, 15 Jun 2022 14:00:53 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8DE352E41 for ; Wed, 15 Jun 2022 11:00:51 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id t2so11061199pld.4 for ; Wed, 15 Jun 2022 11:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=aKVoJG94TlRK1lO5EtxaMQBi2kCbacnBTEUYcvXReYs=; b=FNCP2oYfZ40CEmxTy0qRZfyApcZ+1R96el63F2TOp0qXRzJnR18YS28i4ComAHwniE NzTpAhKsSs6GfhSpMAsAxbNJupjAtzYcPojh6rHDREBCcik6J0UGscpWefqG+eMOycrr aNexRCGLHPIzOHCw8RDDtF/Fgo2OCR6YPINhDQDEeoxo8cbnCZpBaY+kr2yrXknY/y1Z zfx+ItNutvYmKUljGz5VBNfeGRdgaNZ+CJnsAfAr6ZB+wBvlE7tz22gcnBLKKfCg1Vig RWkN5AS2C0LgtERETqvsbgVx5ftTRmODp8vNncg5KxCNG3Nyopz/Rx/p6HlmPiHQzMF9 OMBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=aKVoJG94TlRK1lO5EtxaMQBi2kCbacnBTEUYcvXReYs=; b=5/GO5FXR3w2jIbRI4nKqE4mKI1nLFdt9eDVWTlEt1qcTUDO8aVERDpWYgMxxaa7mgi Heg7JTySEOPCht0rPSeODGph24niVS6HGWw8nxSEluVANGmEnNhsFO0DDBOYjvBCEuEI ZebCd+zNFkzB6mWz8iCgYSbEGG1CCxu4YoevyTECHZ0hI9dZ8Lg9sPUaFwNgYD/RDf8E XWe5vdl+cckCU58foSsu6ZFTIu4Qqv0s8KCFpCbmmBBakKKP7xlUUWSiufGwUfhQ1V4w 5ygPMA5uajDYVHLn2We/LGvilaJNvhzwxTN7MVyvmwv3mn8f16GsUXnSTShCgd2Y9hQK 387g== X-Gm-Message-State: AJIora/p37oYZLjEFtxzCYO0XqHugB6niIJ5RHwKPNxEB4722893otui Ym7iIBjcmPGBreaZVV1l8eXETSSn8Fazultr0YDvPg== X-Received: by 2002:a17:90b:2247:b0:1e8:9f24:269a with SMTP id hk7-20020a17090b224700b001e89f24269amr11622697pjb.14.1655316051101; Wed, 15 Jun 2022 11:00:51 -0700 (PDT) MIME-Version: 1.0 References: <20220609110337.1238762-1-jaz@semihalf.com> <20220609110337.1238762-2-jaz@semihalf.com> <2854ae00-e965-ab0f-80dd-6012ae36b271@intel.com> <7eb5313e-dea0-c73e-5467-d01f0ca0fc2d@amd.com> In-Reply-To: <7eb5313e-dea0-c73e-5467-d01f0ca0fc2d@amd.com> From: Grzegorz Jaszczyk Date: Wed, 15 Jun 2022 20:00:39 +0200 Message-ID: Subject: Re: [PATCH 1/2] x86: notify hypervisor about guest entering s2idle state To: Mario Limonciello , Dave Hansen Cc: linux-kernel@vger.kernel.org, Dmytro Maluka , Zide Chen , Peter Fang , Tomasz Nowicki , Paolo Bonzini , Jonathan Corbet , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Brijesh Singh , Ashish Kalra , Pratik Vishwakarma , Hans de Goede , Sachi King , Arnaldo Carvalho de Melo , David Dunn , Wei Wang , Nicholas Piggin , "open list:KERNEL VIRTUAL MACHINE (KVM)" , "open list:DOCUMENTATION" , "open list:ACPI" , "open list:HIBERNATION (aka Software Suspend, aka swsusp)" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 pon., 13 cze 2022 o 07:03 Mario Limonciello napisa=C5=82(a): > > On 6/10/22 07:49, Dave Hansen wrote: > > On 6/10/22 04:36, Grzegorz Jaszczyk wrote: > >> czw., 9 cze 2022 o 16:27 Dave Hansen napisa=C5= =82(a): > >>> On 6/9/22 04:03, Grzegorz Jaszczyk wrote: > >>>> Co-developed-by: Peter Fang > >>>> Signed-off-by: Peter Fang > >>>> Co-developed-by: Tomasz Nowicki > >>>> Signed-off-by: Tomasz Nowicki > >>>> Signed-off-by: Zide Chen > >>>> Co-developed-by: Grzegorz Jaszczyk > >>>> Signed-off-by: Grzegorz Jaszczyk > >>>> --- > >>>> Documentation/virt/kvm/x86/hypercalls.rst | 7 +++++++ > >>>> arch/x86/kvm/x86.c | 3 +++ > >>>> drivers/acpi/x86/s2idle.c | 8 ++++++++ > >>>> include/linux/suspend.h | 1 + > >>>> include/uapi/linux/kvm_para.h | 1 + > >>>> kernel/power/suspend.c | 4 ++++ > >>>> 6 files changed, 24 insertions(+) > >>> What's the deal with these emails? > >>> > >>> zide.chen@intel.corp-partner.google.com > >>> > >>> I see a smattering of those in the git logs, but never for Intel folk= s. > >> I've kept emails as they were in the original patch and I do not think > >> I should change them. This is what Zide and Peter originally used. > > > > "Original patch"? Where did you get this from? > > Is this perhaps coming from Chromium Gerrit? If so, I think you should > include a link to the Gerrit code review discussion. Yes, the original patch comes from chromium gerrit: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/= 3482475/4 and after reworking but before sending to the mailing list, I've asked all involved guys for ack and it was done internally on gerrit: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/= 3666997 > > If it's not a public discussion/patch originally perhaps Suggested-by: > might be a better tag to use. > > > > >>> I'll also say that I'm a bit suspicious of a patch that includes 5 > >>> authors for 24 lines of code. Did it really take five of you to writ= e > >>> 24 lines of code? > >> This patch was built iteratively: original patch comes from Zide and > >> Peter, I've squashed it with Tomasz later changes and reworked by > >> myself for upstream. I didn't want to take credentials from any of the > >> above so ended up with Zide as an author and 3 co-developers. Please > >> let me know if that's an issue. > > > > It just looks awfully fishy. > > > > If it were me, and I'd put enough work into it to believe I deserved > > credit as an *author* (again, of ~13 lines of actual code), I'd probabl= y > > just zap all the other SoB's and mention them in the changelog. I'd > > also explain where the code came from. > > > > Your text above wouldn't be horrible context to add to a cover letter. Actually it may not be an issue for the next version since the suggested by Sean approach is quite different so I would most likely end up with reduced SoB/Co-dev-by in the next version. Best regards, Grzegorz