From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiaoyao Li Date: Wed, 28 Feb 2024 08:14:46 +0800 Subject: [PATCH v9 07/11] KVM: selftests: Allow tagging protected memory in guest page tables In-Reply-To: <20240223004258.3104051-8-seanjc@google.com> References: <20240223004258.3104051-1-seanjc@google.com> <20240223004258.3104051-8-seanjc@google.com> Message-ID: <75d37243-e2a3-421a-b74f-ccbe307fef96@intel.com> List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 2/23/2024 8:42 AM, Sean Christopherson wrote: ... > diff --git a/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > new file mode 100644 > index 000000000000..218f5cdf0d86 > --- /dev/null > +++ b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H > +#define _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H Since the file name is changed from kvm_host.h (in v7) to kvm_util_arch.h, we need to update it as well. Ditto for other archs > +struct kvm_vm_arch {}; > + > +#endif // _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (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 B7640184F for ; Wed, 28 Feb 2024 00:14:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709079299; cv=none; b=TshFQYehgUp+na5ItJhU26bpF84Dslp1GVTANfMHuKWE8a+GAdm+jVnOMp9Ju5WV9cCkC1y1zg0Y9yigNUkBUA8AAPMeBRT9yZ60gu6IzL/vcmFu7f2WRiXksVRJXXLNFr+g+RIeOEmkSRYEYhxej+qMKe2MZo/IviRf/1P4EjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709079299; c=relaxed/simple; bh=rx8auOqwAhy8kMX7uwjsnwlR7SlEVNwlATa6UTNue6E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JLrLkVfPvVXWIT2J5Z6RFJFA48dmEa5Rnrk+v1EDarryoIfsZy5/RMKwUx0ad/bGhPXi+D+duhgoq4JLu5MX0OCeq3vUN1Hm/ohvWKNTW3gVbM3pQyhtRc+7LauAucJ0z9wCfiFkWRok0q95rmWQlYQBjx3xmAni3kPMSOnMPQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=I79RQkRv; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="I79RQkRv" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709079298; x=1740615298; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=rx8auOqwAhy8kMX7uwjsnwlR7SlEVNwlATa6UTNue6E=; b=I79RQkRv3EdJ0Zc0kxSylFjd2E7hbYH6GLLbFlAHmtVOiqu6s++EGCkp paXbz6/OvKbkBX449Obi/gQziPM6ylRzZHkdJrvteBS3JmcS9MYgdxLBK u3+xSCPU33xmJ+y7VF4Z1RlrplmwUuncngwJ7TxhCOlkfyh8euR/uDvEf o2wPYuciqznsXy5YkFGAEK1aeuwFzioHnhcEiPedOCC2FQPZq+axouChl 8wUQlXVOl3rMFoq9/WjRqI5fwS+HoeRaLaGD2kPkpa6FFU24nN5FyK2PE +LYc7hwTRCOOGPuxudT7A8oYzgPW0MTHoyutWxRPMgfchD4EUFGHxUTDO w==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3617017" X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="3617017" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="11890341" Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.125.243.127]) ([10.125.243.127]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:49 -0800 Message-ID: <75d37243-e2a3-421a-b74f-ccbe307fef96@intel.com> Date: Wed, 28 Feb 2024 08:14:46 +0800 Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 07/11] KVM: selftests: Allow tagging protected memory in guest page tables Content-Language: en-US To: Sean Christopherson , Paolo Bonzini , Marc Zyngier , Oliver Upton , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Vishal Annapurve , Ackerley Tng , Andrew Jones , Tom Lendacky , Michael Roth , Carlos Bilbao , Peter Gonda , Itaru Kitayama References: <20240223004258.3104051-1-seanjc@google.com> <20240223004258.3104051-8-seanjc@google.com> From: Xiaoyao Li In-Reply-To: <20240223004258.3104051-8-seanjc@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/23/2024 8:42 AM, Sean Christopherson wrote: ... > diff --git a/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > new file mode 100644 > index 000000000000..218f5cdf0d86 > --- /dev/null > +++ b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H > +#define _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H Since the file name is changed from kvm_host.h (in v7) to kvm_util_arch.h, we need to update it as well. Ditto for other archs > +struct kvm_vm_arch {}; > + > +#endif // _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H 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 72DA4C54E49 for ; Wed, 28 Feb 2024 00:15:13 +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=+niDqTrk8Q43AqmpqGuVFqNWUQA59MccIv+ROAdIkTA=; b=OyX0K/QyT0lBY+ Dxvx5kqXm0xjj9uJtYjD58YNV0660ZB5ktpWY+i/EA52EOHz9KeXuXZB+OmI7WwZHu04rdK49p/sA rz4HU3c2k/VaF+JavQFmG+nm3cBb7pBh1WHOS0X2OfBMfacS8AK3l8zJLSaXbWPJNn1Qi6SYI/7uF +17FB1lpqgTmflK9cojVqqkaNnCk+SLaq5U+xGs8ia9Zs4logCC1Y/iCm/MqAE81Hy+4OJslt0PH8 uwPh4av1Cg34PuIKVpj0YN5QA146wPGYSkvb0wGq3MPtyzsnxFHY7GG0fDmBGxrMcG2GSz2Uj3wXE 4sXcEtBcEzUK46wpclGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf7bE-00000007Mu6-2IAd; Wed, 28 Feb 2024 00:15:04 +0000 Received: from mgamail.intel.com ([192.198.163.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf7bA-00000007Mss-2G0c; Wed, 28 Feb 2024 00:15:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709079300; x=1740615300; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=rx8auOqwAhy8kMX7uwjsnwlR7SlEVNwlATa6UTNue6E=; b=RHqXMEJkSDZGDuCdDjmNNEIq67+6uRPyPEQTgVfW5yG4sAiUQ3iZ7bYa RRkTZ9DuscCV0U722rNMDhhST2491i8WXSrfqfeiy4sahnKkjlpjDVxrL R7Xv2c4vjrtverFvXlNGT07QG5SdCyuQSs7f5gsSTqy6VBILSgZkx8mgg PAnA2uIbMPSlPO49849KWTIaFWTLWRRFb6AfjFL4WhV5BI+qvZ7mDo+sB NJayldyVKGUNWcy/fPYIAOnePRX5z36dXoADkgi9YodAZ6F1EvlZS1Rm7 vGvsxgF6jIMFQ514xXRLKcnr2P9GzjBuLOV6I8QFNTLqbpVp/c6P4oNUN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3617019" X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="3617019" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="11890341" Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.125.243.127]) ([10.125.243.127]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:49 -0800 Message-ID: <75d37243-e2a3-421a-b74f-ccbe307fef96@intel.com> Date: Wed, 28 Feb 2024 08:14:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 07/11] KVM: selftests: Allow tagging protected memory in guest page tables Content-Language: en-US To: Sean Christopherson , Paolo Bonzini , Marc Zyngier , Oliver Upton , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Vishal Annapurve , Ackerley Tng , Andrew Jones , Tom Lendacky , Michael Roth , Carlos Bilbao , Peter Gonda , Itaru Kitayama References: <20240223004258.3104051-1-seanjc@google.com> <20240223004258.3104051-8-seanjc@google.com> From: Xiaoyao Li In-Reply-To: <20240223004258.3104051-8-seanjc@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_161500_638683_BA25553E X-CRM114-Status: UNSURE ( 8.72 ) 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 2/23/2024 8:42 AM, Sean Christopherson wrote: ... > diff --git a/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > new file mode 100644 > index 000000000000..218f5cdf0d86 > --- /dev/null > +++ b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H > +#define _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H Since the file name is changed from kvm_host.h (in v7) to kvm_util_arch.h, we need to update it as well. Ditto for other archs > +struct kvm_vm_arch {}; > + > +#endif // _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv 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 082BDC54798 for ; Wed, 28 Feb 2024 00:15:20 +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=upkmVKSnU2BYy/lcfsSddw/xOcS0xuX+75g6AojNsbE=; b=eE7QlZltfikUhd kb95l4Ho9JCGd9B7ikFesmnOEGyLXHftDo09ZoyY2osQC6hCYDK32D1yB83LSw6BwQ+E9hoKs1KZD ujzT1m1OdA9iYLwgOjWWA47OTbo6TimCSNyhvCk8mBfdtfgUK8g+5VTNEpFUEjFTJjBuRHPq+ROFB UY6riQvTXIcv8/hz8hGqz3TZLld4ryM8jkb12x/MdhbVjU3EeF0c+jJvWhHlrJmPx9Q3+BtFeXJxh oAqbs7zPyeIdP5gglyAO8vJHzDgTgtynj1n4cAbGuSgGtc2CUh8WCxI5GkUIZyTu7pLLKqOY38sOt q93H7rmLOaHYmED+irag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf7bD-00000007Mtg-1vT1; Wed, 28 Feb 2024 00:15:03 +0000 Received: from mgamail.intel.com ([192.198.163.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf7bA-00000007Mss-2G0c; Wed, 28 Feb 2024 00:15:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709079300; x=1740615300; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=rx8auOqwAhy8kMX7uwjsnwlR7SlEVNwlATa6UTNue6E=; b=RHqXMEJkSDZGDuCdDjmNNEIq67+6uRPyPEQTgVfW5yG4sAiUQ3iZ7bYa RRkTZ9DuscCV0U722rNMDhhST2491i8WXSrfqfeiy4sahnKkjlpjDVxrL R7Xv2c4vjrtverFvXlNGT07QG5SdCyuQSs7f5gsSTqy6VBILSgZkx8mgg PAnA2uIbMPSlPO49849KWTIaFWTLWRRFb6AfjFL4WhV5BI+qvZ7mDo+sB NJayldyVKGUNWcy/fPYIAOnePRX5z36dXoADkgi9YodAZ6F1EvlZS1Rm7 vGvsxgF6jIMFQ514xXRLKcnr2P9GzjBuLOV6I8QFNTLqbpVp/c6P4oNUN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="3617019" X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="3617019" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,189,1705392000"; d="scan'208";a="11890341" Received: from xiaoyaol-hp-g830.ccr.corp.intel.com (HELO [10.125.243.127]) ([10.125.243.127]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 16:14:49 -0800 Message-ID: <75d37243-e2a3-421a-b74f-ccbe307fef96@intel.com> Date: Wed, 28 Feb 2024 08:14:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 07/11] KVM: selftests: Allow tagging protected memory in guest page tables Content-Language: en-US To: Sean Christopherson , Paolo Bonzini , Marc Zyngier , Oliver Upton , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Vishal Annapurve , Ackerley Tng , Andrew Jones , Tom Lendacky , Michael Roth , Carlos Bilbao , Peter Gonda , Itaru Kitayama References: <20240223004258.3104051-1-seanjc@google.com> <20240223004258.3104051-8-seanjc@google.com> From: Xiaoyao Li In-Reply-To: <20240223004258.3104051-8-seanjc@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_161500_638683_BA25553E X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/23/2024 8:42 AM, Sean Christopherson wrote: ... > diff --git a/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > new file mode 100644 > index 000000000000..218f5cdf0d86 > --- /dev/null > +++ b/tools/testing/selftests/kvm/include/aarch64/kvm_util_arch.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H > +#define _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H Since the file name is changed from kvm_host.h (in v7) to kvm_util_arch.h, we need to update it as well. Ditto for other archs > +struct kvm_vm_arch {}; > + > +#endif // _TOOLS_LINUX_ASM_ARM64_KVM_HOST_H _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel