mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Kelley <mhklinux@outlook.com>
To: Naman Jain <namjain@linux.microsoft.com>,
	Michael Kelley <mhklinux@outlook.com>,
	"haiyangz@microsoft.com" <haiyangz@microsoft.com>,
	"wei.liu@kernel.org" <wei.liu@kernel.org>,
	"decui@microsoft.com" <decui@microsoft.com>,
	"corbet@lwn.net" <corbet@lwn.net>,
	"skhan@linuxfoundation.org" <skhan@linuxfoundation.org>,
	"rdunlap@infradead.org" <rdunlap@infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>
Subject: RE: [PATCH 1/1] Documentation: hyperv: Remove support for guests on Hyper-V 2012/2012R2
Date: Fri, 9 Oct 2026 05:38:11 +0000	[thread overview]
Message-ID: <MN2PR02MB686331FD9FB26A23E1F01665D4922@MN2PR02MB6863.namprd02.prod.outlook.com> (raw)
In-Reply-To: <396ae01e-c1c4-49f5-a9fa-6dc4430e8690@linux.microsoft.com>

From: Naman Jain <namjain@linux.microsoft.com> Sent: Thursday, October 8, 2026 9:39 PM
> 
> On 10/9/2026 8:04 AM, Michael Kelley wrote:
> > Support for running Linux guests on Windows Server 2012/2012 R2 Hyper-V
> > hosts and Windows 8/8.1 hosts has been removed, which includes removing
> > support for operating Hyper-V synthetic timers in other than Direct Mode.
> > Update the documentation to reflect these removals.
> >
> > Signed-off-by: Michael Kelley <mhklinux@outlook.com>
> > ---
> > This patch reflects changes that are already in linux-next for merging
> > into the 7.4 kernel.
> >
> >   Documentation/virt/hyperv/clocks.rst   | 8 ++------
> >   Documentation/virt/hyperv/overview.rst | 6 +++---
> >   2 files changed, 5 insertions(+), 9 deletions(-)
> >
> > diff --git a/Documentation/virt/hyperv/clocks.rst
> b/Documentation/virt/hyperv/clocks.rst
> > index 176043265803..9527e6073654 100644
> > --- a/Documentation/virt/hyperv/clocks.rst
> > +++ b/Documentation/virt/hyperv/clocks.rst
> > @@ -64,12 +64,8 @@ applying the scale and offset to get the constant 10 MHz clock.
> >
> >   Linux clockevents are based on Hyper-V synthetic timer 0 (stimer0).
> >   While Hyper-V offers 4 synthetic timers for each CPU, Linux only uses
> > -timer 0. In older versions of Hyper-V, an interrupt from stimer0
> > -results in a VMBus control message that is demultiplexed by
> > -vmbus_isr() as described in the Documentation/virt/hyperv/vmbus.rst
> > -documentation. In newer versions of Hyper-V, stimer0 interrupts can
> > -be mapped to an architectural interrupt, which is referred to as
> > -"Direct Mode". Linux prefers to use Direct Mode when available. Since
> > +timer 0. stimer0 is operated in what Hyper-V calls "Direct Mode"
> > +where timer interrupts are mapped to an architectural interrupt. Since
> >   x86/x64 doesn't support per-CPU interrupts, Direct Mode statically
> >   allocates an x86 interrupt vector (HYPERV_STIMER0_VECTOR) across all CPUs
> >   and explicitly codes it to call the stimer0 interrupt handler. Hence
> > diff --git a/Documentation/virt/hyperv/overview.rst
> b/Documentation/virt/hyperv/overview.rst
> > index 77408a89d1a4..c4c262b77aa3 100644
> > --- a/Documentation/virt/hyperv/overview.rst
> > +++ b/Documentation/virt/hyperv/overview.rst
> > @@ -157,9 +157,9 @@ when accessing data shared with Hyper-V.
> >   Versioning
> >   ----------
> >   Current Linux kernels operate correctly with older versions of
> > -Hyper-V back to Windows Server 2012 Hyper-V. Support for running
> > -on the original Hyper-V release in Windows Server 2008/2008 R2
> > -has been removed.
> > +Hyper-V back to Windows Server 2016 Hyper-V and Windows 10. Support for
> > +running on Windows Server 2012/2012 R2, Windows Server 2008/2008 R2,
> > +and Windows 8.1 and earlier has been removed.
> >
> >   A Linux guest on Hyper-V outputs in dmesg the version of Hyper-V
> >   it is running on.  This version is in the form of a Windows build
> 
> Thanks Michael. Change LGTM, but while at it, please add a similar
> change in
> Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rst as
> well.

Indeed. I wasn't even aware the netvsc documentation existed. :-(

I can update the supported Hyper-V versions. But this documentation
has not had any significant content updates since early 2021. Haiyang
should review it from an overall content standpoint and make
appropriate updates. I don't have the knowledge to do that.

Michael

> 
> Reviewed-by: Naman Jain <namjain@linux.microsoft.com>
> 
> Regards,
> Naman

      reply	other threads:[~2026-10-09  5:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09  2:34 Michael Kelley
2026-10-09  4:38 ` Naman Jain
2026-10-09  5:38   ` Michael Kelley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR02MB686331FD9FB26A23E1F01665D4922@MN2PR02MB6863.namprd02.prod.outlook.com \
    --to=mhklinux@outlook.com \
    --cc=corbet@lwn.net \
    --cc=decui@microsoft.com \
    --cc=haiyangz@microsoft.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=namjain@linux.microsoft.com \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.org \
    --cc=wei.liu@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®