Skip to content

Fix CONFIG_HYPERV and vmbus related anamoly

Mukesh Rathor dri-devel linux-arch linux-fbdev linux-hyperv linux-input linux-pci linux-scsi lkml netdev virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 8 repliesApplied

Changes in v2 from the cover letter

o rebased on hyper-next: commit 553d825fb2f0 ("x86/hyperv: Switch to msi_create_parent_irq_domain()")

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Driver: hv: Add CONFIG_HYPERV_VMBUS optiondrivers/gpu/drm/Kconfig drivers/hid/Kconfig drivers/hv/Kconfig +9 more+25 -161 reply
2/2Drivers: hv: Make CONFIG_HYPERV booldrivers/Makefile drivers/hv/Kconfig drivers/hv/Makefile+3 -30 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix CONFIG_HYPERV and vmbus related anamoly

At present, drivers/Makefile will subst =m to =y for CONFIG_HYPERV for hv subdir. Also, drivers/hv/Makefile replaces =m to =y to build in hv_common.c that is needed for the drivers. Moreover, vmbus driver is built if CONFIG_HYPER is set, either loadable or builtin.

This is not a good approach. CONFIG_HYPERV is really an umbrella config that encompasses builtin code and various other things and not a dedicated config option for VMBus. VMBus should really have a config option just like CONFIG_HYPERV_BALLOON etc. This small series introduces CONFIG_HYPERV_VMBUS to build VMBus driver and make that distinction explicit. With that CONFIG_HYPERV could be changed to bool.

For now, hv_common.c is left as is to reduce conflicts for upcoming patches, but once merges are mostly done, that and some others should be moved to virt/hyperv directory.

V2:
o rebased on hyper-next: commit 553d825fb2f0 ("x86/hyperv: Switch to msi_create_parent_irq_domain()")

V1:
o Change subject from hyper-v to "Drivers: hv:"
o Rewrite commit messages paying attention to VMBus and not vmbus
o Change some wordings in Kconfig
o Make new VMBUS config option default to HYPERV option for a smoother transition

Mukesh Rathor (2):
Driver: hv: Add CONFIG_HYPERV_VMBUS option
Drivers: hv: Make CONFIG_HYPERV bool

 drivers/Makefile               |  2 +-
 drivers/gpu/drm/Kconfig        |  2 +-
 drivers/hid/Kconfig            |  2 +-
 drivers/hv/Kconfig             | 13 ++++++++++---
 drivers/hv/Makefile            |  4 ++--
 drivers/input/serio/Kconfig    |  4 ++--
 drivers/net/hyperv/Kconfig     |  2 +-
 drivers/pci/Kconfig            |  2 +-
 drivers/scsi/Kconfig           |  2 +-
 drivers/uio/Kconfig            |  2 +-
 drivers/video/fbdev/Kconfig    |  2 +-
 include/asm-generic/mshyperv.h |  8 +++++---
 net/vmw_vsock/Kconfig          |  2 +-
 13 files changed, 28 insertions(+), 19 deletions(-)
Signature · 1 line
2.36.1.vfs.0.0