Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4460rwi; Wed, 12 Oct 2022 15:03:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZAv1PSe0HRcfUC92C3M3jEFiMFiV5yHh2O2DzFAWep/Udne3lASFJ5OOZVSguCGj/P/tJ X-Received: by 2002:a05:6402:2791:b0:45c:2675:7fe4 with SMTP id b17-20020a056402279100b0045c26757fe4mr14951368ede.409.1665612181969; Wed, 12 Oct 2022 15:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665612181; cv=none; d=google.com; s=arc-20160816; b=i37p8lEZHwv/igosDdLM0laISVniLn7F5Xoqwo59NVD/IHod+L0hoDiSI6cv3hBBKA FNWqe2LA/P7ie/bhGvXLPeg2kABlxB8rhFQuq4hmFbNfJ7Ufod/VqGEf2RrjalIq4KUf 97mXCDlORcS3JK/ZYmc1ilLEJaL9Mg3/YhlGA47f8aZXd3kwhDrTP+wJk/9bQXnkAD/p t2zYGxJu+HO4Ciik9c0z5TFpbp8vJ3bOd7pGfvvsb5YIZ+IEFR56VL2/hmzIqReP1cWL eH2k1/60YFUIqHbtpFT/2KZWqu6feX+YxEpEzXY8nkIL1ZilZKCJhkSXui/SXOhzOOeP 1BYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wjaTEfJW5Bp0cQ1SgqTjNeIGFXK/pZcyrdaMaR+Pa9k=; b=sde9Q2fj9sVoCK8A1iZy/wGmtu/XacfE4XObcFU+rJsU4ZkwL6DumQCpD3+NI5ZOOh ZipQVKANT9ump6ZE8vQHJkHUCHdTHxEOXgpcd008bDpdFASkPKPuXQICgKcriHSsSLQP 6V3X3qKuWoWKzxiW2ZbYjMoUVU/io+TSVx1sATGgzLNVBa4SfLv3T+ypA7CPtDgl4lIy ZXN+GOTApbnNi+fGOqn8AmK46Z7so8iDOCvo39jvpwUlWTAS2H4Qh07GcUGK4v/vAiAy AuyU01dj4CoESL3yXV4OZkjiu8mf+HScY/6IlmyS3G4BsODphp33+nVVlnSWuRcJFut1 ch1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=VL2awoho; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020aa7cf10000000b0045cc9072f14si1237443edy.8.2022.10.12.15.02.28; Wed, 12 Oct 2022 15:03:01 -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=@google.com header.s=20210112 header.b=VL2awoho; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbiJLVKK (ORCPT + 99 others); Wed, 12 Oct 2022 17:10:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229711AbiJLVKH (ORCPT ); Wed, 12 Oct 2022 17:10:07 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F281840E1A for ; Wed, 12 Oct 2022 14:10:06 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id n7so51215plp.1 for ; Wed, 12 Oct 2022 14:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wjaTEfJW5Bp0cQ1SgqTjNeIGFXK/pZcyrdaMaR+Pa9k=; b=VL2awohoutj1yH/bSjK02iCcRXB1F+Uyl/PBoTnn92KaWqwAjytTQXjB0yJFTij60T CE9SdcPfR/FgTAJ3lf5kHS4GOp9EUfcwk0ekcdwOxYkJJfzaV+q9SvS00M1cripbMq6J K+QfHkx2H07aCvO2qwT3caw3ME5HN+rTUN8x0p5sAIfdtmLpyUy8DlfHP9DDB5NO7P0Z ahxQxYFUdIK1kS1/K7Quz5P1/3DcOJtaHNGhBVyKgrOdPfb0rR1Vsxty96tFPnKgsShj SsmspqcD7OCL4c+k6C6GZG0FsHr+nJvAhnCeFmvachLNmC+8ISwHICBa6DMzbxIhZjsd 2ULQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wjaTEfJW5Bp0cQ1SgqTjNeIGFXK/pZcyrdaMaR+Pa9k=; b=MVxjEV1NhpN+h590DvY1V7qg8nkEq+XKEJ0NDbIVx1Vo+rp4Ug5QrnmEd32pcFeBrj lPCZItW/7HeocLAuOCJVCXdxuwF2XHxArJ7rzPPuqr2I9uIWnIM9Lm4Em/xElyMVX4oj /T2+L8/NK8eTmF6cM11vsIpgQqwTC1Vxjr8vG44zN/k6eblOr4YD2TTCWGIvy9sr2IbV nYjpLBtVtcXA63c3TPNdWsh7YPjJVktyIfJzjtVLCL2heiEUm0PqA3r3jxVle4jBW/2F Ry/nEnZUSszhJaZV9q9EDMAV7atuGU56xnmDLXCty1a5AMY1+8wkuot9TRyZ6HeAE9xS JdUw== X-Gm-Message-State: ACrzQf1hZ722phQyJ79G5kDQ5Cf+zvkGQp5NgohFs3syHjbStyS5bpYM uCTn4s5+f3l5n6UsYGdYWYTY/g== X-Received: by 2002:a17:903:244c:b0:183:afb6:e803 with SMTP id l12-20020a170903244c00b00183afb6e803mr10356683pls.164.1665609006386; Wed, 12 Oct 2022 14:10:06 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id h19-20020aa796d3000000b0056126b79072sm337513pfq.21.2022.10.12.14.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 14:10:05 -0700 (PDT) Date: Wed, 12 Oct 2022 21:10:02 +0000 From: Sean Christopherson To: isaku.yamahata@intel.com Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Thomas Gleixner , Marc Zyngier , Will Deacon , isaku.yamahata@gmail.com, Kai Huang , Chao Gao , Atish Patra , Shaokun Zhang , Daniel Lezcano , Huang Ying , Huacai Chen , Dave Hansen , Borislav Petkov Subject: Re: [PATCH v5 17/30] KVM: Move out KVM arch PM hooks and hardware enable/disable logic Message-ID: References: <245445b7326fb86cdae11ad2709d5f3dac3c9e53.1663869838.git.isaku.yamahata@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <245445b7326fb86cdae11ad2709d5f3dac3c9e53.1663869838.git.isaku.yamahata@intel.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Thu, Sep 22, 2022, isaku.yamahata@intel.com wrote: > From: Isaku Yamahata > > To make clear that those files are default implementation Heh, this is debatable, I was quite confused/surprised by seeing kvm_arch.c. It's also incomplete, which is further confusing, since there are a lot of default hooks that are left behind. And we most definitely don't want to move all of them, since many of those hooks are pure nops, i.e. get completely compiled out. Given that we want this code to go away sooner than later, I don't think adding a temporarily to-be-deleted file makes sense.