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 E9569C04FFE for ; Tue, 14 May 2024 22:45:38 +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:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ormiMARF1pn3Ssw9LqkATSD+nLFis3cg5eNxQlD6RQE=; b=lRZrSx6+l/ccMv TcC1xtEJiRdXt4WLiaa7R7DYAARaz9LtDz/KJa9xtHd6wbXDkXrFeojaG0D05yYu3/eL94VQuH0do VdENQo+2QlQDCnz7pwuWiNcsXjAtHXGdFfb2xQc/zfd0+1EZKSutRuxm4M2Jhd8Y/3/Wn8kCDDyhI Ym4Ndo2mcptzz3r0ujl++RnPPKf1zBvLRFdKG+9/Gy3tSVjDaX2oKOyuz2PPIJ6g0hX4F47IuOwZC rQ6bRlI9ULe+KnTRbP5zHltlrLPWen43YseRuu5mcyl+bz+xcm389qBkoIxa39yAEgNQMnS7DJNmV zTpLGk58ObT7NeBIJDyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s70tk-0000000HNMJ-2s1S; Tue, 14 May 2024 22:45:28 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s70tg-0000000HNJP-3F7b for linux-arm-kernel@lists.infradead.org; Tue, 14 May 2024 22:45:26 +0000 Received: from xps-8930.corp.microsoft.com (unknown [131.107.160.48]) by linux.microsoft.com (Postfix) with ESMTPSA id 8524D2095D0A; Tue, 14 May 2024 15:45:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8524D2095D0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1715726720; bh=qxYAU41ufrcEuk5MBvISwhpcVtWEJqX1bSnGVnSsBJA=; h=From:To:Cc:Subject:Date:From; b=hxA4XCe8Juhir+FZZpJrKKh+6AgX5CJywj6GV8Xi/9mMDaSuTJADZOUG6chVjOeoI iFIa6Lspd7PVMua/OJlt8zSCUs/T4QbGvSO/XjtyBlWqNOG/FKHivMiM5m2YwtLVoM Dmgp84jtkEDkxqeGm8kbKFXVtvJqijFdODzWecY0= From: Roman Kisel To: arnd@arndb.de, bhelgaas@google.com, bp@alien8.de, catalin.marinas@arm.com, dave.hansen@linux.intel.com, decui@microsoft.com, haiyangz@microsoft.com, hpa@zytor.com, kw@linux.com, kys@microsoft.com, lenb@kernel.org, lpieralisi@kernel.org, mingo@redhat.com, mhklinux@outlook.com, rafael@kernel.org, robh@kernel.org, tglx@linutronix.de, wei.liu@kernel.org, will@kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org Cc: ssengar@microsoft.com, sunilmut@microsoft.com, vdso@hexbites.dev Subject: [PATCH v2 0/6] arm64/hyperv: Support Virtual Trust Level Boot Date: Tue, 14 May 2024 15:43:47 -0700 Message-ID: <20240514224508.212318-1-romank@linux.microsoft.com> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240514_154524_922257_9AF182E1 X-CRM114-Status: GOOD ( 10.40 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch set enables the Hyper-V code to boot on ARM64 inside a Virtual Trust Level. These levels are a part of the Virtual Secure Mode documented in the Top-Level Functional Specification available at https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/vsm [V2] - Decreased number of #ifdef's - Updated the wording in the commit messages to adhere to the guidlines - Sending to the correct set of maintainers and mail lists Roman Kisel (6): arm64/hyperv: Support DeviceTree drivers/hv: Enable VTL mode for arm64 drivers/hv: arch-neutral implementation of get_vtl() arm64/hyperv: Boot in a Virtual Trust Level drivers/hv/vmbus: Get the irq number from DeviceTree drivers/pci/hyperv/arm64: vPCI MSI IRQ domain from DT arch/arm64/hyperv/Makefile | 1 + arch/arm64/hyperv/hv_vtl.c | 19 +++++++++++++ arch/arm64/hyperv/mshyperv.c | 40 +++++++++++++++++++++++---- arch/arm64/include/asm/mshyperv.h | 8 ++++++ arch/x86/hyperv/hv_init.c | 34 ----------------------- arch/x86/hyperv/hv_vtl.c | 2 +- arch/x86/include/asm/hyperv-tlfs.h | 7 ----- drivers/hv/Kconfig | 6 ++-- drivers/hv/hv_common.c | 43 +++++++++++++++++++++++++++++ drivers/hv/vmbus_drv.c | 37 +++++++++++++++++++++++++ drivers/pci/controller/pci-hyperv.c | 13 +++++++-- include/asm-generic/hyperv-tlfs.h | 7 +++++ include/asm-generic/mshyperv.h | 6 ++++ include/linux/acpi.h | 9 ++++++ 14 files changed, 179 insertions(+), 53 deletions(-) create mode 100644 arch/arm64/hyperv/hv_vtl.c base-commit: f2580a907e5c0e8fc9354fd095b011301c64f949 -- 2.45.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel