Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1293675iol; Fri, 10 Jun 2022 04:40:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAS6+u6xMs93rgSce2E1pqH/z4ViYALbcKkdyjSulPJyzDGFWDBWIu5+ERfHc0AdkWuNqu X-Received: by 2002:a05:6402:400b:b0:42d:c902:6c75 with SMTP id d11-20020a056402400b00b0042dc9026c75mr51280720eda.32.1654861225956; Fri, 10 Jun 2022 04:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654861225; cv=none; d=google.com; s=arc-20160816; b=yx1eXDKaNG/DT7T+0G93O752XTW8O1uD0ffobEsKTshsradonR1Vj5MRHATvNQ9O7l b47jwKAhA7kMtMbkuYWzygJ1csvRnBIlj8v8U1i4aP8F3+PYHCmMtdhp3XXBQYJedbcy 68Cr2PDQSmgcz0yJ5/HuO0F//Yd/O7JatcnG5sWQvoJZICYkq8fqwagAvFAxIdHtTP9H rTCUArm3Wg/o+enel1/qWwhYn9DzycPbXI986oagMm5RZBzCJrz3oP+rz6sa5imCQeaK XF43zwq5FnMAt9zTSNDaiAvAbUgSJaHBhoHWV5qs0C8E3jGVkRU27WxrB6CNkbu9ROBu fDvg== 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=2bt8jTYVrowhc1gg8uINAlbLKdSaOnKBxI1tejzJnw0=; b=Rk2QbGnmu09pkaCKsVZf6+liKi7RCC4bcoAoJvYI2eRBWvmUPp//Kj5E8bW3v3xQiF upD15l+tsBCgqQPipYKCgEPdGMeXaIfLYZzDSX2nCB2/vbUJnjshLmKpw/94x2WngioQ +3NUFpcdbRMGJR7XhKr1WXYKfNoz1j8CesAWiIJFu15c3NEQGXjSuRAbc3OstUiodU1J UHoo1Vo3IOP1kNwlctEtiPZYfbhHDuNmlCHnnF2IhaRPuY5n9WO0UaaPuPOWQiTQXv8I 6O2U2/X9YQBsJ3y0NF40LRhCJyw7BTUds3uV8uyR3EgzCLMad6l7gd19Yn31jox13r9u kAxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=VytV+NMs; 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 b19-20020aa7cd13000000b0042b6a806c85si21280085edw.565.2022.06.10.04.40.00; Fri, 10 Jun 2022 04:40:25 -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=VytV+NMs; 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 S237231AbiFJLiS (ORCPT + 99 others); Fri, 10 Jun 2022 07:38:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343951AbiFJLhc (ORCPT ); Fri, 10 Jun 2022 07:37:32 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D999E6FD34 for ; Fri, 10 Jun 2022 04:36:53 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id g2so487887ljk.5 for ; Fri, 10 Jun 2022 04:36:53 -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=2bt8jTYVrowhc1gg8uINAlbLKdSaOnKBxI1tejzJnw0=; b=VytV+NMseeOv5ay6lpQ90w3nH/J9TkSL7TDekYgqNJ6A5QUx0JjdEV0LQWDwhoNvvm Rz8hppK3LV/Zx32rXRUnaGgGsmX5wt3+Wmt5lTiuSxzOy65Y0u8rI5JHIib+7RFuxjoR K4FMqtzyophRWwfQGCU0kfhqOEQ94XiFDzl6um4dsmiYHUWa3LfOkaMwdF1Qku7lIBoX +J4huc80z4RkwDz+5pqpvmsCfTSDrhJkZa4kFfpu1icagXacVx0PxFd+2xgKHpaVRf2K OAx2EknOTp0kRe54ep30g5Aq3K5hi4ofIym1NY+KaQ9x9OaGRMBB+UILcxymGGjOJClP HyHA== 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=2bt8jTYVrowhc1gg8uINAlbLKdSaOnKBxI1tejzJnw0=; b=L5Di9jT7ujYesbeYm6DZGTLjZkc99ggbWwa6GpAuEOctaAPPCiN0xph9rDlJ/QPKxz HtFmz6+mSLhurayhVJFujj7Xgs7MxE8RQTF7rhqouQ1g1f4xRLWajZZwOcRoC1P2eejA JhIpeIxc2nXqdNRx42xNTHfYaTjIWghCLpquVeZBB+/qx5l8gERo2UXXsCfKW21mg9KV oZcFZy89fONjDBQpkP+HGBU2q935ywZXCP9ucZHQGc36YqORMX2NGRCgkTr1Q9iWfenm /MHEwPKDfHkGgQfq73fw586YAZ1llvDT4tq8r5o7VvBaJbSggXph5lOsj1o1wgOYo6Rs QgQA== X-Gm-Message-State: AOAM530jjV/V9NGeJ+0D9qMnLJWeTbHd9L0ACcF8QaD47/e4V0X5QScx aknSQkc5V15mtP+0U6YEpxm0uGbkWFuGam9C27QYCQ== X-Received: by 2002:a2e:9a82:0:b0:255:77fd:1c2c with SMTP id p2-20020a2e9a82000000b0025577fd1c2cmr21978710lji.357.1654861012161; Fri, 10 Jun 2022 04:36:52 -0700 (PDT) MIME-Version: 1.0 References: <20220609110337.1238762-1-jaz@semihalf.com> <20220609110337.1238762-2-jaz@semihalf.com> In-Reply-To: From: Grzegorz Jaszczyk Date: Fri, 10 Jun 2022 13:36:41 +0200 Message-ID: Subject: Re: [PATCH 1/2] x86: notify hypervisor about guest entering s2idle state To: 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 , Mario Limonciello , 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,URIBL_BLOCKED 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 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 folks. 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. > > 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 write > 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. Best regards, Grzegorz