From patchwork Thu Mar 24 11:39:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Elisei X-Patchwork-Id: 12790614 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 2F3A6C433F5 for ; Thu, 24 Mar 2022 11:40:49 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7hO82+65/0CxIlRUlwwcgKti3zVnsFOMi6hiagotKp4=; b=YZ5+RkHHsBuswh sOoWrugEsLDWut6rn5GlSfg5UJgkByqzzVEuqnDbVrcTII6pcUT3qMQFdzKhbaIHTe9OXmYjZgqMh QU8y6G/Jc1r8Wgu0FNswfMGS378XwnmIlSy3AUJm/wio11aV+KOzDt718b9IQiP1AyyRdx4HtfNP0 +59AUXNJn14N8llL4JZ4X+Sczlh2tz6UYZPyYhFQBVtDCdaGFDtTzNJvSUexr1g6Fh+vWJJbpp+Fs d1CMiS5ZK5cBMaJ2IVuwBfix5q9rUkdP33VXb3vocutDcD3tQrmkcNmyr0dB6PoL9WpkPVQtJ0qHM 8RUQIaaeHjA7HMj/Tpqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXLoP-00GMPL-Ne; Thu, 24 Mar 2022 11:39:29 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXLoM-00GMOR-UE for linux-arm-kernel@lists.infradead.org; Thu, 24 Mar 2022 11:39:28 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AC84E11FB; Thu, 24 Mar 2022 04:39:24 -0700 (PDT) Received: from monolith.localdoman (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8F4783F73D; Thu, 24 Mar 2022 04:39:23 -0700 (PDT) From: Alexandru Elisei To: will@kernel.org, julien.thierry.kdev@gmail.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, steven.price@arm.com Subject: [kvmtool PATCH v2 0/2] arm64: Add MTE support Date: Thu, 24 Mar 2022 11:39:40 +0000 Message-Id: <20220324113942.24217-1-alexandru.elisei@arm.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220324_043927_045116_2367F148 X-CRM114-Status: UNSURE ( 8.21 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Memory Tagging Extension (MTE) support in kvmtool. Changes since v1: * Update headers to v5.17 * MTE capability is now enabled by default and the command line option --disable-mte has been added. Alexandru Elisei (2): update_headers.sh: Sync ABI headers with Linux v5.17 aarch64: Add support for MTE arm/aarch32/include/kvm/kvm-arch.h | 3 +++ arm/aarch64/include/asm/kvm.h | 5 +++++ arm/aarch64/include/kvm/kvm-arch.h | 1 + arm/aarch64/include/kvm/kvm-config-arch.h | 2 ++ arm/aarch64/kvm.c | 23 +++++++++++++++++++++++ arm/include/arm-common/kvm-config-arch.h | 1 + arm/kvm.c | 2 ++ include/linux/kvm.h | 18 ++++++++++++++++++ x86/include/asm/kvm.h | 19 ++++++++++++++++++- 9 files changed, 73 insertions(+), 1 deletion(-)