mbox series

[v3,hyperv-next,0/4] Drivers: hv: vmbus: Restrict devices and configurations on 'isolated' guests

Message ID 20210201144814.2701-1-parri.andrea@gmail.com (mailing list archive)
Headers show
Series Drivers: hv: vmbus: Restrict devices and configurations on 'isolated' guests | expand

Message

Andrea Parri Feb. 1, 2021, 2:48 p.m. UTC
Changes since v2 [1]:
  - improve/add logging (Michael Kelley)
  - rename 'hypercalls_features' to 'features_b' (Michael Kelley)
  - move VMBus and NVSC version checks after 'for' loop (Michael Kelley)
  - remove/inline helper functions (Michael Kelley)
  - other minor changes (Michael Kelley)

Changes since v1 [2]:
  - improve/add logging (Haiyang Zhang)
  - move NVSC version check after version negotiation (Haiyang Zhang)

[1] https://lkml.kernel.org/r/20210126115641.2527-1-parri.andrea@gmail.com
[1] https://lkml.kernel.org/r/20210119175841.22248-1-parri.andrea@gmail.com

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: x86@kernel.org
Cc: linux-arch@vger.kernel.org
Cc: netdev@vger.kernel.org

Andrea Parri (Microsoft) (4):
  x86/hyperv: Load/save the Isolation Configuration leaf
  Drivers: hv: vmbus: Restrict vmbus_devices on isolated guests
  Drivers: hv: vmbus: Enforce 'VMBus version >= 5.2' on isolated guests
  hv_netvsc: Restrict configurations on isolated guests

 arch/x86/hyperv/hv_init.c          | 15 ++++++++++++
 arch/x86/include/asm/hyperv-tlfs.h | 15 ++++++++++++
 arch/x86/kernel/cpu/mshyperv.c     |  9 +++++++
 drivers/hv/channel_mgmt.c          | 38 ++++++++++++++++++++++++++++++
 drivers/hv/connection.c            |  7 ++++++
 drivers/net/hyperv/netvsc.c        | 18 ++++++++++++--
 include/asm-generic/hyperv-tlfs.h  |  1 +
 include/asm-generic/mshyperv.h     |  5 ++++
 include/linux/hyperv.h             |  1 +
 9 files changed, 107 insertions(+), 2 deletions(-)

Comments

Wei Liu Feb. 1, 2021, 6:11 p.m. UTC | #1
On Mon, Feb 01, 2021 at 03:48:10PM +0100, Andrea Parri (Microsoft) wrote:
> Andrea Parri (Microsoft) (4):
>   x86/hyperv: Load/save the Isolation Configuration leaf
>   Drivers: hv: vmbus: Restrict vmbus_devices on isolated guests
>   Drivers: hv: vmbus: Enforce 'VMBus version >= 5.2' on isolated guests
>   hv_netvsc: Restrict configurations on isolated guests

Applied to hyperv-next. Thanks.

Wei.