Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp696798rdb; Sun, 3 Sep 2023 06:39:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHROA8zekpr2YajkaXaRmbfzFwgXsdgcjwYitxEceqjgQ4QQyDyQgHxGFRII4JmYs9e6GjW X-Received: by 2002:a17:906:d14d:b0:9a5:ca17:b58d with SMTP id br13-20020a170906d14d00b009a5ca17b58dmr5726228ejb.50.1693748378750; Sun, 03 Sep 2023 06:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693748378; cv=none; d=google.com; s=arc-20160816; b=Tw9gpHA+R6LvBFnJRIZRVLEuJpmvhlintzofV2FMAZF85AXfGpF3irqhId8Vf4pNpi yN+s1wuQ4aQr1rmnm07O7bWq2q9fzOJwEwDs6mmcn48H+qNMcZaB1odt/hyoEwLOG7f9 J8DSXDVHEBhLTnOWVce5iT7d8hbko5Mp0MKKF/r18hqv0LWpYTDF1YztvQJ0OVFY5nTU cM9xHlGtAH+ZEMP0BqhAhJ8OUjGpWkb7Qecq9d1NSuNmqZ6MFWA9VlOBQ2UrY/ypCB4b cXl2cOyLOFsxOJDm5jPEFmo2sw4qkEhyTxAw+IknlKL3DOpI+1fh+Nei4J99H95yHxvz NffQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=5CaVDN1nihPl3lV/HLl0YpBXy4Ok1xeBZKYUuheQAYI=; fh=f06EoOF639LgkztrI7bMsrXMvArnB6nUoG/NghgtiAs=; b=YFFwKjELYQLkstbF9U9sLv7xW9d2nJU46t1tQDav4aezCJSu7gAdwjg0TkhuwGAS1Z 2jV1/Tjm0Z1xya9hew6q2X9C42N5lM7OzXljMmWgD9dUskznjrAUF0jETZKHYzhZIV87 9oNW6zGMHPM+chil+YKTpQhsKKuLdbYooNMPgA2Vgq10J4+SvDcBVXesvy4W/qGSadfM ZvHC2iW1UzSsAYDnbcyK0786xAsJwwQDS4WspWWVccA7n1AtjKyOhdupWNM0PXYXkPcz /+sxN33f+aJ2STCoeKnJkyKjmcAexQL4mUrr168AahSqirPLYuaI4CHNhPDQ2YmzH25z OwkA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a170906374c00b0099ce23c3a71si4832979ejc.1041.2023.09.03.06.39.11; Sun, 03 Sep 2023 06:39:38 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235817AbjICFBp (ORCPT + 99 others); Sun, 3 Sep 2023 01:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235809AbjICFBp (ORCPT ); Sun, 3 Sep 2023 01:01:45 -0400 Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05272116; Sat, 2 Sep 2023 22:01:42 -0700 (PDT) Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-34e1c1405easo1725435ab.1; Sat, 02 Sep 2023 22:01:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693717301; x=1694322101; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5CaVDN1nihPl3lV/HLl0YpBXy4Ok1xeBZKYUuheQAYI=; b=J57BfiKhZ5omKuKMSgjCLX5oXKlmXIHaNpmq+PKa/qMetRoBn/hiwlL83ankQD7Yn8 in3MROYsPU5vFu4EHWqJ8B9kifaY4+QJZFmeoKOvZ15MDWLTXiHlUGDeewFS6QWenZr+ wzcSx9W6C+D2aaamcLZUNfqJ32/a67JTXpcqyoSAEDQtgWbdf3bJNWrG8yEx/jM3BrPv s+n0QiAF7IVquqpkApUhCURGHaZ/TpHjfJU+iYEXS71YkJY5VXj+dsva1o2Rck/sDyue Ha1xg5TsJYo0cb1PiDFzuGOJLz/LnElzcC+yJGPocVLOlU3vcMiUI8bIfiLYFi7gG2Pz reFw== X-Gm-Message-State: AOJu0YwR/cjOjaowD9JTl5ldtKVeCbaKEI12wsfyVB41iuSgGY0wkMgA b0A6K1pF2IU6F/YfjnON5UU= X-Received: by 2002:a92:cb4e:0:b0:34c:d86f:46e9 with SMTP id f14-20020a92cb4e000000b0034cd86f46e9mr7232010ilq.12.1693717301105; Sat, 02 Sep 2023 22:01:41 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id mn3-20020a17090b188300b0027360359b70sm2280043pjb.48.2023.09.02.22.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 22:01:40 -0700 (PDT) Date: Sun, 3 Sep 2023 05:01:11 +0000 From: Wei Liu To: Linus Torvalds Cc: Wei Liu , Linux on Hyper-V List , Linux Kernel List , kys@microsoft.com, haiyangz@microsoft.com, decui@microsoft.com, Michael Kelley Subject: [GIT PULL] Hyper-V commits for 6.6 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Hi Linus The following changes since commit 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4: Linux 6.5-rc4 (2023-07-30 13:23:47 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git tags/hyperv-next-signed-20230902 for you to fetch changes up to 284930a0146ade1ce0250a1d3bae7a675af4bb3b: x86/hyperv: Remove duplicate include (2023-08-25 00:05:45 +0000) ---------------------------------------------------------------- hyperv-next for v6.6 - Support for SEV-SNP guests on Hyper-V (Tianyu Lan) - Support for TDX guests on Hyper-V (Dexuan Cui) - Use SBRM API in Hyper-V balloon driver (Mitchell Levy) - Avoid dereferencing ACPI root object handle in VMBus driver (Maciej S. Szmigiero) - A few misecllaneous fixes (Jiapeng Chong, Nathan Chancellor, Saurabh Sengar) ---------------------------------------------------------------- Dexuan Cui (11): x86/hyperv: Fix undefined reference to isolation_type_en_snp without CONFIG_HYPERV x86/hyperv: Add hv_isolation_type_tdx() to detect TDX guests x86/hyperv: Support hypercalls for fully enlightened TDX guests Drivers: hv: vmbus: Support fully enlightened TDX guests x86/hyperv: Fix serial console interrupts for fully enlightened TDX guests Drivers: hv: vmbus: Support >64 VPs for a fully enlightened TDX/SNP VM x86/hyperv: Introduce a global variable hyperv_paravisor_present Drivers: hv: vmbus: Bring the post_msg_page back for TDX VMs with the paravisor x86/hyperv: Use TDX GHCI to access some MSRs in a TDX VM with the paravisor x86/hyperv: Remove hv_isolation_type_en_snp x86/hyperv: Move the code in ivm.c around to avoid unnecessary ifdef's Jiapeng Chong (1): x86/hyperv: Remove duplicate include Maciej S. Szmigiero (1): Drivers: hv: vmbus: Don't dereference ACPI root object handle Mitchell Levy (1): hv_balloon: Update the balloon driver to use the SBRM API Nathan Chancellor (1): x86/hyperv: Add missing 'inline' to hv_snp_boot_ap() stub Saurabh Sengar (1): hv: hyperv.h: Replace one-element array with flexible-array member Tianyu Lan (8): x86/hyperv: Add sev-snp enlightened guest static key x86/hyperv: Set Virtual Trust Level in VMBus init message x86/hyperv: Mark Hyper-V vp assist page unencrypted in SEV-SNP enlightened guest drivers: hv: Mark percpu hvcall input arg page unencrypted in SEV-SNP enlightened guest x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp enlightened guest clocksource: hyper-v: Mark hyperv tsc page unencrypted in sev-snp enlightened guest x86/hyperv: Add smp support for SEV-SNP guest x86/hyperv: Add hyperv-specific handling for VMMCALL under SEV-ES arch/x86/hyperv/hv_apic.c | 15 ++- arch/x86/hyperv/hv_init.c | 105 +++++++++++++-- arch/x86/hyperv/ivm.c | 263 +++++++++++++++++++++++++++++++++++-- arch/x86/include/asm/hyperv-tlfs.h | 10 +- arch/x86/include/asm/mshyperv.h | 71 ++++++++-- arch/x86/kernel/cpu/mshyperv.c | 91 ++++++++++++- drivers/clocksource/hyperv_timer.c | 2 +- drivers/hv/connection.c | 16 ++- drivers/hv/hv.c | 131 ++++++++++++++++-- drivers/hv/hv_balloon.c | 82 ++++++------ drivers/hv/hv_common.c | 48 ++++++- drivers/hv/hyperv_vmbus.h | 11 ++ drivers/hv/vmbus_drv.c | 3 +- include/asm-generic/hyperv-tlfs.h | 1 + include/asm-generic/mshyperv.h | 17 ++- include/linux/hyperv.h | 6 +- 16 files changed, 759 insertions(+), 113 deletions(-)