From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6877641C62; Fri, 12 Sep 2025 11:43:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757677406; cv=none; b=LqxhO0/hEm2CBiuRf2QSIZfrs1QADxDxXNs9KqooStFKWzUl2txum2r9uL7PH641ezl3Esgj3pwuJJxDmhf76yaZtrZ7qhFpmGAiJcCSdYL/1vH8W6OpWOjkfwr0zG6W3yCq3Lhh689Iuq9HvGW84gxLsOqDSmcQ6bxHUIFsLpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757677406; c=relaxed/simple; bh=vQZw18LyMNiHBfayqqKazzYbl6hyR7y4CM3GzrQTcKo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RyT9RI2j6qOlTnaYw0KIyVEqiCQewLMLd/nvCUsYpul/nevb3VCawDMMznzTt3QXW27xUIh4k04hjXrPzAaaw8HDSnnQ6fKvlkpQgzxNMzYIEVkbBae5QY+dpEWx5Gx7uILyul80jYkayGann837FbrbbgrtfJUJam7XhYXjr6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0TCwjyZx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0TCwjyZx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2916DC4CEF1; Fri, 12 Sep 2025 11:43:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757677405; bh=vQZw18LyMNiHBfayqqKazzYbl6hyR7y4CM3GzrQTcKo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0TCwjyZxwiSPrLtFZN+IyniMywN3vL/LlOWbuAxsnEsOVAbzmqup0WIsjoDHMFsp4 CZHsmzwRAvDxfPp9R9I5o3dTd0LaONRXa7YSjy5cAsJmZrkkOk9zpdlsnFkevQaLH4 NT9opWe3xXbfYZRU1UCBvRT6dZZUiedrQxIwCvto= Date: Fri, 12 Sep 2025 13:43:22 +0200 From: Greg KH To: Mukesh R Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-arch@vger.kernel.org, virtualization@lists.linux.dev, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, jikos@kernel.org, bentiss@kernel.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, dmitry.torokhov@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, bhelgaas@google.com, James.Bottomley@hansenpartnership.com, martin.petersen@oracle.com, deller@gmx.de, arnd@arndb.de, sgarzare@redhat.com, horms@kernel.org Subject: Re: [PATCH v1 2/2] Drivers: hv: Make CONFIG_HYPERV bool Message-ID: <2025091253-overwrite-carol-b197@gregkh> References: <20250906010952.2145389-1-mrathor@linux.microsoft.com> <20250906010952.2145389-3-mrathor@linux.microsoft.com> <2025090621-rumble-cost-2c0d@gregkh> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Sep 08, 2025 at 02:01:34PM -0700, Mukesh R wrote: > On 9/6/25 04:36, Greg KH wrote: > > On Fri, Sep 05, 2025 at 06:09:52PM -0700, Mukesh Rathor wrote: > >> With CONFIG_HYPERV and CONFIG_HYPERV_VMBUS separated, change CONFIG_HYPERV > >> to bool from tristate. CONFIG_HYPERV now becomes the core Hyper-V > >> hypervisor support, such as hypercalls, clocks/timers, Confidential > >> Computing setup, PCI passthru, etc. that doesn't involve VMBus or VMBus > >> devices. > > > > But why are you making it so that this can not be a module anymore? You > > are now forcing ALL Linux distro users to always have this code in their > > system, despite not ever using the feature. That feels like a waste to > > me. > > > > What is preventing this from staying as a module? Why must you always > > have this code loaded at all times for everyone? > > This is currently not a module. I assume it was at the beginning. In > drivers/Makefile today: > > obj-$(subst m,y,$(CONFIG_HYPERV)) += hv/ > > > More context: CONFIG_HYPERV doesn't really reflect one module. It is > both for kernel built in code and building of stuff in drivers/hv. > > drivers/hv then builds 4 modules: > > obj-$(CONFIG_HYPERV) += hv_vmbus.o > obj-$(CONFIG_HYPERV_UTILS) += hv_utils.o > obj-$(CONFIG_HYPERV_BALLOON) += hv_balloon.o > obj-$(CONFIG_MSHV_ROOT) += mshv_root.o > > Notice vmbus is using CONFIG_HYPERV because there is no > CONFIG_HYPERV_VMBUS. We are trying to fix that here. This series does not apply to my tree: checking file drivers/gpu/drm/Kconfig checking file drivers/hid/Kconfig checking file drivers/hv/Kconfig Hunk #2 FAILED at 82. 1 out of 2 hunks FAILED checking file drivers/hv/Makefile checking file drivers/input/serio/Kconfig checking file drivers/net/hyperv/Kconfig checking file drivers/pci/Kconfig checking file drivers/scsi/Kconfig checking file drivers/uio/Kconfig checking file drivers/video/fbdev/Kconfig checking file include/asm-generic/mshyperv.h Hunk #1 succeeded at 162 with fuzz 2 (offset -3 lines). Hunk #2 succeeded at 198 (offset -3 lines). Hunk #3 succeeded at 215 (offset -3 lines). checking file net/vmw_vsock/Kconfig What was it made against? thanks, greg k-h