mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] Drivers: hv: Remove leftover support for old Hyper-V versions
@ 2026-10-23  3:05 Michael Kelley
  2026-10-23 12:38 ` Hamza Mahfooz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Kelley @ 2026-10-23  3:05 UTC (permalink / raw)
  To: haiyangz, wei.liu, decui, linux-kernel, linux-hyperv

When removing support for running Linux guests on Windows Server
2008/2008R2 and Windows 7, one area was missed due to the code
comment spelling "2012" incorrectly. Remove that functionality now.

Signed-off-by: Michael Kelley <mhklinux@outlook.com>
---
 drivers/hv/ring_buffer.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
index 72f30ab23d1d..d8b085dfdb46 100644
--- a/drivers/hv/ring_buffer.c
+++ b/drivers/hv/ring_buffer.c
@@ -561,14 +561,6 @@ void hv_pkt_iter_close(struct vmbus_channel *channel)
 	start_read_index = READ_ONCE(rbi->ring_buffer->read_index);
 	WRITE_ONCE(rbi->ring_buffer->read_index, rbi->priv_read_index);
 
-	/*
-	 * Older versions of Hyper-V (before WS2102 and Win8) do not
-	 * implement pending_send_sz and simply poll if the host->guest
-	 * ring buffer is full.  No signaling is needed or expected.
-	 */
-	if (!rbi->ring_buffer->feature_bits.feat_pending_send_sz)
-		return;
-
 	/*
 	 * Issue a full memory barrier before making the signaling decision.
 	 * If reading pending_send_sz were to be reordered and happen
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Drivers: hv: Remove leftover support for old Hyper-V versions
  2026-10-23  3:05 [PATCH 1/1] Drivers: hv: Remove leftover support for old Hyper-V versions Michael Kelley
@ 2026-10-23 12:38 ` Hamza Mahfooz
  0 siblings, 0 replies; 2+ messages in thread
From: Hamza Mahfooz @ 2026-10-23 12:38 UTC (permalink / raw)
  To: mhklinux; +Cc: haiyangz, wei.liu, decui, linux-kernel, linux-hyperv

On Thu, Oct 22, 2026 at 08:05:27PM -0700, Michael Kelley wrote:
> When removing support for running Linux guests on Windows Server
> 2008/2008R2 and Windows 7, one area was missed due to the code
> comment spelling "2012" incorrectly. Remove that functionality now.
> 
> Signed-off-by: Michael Kelley <mhklinux@outlook.com>

Reviewed-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>

> ---
>  drivers/hv/ring_buffer.c | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c
> index 72f30ab23d1d..d8b085dfdb46 100644
> --- a/drivers/hv/ring_buffer.c
> +++ b/drivers/hv/ring_buffer.c
> @@ -561,14 +561,6 @@ void hv_pkt_iter_close(struct vmbus_channel *channel)
>  	start_read_index = READ_ONCE(rbi->ring_buffer->read_index);
>  	WRITE_ONCE(rbi->ring_buffer->read_index, rbi->priv_read_index);
>  
> -	/*
> -	 * Older versions of Hyper-V (before WS2102 and Win8) do not
> -	 * implement pending_send_sz and simply poll if the host->guest
> -	 * ring buffer is full.  No signaling is needed or expected.
> -	 */
> -	if (!rbi->ring_buffer->feature_bits.feat_pending_send_sz)
> -		return;
> -
>  	/*
>  	 * Issue a full memory barrier before making the signaling decision.
>  	 * If reading pending_send_sz were to be reordered and happen
> -- 
> 2.25.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-23 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23  3:05 [PATCH 1/1] Drivers: hv: Remove leftover support for old Hyper-V versions Michael Kelley
2026-10-23 12:38 ` Hamza Mahfooz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®