From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 246C8CCF9FA for ; Fri, 31 Oct 2025 09:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jvhXGBzz9Dw/lIVdeOIl83cJs46qHla6I24Pr6+GMSI=; b=gY5nItVD0ItRq/ MWxihMpQUdwYPtF5KZf8DRXAsROU6T5xKERPhHYLhNBOPoqKp/jp+NcA468M6ESI1xBLKRuRtwnha uKoZNoX7Dr7a94Ki3y9zKEs7TvkxehrsYVd7oHnRYEo2NsVqv8uAzvTd8EIjjR2WWiLq2gsaSYLo+ fCGChHK2oJhzvtXEwiSZX5lQ+zP4YNdRyQ98IAa+ktGVX5FDjU9n5wMdqr8kZ6cgkndseE3gRhanC AMenBwyDjr8/5vtbsZ1B4se8e4yyHpRctLaLKrP0wOkC4uHgIm3DWuBGbhzVGkmystzZncipRFLTo zJGAzAPmdZ9LJLE8B9pw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vElEC-00000005myc-3hBV; Fri, 31 Oct 2025 09:15:24 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vElEB-00000005my5-3GVR; Fri, 31 Oct 2025 09:15:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; b=HKefvg7EDXbPfBs+iJg6JYbc2e jnq2ouAp//9vvt29M6RoqH20eb1KlV1AY9FwyQLyclhAgNxdbGgR7nJwTxn0CuGMWDrteFOC3bnkK bXQBJ3IkDCm1oR+KW5TFC9fZrtj5TaMSnu8JBJ3n4Hf+aFBkU6qltx6K4UMkhC5XODSZFjngyCR9B k/sJHpsB7LIUV0HF4tvgzEvBKakrkOuHh1VU+Ss43L3st5R5EW1kSfMDzccxuv3FzuZm9HpPK6AJc PeS1BbVRLhe22CldJJJyMF30fpgW3xy0O8LqEJOmoZW6EPq3mmVV4YE1AsAM2GJ5ajLcDPq9zftxV f9ufiNWA==; Received: from mgamail.intel.com ([198.175.65.9]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vEkMP-0000000AsVG-24uA; Fri, 31 Oct 2025 08:19:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761902120; x=1793438120; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; b=WcCj5oD0u3zhbShu6vPwdHnGv45HkFutP4XpTLr9oQ+lqdLQ/nb6DySR uVUvXaiD/VpZiPDt96Mkgl65WCWkb45dA10EAbNra0ic8m7tQqSKH7ZS7 xxSOgkk7UHhGeQPye025TecTI1ONC0WvNiQ3ElThXIgT0+C5JGG+k5wdi EM+XVIvSThBDvxmc3KaEqqJ+2aSFGZiJ/U6RgQBYNWb6y9/jKi/UL8D9C j2DJVFbUVI25vFVZ2fefHwONQCyGAg7JE+WVhuxSN+NBwbqZuo/eJLqYo CxiY1T6UETb+ozqpZVi8Pe67mwn9RK8ROVIPXqNeobovDjpe5AER8fbq1 g==; X-CSE-ConnectionGUID: 3s/SO0FiS6uvvHQTkJryvA== X-CSE-MsgGUID: CFDetKpPTfajPX7W5VXg3Q== X-IronPort-AV: E=McAfee;i="6800,10657,11598"; a="86683964" X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="86683964" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:18 -0700 X-CSE-ConnectionGUID: /aUTuTUZR1CXvXYAACxkEg== X-CSE-MsgGUID: 8/kgW76KTTCO7UxJ6gCbbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="186125404" Received: from binbinwu-mobl.ccr.corp.intel.com (HELO [10.124.240.28]) ([10.124.240.28]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:09 -0700 Message-ID: Date: Fri, 31 Oct 2025 17:15:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 23/28] KVM: TDX: Convert INIT_MEM_REGION and INIT_VCPU to "unlocked" vCPU ioctl To: Sean Christopherson Cc: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Madhavan Srinivasan , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Paolo Bonzini , "Kirill A. Shutemov" , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Ira Weiny , Kai Huang , Michael Roth , Yan Zhao , Vishal Annapurve , Rick Edgecombe , Ackerley Tng References: <20251030200951.3402865-1-seanjc@google.com> <20251030200951.3402865-24-seanjc@google.com> Content-Language: en-US From: Binbin Wu In-Reply-To: <20251030200951.3402865-24-seanjc@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251031_081950_174619_4CFA0253 X-CRM114-Status: UNSURE ( 4.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+kvm-riscv=archiver.kernel.org@lists.infradead.org On 10/31/2025 4:09 AM, Sean Christopherson wrote: > Handle the KVM_TDX_INIT_MEM_REGION and KVM_TDX_INIT_VCPU vCPU sub-ioctls > in the unlocked variant, i.e. outside of vcpu->mutex, in anticipation of > taking kvm->lock along with all other vCPU mutexes, at which point the > sub-ioctls _must_ start without vcpu->mutex held. > > No functional change intended. > > Reviewed-by: Kai Huang > Co-developed-by: Yan Zhao > Signed-off-by: Yan Zhao > Signed-off-by: Sean Christopherson Reviewed-by: Binbin Wu -- kvm-riscv mailing list kvm-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kvm-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCF11330301; Fri, 31 Oct 2025 09:15:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761902120; cv=none; b=QyMNmID3oQIYoLdD6Wt6rRpkrKXtTa06BBS9ulnBz5mPAb8kyfXE8xIS4g1twNsH/CS0DfJ9FkYkSfjwwXPP0IBV4xP11OOaWkH56DiNhdbDcsSe3YCe8h7iXNZcF6eQ51IrConTWt6FTThrIqobVy955TNxnKnK8zaYx7OS5tA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761902120; c=relaxed/simple; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=c9C1UDxoEHwUyQmv1D+LQAUUnt2PTQUYWt0bbtGmEgr482vO+gZULXLC8jfq+sZyID6vA6eiqjiTJlMBfySojJdsJ1NtYf92NQ33UJly4aFkflDG4plhnc8vVyly/VBTZmqXI20UlnO1GNmEsDzY3KQF4fW3HX3RMBLDfYLoi2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=D+Nqw+rY; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="D+Nqw+rY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761902117; x=1793438117; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; b=D+Nqw+rY0wa4bOpWPLtgf4xEKdtWcpLUQmgzTJdTFY5FWFJnmdkwfPJk d808mKpNrfpmwlAqX2BrUP24bSByBnS2nzGsmPnnstY61c2jRGqR/weiE LqbhB5Fn+s/TJrwsuQ9IcM+fVFKwz4wMAyeCSkiNNRZ+qRRzUYPjVN/6T bKywHE9JNSf0UbkBy4oDxNDnoOyCKWwXUU5BvmVx5QWEObVMXZTBXbEG+ 6M3Petvu7Spefstw111fXahEqG1VWihgbSvAZgT2bFqn2J12ZueDUMbgq eOi+zt90wqdRJt9FSEY2JngnMh/5E2pwjDUe2sV4S0wPyze5sHvZT0OB7 w==; X-CSE-ConnectionGUID: UUmjQFmNT5Gas30EyYrpqA== X-CSE-MsgGUID: KJ8NPh4YQ4O9M9SbSwJ3gQ== X-IronPort-AV: E=McAfee;i="6800,10657,11598"; a="81471336" X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="81471336" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:17 -0700 X-CSE-ConnectionGUID: /aUTuTUZR1CXvXYAACxkEg== X-CSE-MsgGUID: 8/kgW76KTTCO7UxJ6gCbbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="186125404" Received: from binbinwu-mobl.ccr.corp.intel.com (HELO [10.124.240.28]) ([10.124.240.28]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:09 -0700 Message-ID: Date: Fri, 31 Oct 2025 17:15:06 +0800 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 23/28] KVM: TDX: Convert INIT_MEM_REGION and INIT_VCPU to "unlocked" vCPU ioctl To: Sean Christopherson Cc: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Madhavan Srinivasan , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Paolo Bonzini , "Kirill A. Shutemov" , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Ira Weiny , Kai Huang , Michael Roth , Yan Zhao , Vishal Annapurve , Rick Edgecombe , Ackerley Tng References: <20251030200951.3402865-1-seanjc@google.com> <20251030200951.3402865-24-seanjc@google.com> Content-Language: en-US From: Binbin Wu In-Reply-To: <20251030200951.3402865-24-seanjc@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/31/2025 4:09 AM, Sean Christopherson wrote: > Handle the KVM_TDX_INIT_MEM_REGION and KVM_TDX_INIT_VCPU vCPU sub-ioctls > in the unlocked variant, i.e. outside of vcpu->mutex, in anticipation of > taking kvm->lock along with all other vCPU mutexes, at which point the > sub-ioctls _must_ start without vcpu->mutex held. > > No functional change intended. > > Reviewed-by: Kai Huang > Co-developed-by: Yan Zhao > Signed-off-by: Yan Zhao > Signed-off-by: Sean Christopherson Reviewed-by: Binbin Wu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BA34CCF9FF for ; Fri, 31 Oct 2025 09:15:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s7nNz/RDiU+5Dh2V/HeNGu8M1i5Tp5P6gSnISJDKf24=; b=CpgamvzbUbXBrs MGe3IOweL6+/jO9HRjNLegEsIe7HZLCVOFhAXOkwuPSmYJ1HTqrmg59fv0YBw47LzhMplQwdLW8YV u2CMSdi/1LPvmPwcqK1yJ745s/jQ+hL76NMgWH6+i8HQeeCFc0ghjPwcX2sSaz49/iw28bXA1UwM2 XH1ysf//mlMYxDUWVVbnYZ3FT+P8UO1ij+2ezcnfSJyR8Qzb0T191rA6f7fG3BnjA7qeQD2DDe2sl D3oUoD+u9z/xm0c/9BFV8NWfQEsvp1OirrNo8Sqab+cRliQAZwu3mswrEq46xE/DCYBnoSkNy29VK bjAh4EQ3aUj04Dirn2hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vElED-00000005mz1-3Ljy; Fri, 31 Oct 2025 09:15:25 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vElEB-00000005my5-3GVR; Fri, 31 Oct 2025 09:15:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; b=HKefvg7EDXbPfBs+iJg6JYbc2e jnq2ouAp//9vvt29M6RoqH20eb1KlV1AY9FwyQLyclhAgNxdbGgR7nJwTxn0CuGMWDrteFOC3bnkK bXQBJ3IkDCm1oR+KW5TFC9fZrtj5TaMSnu8JBJ3n4Hf+aFBkU6qltx6K4UMkhC5XODSZFjngyCR9B k/sJHpsB7LIUV0HF4tvgzEvBKakrkOuHh1VU+Ss43L3st5R5EW1kSfMDzccxuv3FzuZm9HpPK6AJc PeS1BbVRLhe22CldJJJyMF30fpgW3xy0O8LqEJOmoZW6EPq3mmVV4YE1AsAM2GJ5ajLcDPq9zftxV f9ufiNWA==; Received: from mgamail.intel.com ([198.175.65.9]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vEkMP-0000000AsVG-24uA; Fri, 31 Oct 2025 08:19:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761902120; x=1793438120; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=PEZyjCEAirGsnd1ualshLT165jeP3bC2ATQpTmkSqys=; b=WcCj5oD0u3zhbShu6vPwdHnGv45HkFutP4XpTLr9oQ+lqdLQ/nb6DySR uVUvXaiD/VpZiPDt96Mkgl65WCWkb45dA10EAbNra0ic8m7tQqSKH7ZS7 xxSOgkk7UHhGeQPye025TecTI1ONC0WvNiQ3ElThXIgT0+C5JGG+k5wdi EM+XVIvSThBDvxmc3KaEqqJ+2aSFGZiJ/U6RgQBYNWb6y9/jKi/UL8D9C j2DJVFbUVI25vFVZ2fefHwONQCyGAg7JE+WVhuxSN+NBwbqZuo/eJLqYo CxiY1T6UETb+ozqpZVi8Pe67mwn9RK8ROVIPXqNeobovDjpe5AER8fbq1 g==; X-CSE-ConnectionGUID: 3s/SO0FiS6uvvHQTkJryvA== X-CSE-MsgGUID: CFDetKpPTfajPX7W5VXg3Q== X-IronPort-AV: E=McAfee;i="6800,10657,11598"; a="86683964" X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="86683964" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:18 -0700 X-CSE-ConnectionGUID: /aUTuTUZR1CXvXYAACxkEg== X-CSE-MsgGUID: 8/kgW76KTTCO7UxJ6gCbbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,269,1754982000"; d="scan'208";a="186125404" Received: from binbinwu-mobl.ccr.corp.intel.com (HELO [10.124.240.28]) ([10.124.240.28]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Oct 2025 02:15:09 -0700 Message-ID: Date: Fri, 31 Oct 2025 17:15:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 23/28] KVM: TDX: Convert INIT_MEM_REGION and INIT_VCPU to "unlocked" vCPU ioctl To: Sean Christopherson Cc: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Madhavan Srinivasan , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Paolo Bonzini , "Kirill A. Shutemov" , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, x86@kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org, Ira Weiny , Kai Huang , Michael Roth , Yan Zhao , Vishal Annapurve , Rick Edgecombe , Ackerley Tng References: <20251030200951.3402865-1-seanjc@google.com> <20251030200951.3402865-24-seanjc@google.com> Content-Language: en-US From: Binbin Wu In-Reply-To: <20251030200951.3402865-24-seanjc@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251031_081950_174619_4CFA0253 X-CRM114-Status: UNSURE ( 4.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 10/31/2025 4:09 AM, Sean Christopherson wrote: > Handle the KVM_TDX_INIT_MEM_REGION and KVM_TDX_INIT_VCPU vCPU sub-ioctls > in the unlocked variant, i.e. outside of vcpu->mutex, in anticipation of > taking kvm->lock along with all other vCPU mutexes, at which point the > sub-ioctls _must_ start without vcpu->mutex held. > > No functional change intended. > > Reviewed-by: Kai Huang > Co-developed-by: Yan Zhao > Signed-off-by: Yan Zhao > Signed-off-by: Sean Christopherson Reviewed-by: Binbin Wu _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv