Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp241965rwi; Wed, 2 Nov 2022 11:21:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4P3hC4uorbTum5cN+BtSJVS6/2GJwpUXQF+6538YcuObB/hd0l2G/0VPJHPD+UVxkReLut X-Received: by 2002:aa7:d91a:0:b0:462:d2f6:26c6 with SMTP id a26-20020aa7d91a000000b00462d2f626c6mr26597681edr.180.1667413300817; Wed, 02 Nov 2022 11:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667413300; cv=none; d=google.com; s=arc-20160816; b=d9dM64x4A3blyoJc/ZsB12nmRaYC4KdOdUxC49iln748VoA0T6dwXIHjL3a9zYyXJ9 1aiEQFKhXnyqvT1jGxgVUbNFcsb9SZZNkVbHFoKgQJ34YZo1onvWVxoJTEUIAul9ChjT MD16Ljhq0QHr6W2rX85v9/UU1RHHOrW0M1u4o/6tjzfGVFoKW6BK5MFxUugYXOW/XAqQ o2EVnbxhYWa82mXz585hmXm21PC6Ywb2SbvGX7lI6guVBtB0exn2G5I14QG6BRCCa8qO ruirMP0PL0xrivxtKq7bPYODI/NMd4mP03fjOSeliemWyRiVZyW4FpusmhESFcXPJJ1j /o9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=rZLin+6zqvHrZ8CgUW/yAEyIB1rKlX4aLd8xn0BEv8I=; b=QuJiE83ebQ65X4nk3fUPIxJECOgfuctyXsYsWAuEQ39mlRayrNa8ws2/PkpvZKoInx oq5isFhTP1rgbzpfmzIETqA8U7z+BlLktJRkI1NytrHUXAmxc9D3xS3WMxubf9HXuhem 2R1g3gTH48RGufFMpECkR05C9T93zoEC4yMBr4046k5ECmN/lrOBwCck440IBUybfwj9 iMrK4eROtG2vuNiGTPqX5ES6p5UE6YZkYy5/NsK/o7XzLz7b+m7p9NwQ/jDPYLSMCpBS BbDd1fLL5W0NhpUpG88KL8YGgUNjZCGZcXnyWhGoaI+SEGh0i5eX6q4WDdEqU8R83SLS yNSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=X0hIgcY5; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p26-20020a50cd9a000000b004623028c586si15759832edi.141.2022.11.02.11.20.41; Wed, 02 Nov 2022 11:21:40 -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=@redhat.com header.s=mimecast20190719 header.b=X0hIgcY5; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230507AbiKBSEF (ORCPT + 99 others); Wed, 2 Nov 2022 14:04:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbiKBSDw (ORCPT ); Wed, 2 Nov 2022 14:03:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEE492EF40 for ; Wed, 2 Nov 2022 11:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667412172; 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=rZLin+6zqvHrZ8CgUW/yAEyIB1rKlX4aLd8xn0BEv8I=; b=X0hIgcY5RqWjrj0JRxnpwQP/5qpG7x7ZxjnpchbNYSvqnccO2zi9IJbSvDroJgTznESFc/ r+nYUB8bCdt3A/ZKf0l40x66A3bQVDDim5GRYJVwpaLUB8shA/7ZcELeXrif0PGX21BgHI VoMgUD+TWWCClF6/Dbb0UcOs/f7OClg= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-350-BF5FEs1WOfW0Y5hOs_gr2A-1; Wed, 02 Nov 2022 14:02:50 -0400 X-MC-Unique: BF5FEs1WOfW0Y5hOs_gr2A-1 Received: by mail-ej1-f69.google.com with SMTP id xj11-20020a170906db0b00b0077b6ecb23fcso10294158ejb.5 for ; Wed, 02 Nov 2022 11:02:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rZLin+6zqvHrZ8CgUW/yAEyIB1rKlX4aLd8xn0BEv8I=; b=guIiPK68+ZwwZfE5P1ub2QdX9cNV8uyNFlyCPGG+TpEX+5yOwSyYuNJH8ViyNwnV8Y UaT7NuwMNWssJ9nn8l3Dnd7TSfibOvrYW9jCbwhftQE5Ulican/cGEUUMFdZyckFw9xQ 0+Myuq2fM5++gYSvlh0Th5EVzsssIqiLkZgALvEfdOKIlv/Dvc5ixcZ3aGWzAZ1Vb25m +4jv+R5pbz5HopZFEtL7zuNnStKZIgG0If6OBKrrlxaU/53x9FCdbe4JYGsInCcGHO0D SDpez5eWRjfRCnnhXgxDr9+LwHA0m+HIFWlX2TiOpqxTAoVboHWw1iPMTwzlNY6c8Vlo 6bTA== X-Gm-Message-State: ACrzQf36WvlG9N6SHuAE5sqlS6K9A6iKgkGaJXuR9gazbn5kxAhOJq4j pWMZmsbFODbIesu4yZBWnIVh9pq+EQ7thvbkZE/7+zqt1vngTZb5liR5bRayfXA/zlq0/x/+f62 ZUK98wBluVibJ8YNcAsCcy+hk X-Received: by 2002:aa7:ce16:0:b0:461:865a:ae44 with SMTP id d22-20020aa7ce16000000b00461865aae44mr25199884edv.280.1667412169506; Wed, 02 Nov 2022 11:02:49 -0700 (PDT) X-Received: by 2002:aa7:ce16:0:b0:461:865a:ae44 with SMTP id d22-20020aa7ce16000000b00461865aae44mr25199833edv.280.1667412169305; Wed, 02 Nov 2022 11:02:49 -0700 (PDT) Received: from ?IPV6:2001:b07:add:ec09:c399:bc87:7b6c:fb2a? ([2001:b07:add:ec09:c399:bc87:7b6c:fb2a]) by smtp.googlemail.com with ESMTPSA id m23-20020a170906849700b0079e11b8e891sm5592338ejx.125.2022.11.02.11.02.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Nov 2022 11:02:48 -0700 (PDT) Message-ID: <38d7f8af-3cf0-0d5b-3fda-a2a3326f7b28@redhat.com> Date: Wed, 2 Nov 2022 19:02:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v5 00/30] KVM: hardware enable/disable reorganize Content-Language: en-US To: Sean Christopherson , isaku.yamahata@intel.com Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, 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 References: From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 10/14/22 06:04, Sean Christopherson wrote: > Good news (from a certain point of view): > The reason that the "generic h/w enabling" doesn't help much is because after sorting > out the myriad issues in KVM initialization, which is even more of a bug-ridden mess > than I initially thought, kvm_init() no longer has_any_ arch hooks. All the compat > checks and whatnot are handled in x86, so tweaking those for TDX should be easier, > or at the very least, we should have more options. > > Sorting everything out is proving to be a nightmare, but I think I have the initial > coding done. Testing will be fun. It'll likely be next week before I can post > anything. Hi Sean, is this the same series that you mentioned a couple hours ago in reply to Isaku? Thanks, Paolo