hyperv_init_platform().
Thanks,
Wei
> Michael
>
> > The old logic caused the native TSC clock source to be
> > incorrectly marked as unstable on x86.
> >
> > The clock source driver runs on both x86 and ARM64. Change it to prefer
> > architectural counter when i
From: Wei Liu
There is no HV_ACCESS_TSC_INVARIANT bit when Linux runs as the root
partition. The old logic caused the native TSC clock source to be
incorrectly marked as unstable on x86.
The clock source driver runs on both x86 and ARM64. Change it to prefer
architectural counter when it runs
Nuno, can you please take a look at this patch?
On Fri, Jul 18, 2025 at 09:57:49PM +0200, Nam Cao wrote:
> The initial implementation of PCI/MSI interrupt domains in the hierarchical
> interrupt domain model used a shortcut by providing a global PCI/MSI
> domain.
>
> This works because the PCI/MS
Hi Linus,
The following changes since commit d7b8f8e20813f0179d8ef519541a3527e7661d3a:
Linux 6.16-rc5 (2025-07-06 14:10:26 -0700)
are available in the Git repository at:
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
tags/hyperv-fixes-signed-20250718
for you to f
On Sat, Jul 12, 2025 at 08:00:35PM +, Long Li wrote:
> > Subject: Re: [PATCH v4] tools/hv: fcopy: Fix irregularities with size of
> > ring buffer
> >
> >
> >
> > On 7/11/2025 11:38 AM, Naman Jain wrote:
> > > Size of ring buffer, as defined in uio_hv_generic driver, is no longer
> > > fixed to
ed with
> MAP_DEVICE_INTERRUPT instead of affinitized with RETARGET_INTERRUPT.
>
> Changes in v3:
> - Remove 3 patches (#1,#3,#4 from v2) which were merged already (Wei Liu)
> - Fix bug in #1 introduced in v2 (Michael Kelley)
> - Improve commit message in #2 (Michael Kelley)
> -
g included unbind and rebind the driver several times so that
> the full round-trip is tested.
>
> Reviewed-by: Michael Kelley
> Tested-by: Michael Kelley
Acked-by: Wei Liu
o
Thanks for the patch, Al.
Acked-by: Wei Liu
On Wed, Jul 09, 2025 at 11:51:19PM +, Wei Liu wrote:
> On Thu, Jul 03, 2025 at 03:44:31PM -0700, Nuno Das Neves wrote:
> [...]
> > PCI: hv: Don't load the driver for baremetal root partition
> > x86/hyperv: Fix usage of cpu_online_mask to get valid cpu
> >
On Thu, Jul 03, 2025 at 03:44:31PM -0700, Nuno Das Neves wrote:
[...]
> PCI: hv: Don't load the driver for baremetal root partition
> x86/hyperv: Fix usage of cpu_online_mask to get valid cpu
> x86/hyperv: Clean up hv_map/unmap_interrupt() return values
> PCI: hv: Use the correct hypercall
On Wed, Jun 11, 2025 at 03:34:53PM +0530, Naman Jain wrote:
> When the kernel is compiled with W=1 option, a warning is reported
> if a .c file exports a symbol but does not include export.h header
> file. This warning was added in below patch, which merged recently:
> commit a934a57a42f6 ("scripts
CC Nuno who is also touching on this file.
Nam, thanks for this patch.
Nuno's patches fix a few bugs with the current implementation. I expect
those patches to have contextual conflicts with this patch. I would like
to commit Nuno's patches first since those are bug fixes, and then
circle back t
On Mon, Jul 07, 2025 at 10:58:03AM -0700, Roman Kisel wrote:
>
>
> On 7/7/2025 1:43 AM, Naman Jain wrote:
> > __is_defined(HYPERVISOR_CALLBACK_VECTOR) would return 1, only if
> > HYPERVISOR_CALLBACK_VECTOR macro is defined as 1. However its value is
> > 0xf3 and this leads to __is_defined() retur
MBus API that allows us to know the total readable bytes without
> touching the data in the ringbuffer, or the hv_sock driver needs to
> understand the VMBus packet format and parse the packets directly.
>
> Signed-off-by: Dexuan Cui
> Signed-off-by: Xuewei Niu
Acked-by: Wei Liu
On Tue, Jul 01, 2025 at 03:06:08PM +0530, Naman Jain wrote:
>
>
> On 6/28/2025 7:52 AM, yasue...@gmail.com wrote:
> > From: Yasumasa Suenaga
> >
> > The hv_fcopy_uio_daemon fails to correctly handle file copy requests
> > from Windows hosts (e.g. via Copy-VMFile) due to wchar_t size
> > differe
On Wed, Jun 18, 2025 at 10:26:01PM -0700, Shradha Gupta wrote:
> When hv_kvp_daemon is started in debug mode, in function
> kvp_key_add_or_modify() too many similar logs are logged for
> key/value being too long.
>
> Restructured the logs to prevent this extra logging
>
> Suggested-by: Olaf Herin
On Mon, Jun 16, 2025 at 01:04:43AM +0200, Ben Hutchings wrote:
> The sample hv_get_dhcp_info script was originally supposed to be
> replaced by downstream distributions, but:
>
> - Network Manager and systemd-networkd are used across many
> distributions
> - Debian's ifupdown is not only used in
On Fri, Jun 13, 2025 at 04:00:59PM -0700, mhkelle...@gmail.com wrote:
> From: Michael Kelley
>
> Commit 96959283a58d ("Drivers: hv: Always select CONFIG_SYSFB
> for Hyper-V guests") selects CONFIG_SYSFB for Hyper-V guests
> so that screen_info is available to the VMBus driver to get
> the locatio
Hi Linus,
The following changes since commit 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3:
Linux 6.15-rc6 (2025-05-11 14:54:11 -0700)
are available in the Git repository at:
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
tags/hyperv-next-signed-20250602
for you to fe
On Wed, May 14, 2025 at 03:55:08PM -0700, mhkelle...@gmail.com wrote:
> From: Michael Kelley
>
> The VMBus driver code has some inherent races in the creation of the
> "channels" sysfs subdirectory and its per-channel numbered subdirectories.
> These races have not generally been recognized or un
On Mon, May 19, 2025 at 09:01:43PM -0700, mhkelle...@gmail.com wrote:
> From: Michael Kelley
>
> The Hyper-V host provides guest VMs with a range of MMIO addresses
> that guest VMBus drivers can use. The VMBus driver in Linux manages
> that MMIO space, and allocates portions to drivers upon reque
On Thu, May 08, 2025 at 06:48:28PM +, Wei Liu wrote:
> On Mon, May 05, 2025 at 05:56:32PM -0700, lon...@linuxonhyperv.com wrote:
> > From: Long Li
> >
> > UIO framework requires the device memory aligned to page boundary.
> > Hyper-V may allocate some memory that
ill be handled after the move of the trace hooks.
>
> Signed-off-by: Juergen Gross
> ---
> arch/x86/hyperv/ivm.c | 2 +-
Acked-by: Wei Liu
>
> diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c
> index 09a165a3c41e..fe177a6be581 100644
> --- a/arch/x86/hyperv/ivm.
On Mon, May 05, 2025 at 05:56:32PM -0700, lon...@linuxonhyperv.com wrote:
> From: Long Li
>
> UIO framework requires the device memory aligned to page boundary.
> Hyper-V may allocate some memory that is Hyper-V page aligned (4k)
> but not system page aligned.
>
> Fix this by having Hyper-V alwa
On Wed, May 07, 2025 at 11:22:24AM -0700, Roman Kisel wrote:
> This patchset combines two patches that depend on each other and were not
> applying
> cleanly:
> 1. Fix APIC ID and VP index confusion in hv_snp_boot_ap():
>
> https://lore.kernel.org/linux-hyperv/20250430204720.108962-1-rom...
On Wed, May 07, 2025 at 12:20:36PM -0700, Roman Kisel wrote:
>
>
> On 5/7/2025 6:02 AM, Saurabh Singh Sengar wrote:
> >
> [..]
>
> > > + }
> > > +
> > > + local_irq_save(flags);
> > > + in = *this_cpu_ptr(hyperv_pcpu_input_arg);
> > > + out = *this_cpu_ptr(hyperv_pcpu_output_arg);
> > > +
> > >
On Thu, May 08, 2025 at 08:44:14AM -0700, Roman Kisel wrote:
>
>
> On 5/7/2025 8:00 PM, Saurabh Singh Sengar wrote:
> > >
> > > On 5/7/2025 4:21 AM, Naman Jain wrote:
> > > >
> > > >
> > >
> > > [...]
> > >
> > > >
> > > >
> > > > > > + return -EINVAL;
> > > > > > + if (copy_from
On Wed, May 07, 2025 at 10:09:46PM +0200, Rafael J. Wysocki wrote:
> On Wed, May 7, 2025 at 8:22 PM Roman Kisel wrote:
> >
> > When starting APs, confidential guests and paravisor guests
> > need to know the CPU number, and the pattern of using the linear
> > search has emerged in several places.
On Tue, May 06, 2025 at 10:42:49AM -0700, Roman Kisel wrote:
> To start an application processor in SNP-isolated guest, a hypercall
> is used that takes a virtual processor index. The hv_snp_boot_ap()
> function uses that START_VP hypercall but passes the CPU number to it
> instead of the VP index.
On Tue, May 06, 2025 at 02:58:34AM +, Wei Liu wrote:
> On Wed, Apr 30, 2025 at 01:47:20PM -0700, Roman Kisel wrote:
> > When starting APs, confidential guests and paravisor guests
> > need to know the CPU number, and the pattern of using the linear
> > search has emer
On Mon, Apr 28, 2025 at 02:07:31PM -0700, Roman Kisel wrote:
> This patch set allows the Hyper-V code to boot on ARM64 inside a Virtual Trust
> Level. These levels are a part of the Virtual Secure Mode documented in the
> Top-Level Functional Specification available at
> https://learn.microsoft.com
On Mon, Apr 28, 2025 at 11:27:05AM -0700, Roman Kisel wrote:
> To start an application processor in SNP-isolated guest, a hypercall
> is used that takes a virtual processor index. The hv_snp_boot_ap()
> function uses that START_VP hypercall but passes as VP index to it
> what it receives as a wakeu
On Wed, Apr 30, 2025 at 01:47:20PM -0700, Roman Kisel wrote:
> When starting APs, confidential guests and paravisor guests
> need to know the CPU number, and the pattern of using the linear
> search has emerged in several places. With N processors that leads
> to the O(N^2) time complexity.
>
> Pr
On Mon, May 05, 2025 at 11:12:10AM -0700, Dave Hansen wrote:
> On 5/5/25 11:01, Wei Liu wrote:
> > You don't need to do that for this patch. Please point me to Thomas'
> > reply to the previous version and I can add the missing tag to patch
> > while I
On Tue, May 06, 2025 at 02:52:54AM +, Wei Liu wrote:
> On Mon, May 05, 2025 at 11:12:10AM -0700, Dave Hansen wrote:
> > On 5/5/25 11:01, Wei Liu wrote:
> > > You don't need to do that for this patch. Please point me to Thomas'
> > > reply to the previous
On Mon, May 05, 2025 at 10:22:47AM -0700, Roman Kisel wrote:
>
>
> On 5/2/2025 10:32 AM, Wei Liu wrote:
> > On Wed, Apr 30, 2025 at 01:47:20PM -0700, Roman Kisel wrote:
>
> [...]
>
> > > arch/x86/coco/sev/core.c | 13 ++---
> > >
On Wed, Apr 30, 2025 at 01:47:20PM -0700, Roman Kisel wrote:
> When starting APs, confidential guests and paravisor guests
> need to know the CPU number, and the pattern of using the linear
> search has emerged in several places. With N processors that leads
> to the O(N^2) time complexity.
>
> Pr
this is just a comment about the precise accuracy of
> > > your commit message, and doesn't affect the code.
> > >
> >
> > I appreciate your help with the precision. I used loose language,
> > agreed, would like to fix that. The patch was applied though but not
Hi Linus,
The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:
Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)
are available in the Git repository at:
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
tags/hyperv-fixes-signed-20250427
for you to f
On Fri, Apr 25, 2025 at 11:22:08AM -0700, Roman Kisel wrote:
>
>
> On 4/25/2025 10:18 AM, Saurabh Singh Sengar wrote:
> > > On 4/25/2025 2:14 AM, Saurabh Singh Sengar wrote:
> > > > >
> > > > > On Thu, Apr 24, 2025 at 02:57:46PM -0700, Roman Kisel wrote:
> > > > > > To start an application proce
On Tue, Apr 15, 2025 at 04:19:38AM -0700, Shradha Gupta wrote:
> Allow the KVP daemon to log the KVP updates triggered in the VM
> with a new debug flag(-d).
> When the daemon is started with this flag, it logs updates and debug
> information in syslog with loglevel LOG_DEBUG. This information come
On Wed, Apr 23, 2025 at 10:50:27AM -0700, Nuno Das Neves wrote:
> On 4/21/2025 9:31 AM, mhkelle...@gmail.com wrote:
> > From: Michael Kelley
> >
> > When a CPU goes offline, hv_common_cpu_die() frees the
> > hv_synic_eventring_tail memory for the CPU. But in a normal VM (i.e., not
> > running in
On Thu, Apr 24, 2025 at 02:57:46PM -0700, Roman Kisel wrote:
> To start an application processor in SNP-isolated guest, a hypercall
> is used that takes a virtual processor index. The hv_snp_boot_ap()
> function uses that START_VP hypercall but passes as VP ID to it what
> it receives as a wakeup_s
On Tue, Apr 15, 2025 at 10:02:42PM -0700, Shradha Gupta wrote:
> On Thu, Apr 10, 2025 at 09:34:35AM -0700, Shradha Gupta wrote:
> > On Tue, Apr 08, 2025 at 06:20:57AM +0200, Olaf Hering wrote:
> > > Mon, 2 Dec 2024 11:19:55 +0100 Olaf Hering :
> > >
> > > > After recent changes in the VM network
On Mon, Apr 07, 2025 at 05:24:08AM +, Wei Liu wrote:
> On Thu, Apr 03, 2025 at 01:54:37PM +0530, Naman Jain wrote:
> >
> >
> > On 4/1/2025 11:02 PM, Nuno Das Neves wrote:
> > > 'output' is already a pointer to the output argument, it should be
On Sat, Mar 22, 2025 at 10:16:47PM +0530, Malaya Kumar Rout wrote:
> Static analysis for hv_kvp_daemon.c with cppcheck : error:
>
> hv_kvp_daemon.c:359:3: error: Common realloc mistake:
> 'record' nulled but not freed upon failure [memleakOnRealloc]
> record = realloc(record, sizeof(struct kvp_rec
On Tue, Apr 01, 2025 at 10:32:17AM -0700, Nuno Das Neves wrote:
> 'output' is already a pointer to the output argument, it should be
> passed directly to hv_do_hypercall() without the '&' operator.
>
> Signed-off-by: Nuno Das Neves
Applied to hyperv-fixes. Thanks.
> ---
> This patch is a fixup
On Thu, Apr 03, 2025 at 01:54:37PM +0530, Naman Jain wrote:
>
>
> On 4/1/2025 11:02 PM, Nuno Das Neves wrote:
> > 'output' is already a pointer to the output argument, it should be
> > passed directly to hv_do_hypercall() without the '&' operator.
> >
> > Signed-off-by: Nuno Das Neves
> > ---
>
On Thu, Mar 20, 2025 at 10:44:53AM -0700, Nuno Das Neves wrote:
> Signed-off-by: Nuno Das Neves
Thanks. I squashed this patch into the one that introduced the driver.
On Tue, Mar 25, 2025 at 12:39:54PM -0400, Greg Kroah-Hartman wrote:
> On Tue, Mar 25, 2025 at 04:10:59PM +0000, Wei Liu wrote:
> > On Mon, Mar 10, 2025 at 03:12:01PM -0700, lon...@linuxonhyperv.com wrote:
> > > From: Long Li
> > >
> > > Hyper-V may offer
On Mon, Mar 10, 2025 at 03:12:01PM -0700, lon...@linuxonhyperv.com wrote:
> From: Long Li
>
> Hyper-V may offer a non latency sensitive device with subchannels without
> monitor bit enabled. The decision is entirely on the Hyper-V host not
> configurable within guest.
>
> When a device has subch
On Mon, Mar 24, 2025 at 11:24:08PM -0700, Shradha Gupta wrote:
[...]
> > > @@ -1662,6 +1755,7 @@ void print_usage(char *argv[])
> > > fprintf(stderr, "Usage: %s [options]\n"
> > > "Options are:\n"
> > > " -n, --no-daemonstay in foreground, don't daemonize\n"
> > > +
(Microsoft
Hypervisor) by exposing /dev/mshv (Nuno and various people)
- Add support for CPU offlining in Hyper-V (Hamza Mahfooz)
- Misc fixes and cleanups (Roman Kisel, Tianyu Lan, Wei Liu, Michael Kelley,
Thorsten Blum)
Hamza Mahfooz
On Mon, Mar 24, 2025 at 12:14:52AM -0700, Shradha Gupta wrote:
> Allow the KVP daemon to log the KVP updates triggered in the VM
> with a new debug flag(-d).
> When the daemon is started with this flag, it logs updates and debug
> information in /var/log/kvp_debug_file.log. This information comes
>
On Fri, Mar 21, 2025 at 09:53:45AM -0700, Nuno Das Neves wrote:
> On 3/21/2025 7:35 AM, Dan Carpenter wrote:
> > Move the NULL check on "partition" before the dereference.
> >
> > Fixes: f5288d14069b ("Drivers: hv: Introduce mshv_root module to expose
> > /dev/mshv to VMMs")
> > Signed-off-by: Da
On Tue, Mar 18, 2025 at 02:49:19PM -0700, mhkelle...@gmail.com wrote:
> From: Michael Kelley
>
> Current code varies in how the size of the variable size input header
> for hypercalls is calculated when the input contains struct hv_vpset.
> Surprisingly, this variation is correct, as different hy
On Tue, Mar 18, 2025 at 07:54:49PM +, Michael Kelley wrote:
> From: Nuno Das Neves Sent: Friday, March
> 14, 2025 12:29 PM
> >
> > Provide a set of IOCTLs for creating and managing child partitions when
> > running as root partition on Hyper-V. The new driver is enabled via
> > CONFIG_MSHV_RO
On Tue, Mar 18, 2025 at 05:45:46PM +, Michael Kelley wrote:
> From: Wei Liu Sent: Tuesday, March 18, 2025 10:25 AM
> >
> > On Mon, Mar 17, 2025 at 11:51:52PM +, Michael Kelley wrote:
> > > From: Nuno Das Neves Sent: Wednesday,
> > February 26, 2025 3:08 PM
On Mon, Mar 17, 2025 at 11:51:52PM +, Michael Kelley wrote:
> From: Nuno Das Neves Sent: Wednesday,
> February 26, 2025 3:08 PM
[...]
> > +static long
> > +mshv_vp_ioctl_get_set_state(struct mshv_vp *vp,
> > + struct mshv_get_set_vp_state __user *user_args,
> > +
On Fri, Mar 14, 2025 at 12:28:46PM -0700, Nuno Das Neves wrote:
> This series introduces support for creating and running guest virtual
> machines while running on the Microsoft Hypervisor[0] as root partition.
> This is done via an IOCTL interface accessed through /dev/mshv, similar to
> /dev/kvm.
On Sun, Mar 09, 2025 at 09:41:51AM +0100, Thomas Gleixner wrote:
> Convert the code to use the new guard(msi_descs_lock).
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner
> Cc: Haiyang Zhang
> Cc: Wei Liu
> Cc: Bjorn Helgaas
> Cc: linux-hyperv@
On Fri, Mar 14, 2025 at 09:41:30AM +0800, Tianyu Lan wrote:
> On Fri, Mar 14, 2025 at 4:20 AM Michael Kelley wrote:
> >
> > From: Tianyu Lan Sent: Thursday, March 13, 2025 1:52
> > AM
> > >
> > > snp_set_vmsa() returns 0 as success result and so fix it.
> > >
> > > Cc: sta...@vger.kernel.org
> >
On Wed, Mar 12, 2025 at 11:33:11AM -0700, Roman Kisel wrote:
>
>
> On 3/10/2025 3:18 PM, Michael Kelley wrote:
> > From: Arnd Bergmann Sent: Monday, March 10, 2025 2:21 PM
> > >
> > > On Mon, Mar 10, 2025, at 22:01, Michael Kelley wrote:
> > > > From: Arnd Bergmann Sent: Saturday, March 8, 202
On Thu, Feb 27, 2025 at 10:50:30AM -0800, Roman Kisel wrote:
>
>
>
> On 2/26/2025 3:08 PM, Nuno Das Neves wrote:
> > Provide a set of IOCTLs for creating and managing child partitions when
> > running as root partition on Hyper-V. The new driver is enabled via
> > CONFIG_MSHV_ROOT.
> >
>
> [..
On Thu, Feb 27, 2025 at 01:47:26PM -0800, Roman Kisel wrote:
> The first patch defines a specialized machine emergency restart
> callback not to write to the physical address of 0x472 which is
> what the native_machine_emergency_restart() does unconditionally.
>
> I first wanted to tweak that func
On Tue, Mar 11, 2025 at 10:16:34AM +0100, Thorsten Blum wrote:
> The union vmpacket_largest_possible_header and several structs have not
> been used for a long time afaict - remove them.
>
> Reviewed-by: Michael Kelley
> Signed-off-by: Thorsten Blum
Applied to hyperv-next. Thanks.
Hi Linus,
The following changes since commit a64dcfb451e254085a7daee5fe51bf22959d52d3:
Linux 6.14-rc2 (2025-02-09 12:45:03 -0800)
are available in the Git repository at:
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
tags/hyperv-fixes-signed-20250311
for you to f
On Sun, Mar 09, 2025 at 08:52:08PM -0700, mhkelle...@gmail.com wrote:
> From: Michael Kelley
>
> The VMBus driver manages the MMIO space it owns via the hyperv_mmio
> resource tree. Because the synthetic video framebuffer portion of the
> MMIO space is initially setup by the Hyper-V host for each
On Mon, Mar 10, 2025 at 09:42:15AM -0700, Roman Kisel wrote:
>
>
> On 3/9/2025 5:31 PM, Wei Liu wrote:
> > On Fri, Mar 07, 2025 at 02:02:58PM -0800, Roman Kisel wrote:
> > > The hyperv guest code might run in various Virtual Trust Levels.
> > >
> > >
On Wed, Feb 26, 2025 at 02:59:53PM -0800, Nuno Das Neves wrote:
> On 2/26/2025 12:06 PM, mhkelle...@gmail.com wrote:
> > From: Michael Kelley
> >
> > The hypercall in hv_mark_gpa_visibility() is invoked with an input
> > argument and an output argument. The output argument ostensibly returns
> >
On Fri, Mar 07, 2025 at 02:02:58PM -0800, Roman Kisel wrote:
> The hyperv guest code might run in various Virtual Trust Levels.
>
> Report the level when the kernel boots in the non-default (0)
> one.
>
> Signed-off-by: Roman Kisel
> ---
> arch/arm64/hyperv/mshyperv.c | 2 ++
> arch/x86/hyperv/
On Sat, Mar 08, 2025 at 08:50:12PM -0800, Saurabh Singh Sengar wrote:
> On Mon, Feb 10, 2025 at 09:01:14PM -0800, mhkelle...@gmail.com wrote:
> > From: Michael Kelley
> >
> > The VMBus driver manages the MMIO space it owns via the hyperv_mmio
> > resource tree. Because the synthetic video framebu
On Thu, Feb 27, 2025 at 02:29:51PM -0600, Bjorn Helgaas wrote:
> On Wed, Feb 26, 2025 at 12:06:11PM -0800, mhkelle...@gmail.com wrote:
> > From: Michael Kelley
> >
> > Update hypercall call sites to use the new hv_hvcall_*() functions
> > to set up hypercall arguments. Since these functions zero
On Fri, Feb 21, 2025 at 11:56:32AM -0800, Nuno Das Neves wrote:
> Running in the root partition is a unique and specialized case that
> requires additional code. CONFIG_MSHV_ROOT allows Hyper-V guest kernels
> to exclude this code, which is important since significant additional code
> specific to
On Fri, Feb 21, 2025 at 12:09:57AM +0900, Krzysztof Wilczyński wrote:
> Hello,
>
> > > The VF driver controls an endpoint attached to the pci-hyperv
> > > controller. An invalidation sent by the PF driver in the host would be
> > > delivered *to* the endpoint driver by the controller driver.
> > >
On Fri, Jan 17, 2025 at 03:33:06PM -0500, Hamza Mahfooz wrote:
> If CONFIG_HYPERV=m, lockdep_assert_cpus_held() is undefined for HyperV.
> So, export the function so that GPL drivers can use it more broadly.
>
> Cc: Michael Kelley
> Signed-off-by: Hamza Mahfooz
Series applied to hyperv-next. Th
On Fri, Feb 07, 2025 at 11:03:22AM -0800, Nuno Das Neves wrote:
> These helpers are not specific to x86_64 and will be needed by common code.
> Remove some unnecessary #includes.
>
> Reviewed-by: Michael Kelley
> Signed-off-by: Nuno Das Neves
One comment about the ordering of the tag. You shoul
On Fri, Feb 07, 2025 at 11:03:20AM -0800, Nuno Das Neves wrote:
> There are several bits of Hyper-V-related code that today live in
> arch/x86 but are not really specific to x86_64 and will work on arm64
> too.
>
> Some of these will be needed in the upcoming mshv driver code (for
> Linux as root
On Fri, Jan 17, 2025 at 09:01:41AM -0800, Roman Kisel wrote:
> > For Linux, running in Hyper-V VTL (Virtual Trust Level), kernel in VTL2
> > tries to access VTL0 low memory in probe_roms. This memory is not
> > described in the e820 map. Initialize probe_roms call to no-ops
> > during boot for VTL2
On Fri, Feb 07, 2025 at 07:07:15PM +, Easwar Hariharan wrote:
> The VF driver controls an endpoint attached to the pci-hyperv
> controller. An invalidation sent by the PF driver in the host would be
> delivered *to* the endpoint driver by the controller driver.
>
> Signed-off-by: Easwar Hariha
On Fri, Jan 17, 2025 at 01:07:00PM -0800, Roman Kisel wrote:
> The first patch defines a specialized machine emergency restart
> callback not to write to the physical address of 0x472 which is
> what the native_machine_emergency_restart() does unconditionally.
>
> I first wanted to tweak that func
On Mon, Jan 27, 2025 at 04:42:56PM -0500, Hamza Mahfooz wrote:
> On Mon, Jan 27, 2025 at 09:02:22PM +, Michael Kelley wrote:
> > From: Hamza Mahfooz Sent: Monday,
> > January 27, 2025 10:10 AM
> > >
> > > We should select PCI_HYPERV here, otherwise it's possible for devices to
> > > not show
Hi Linus,
The following changes since commit 9d89551994a430b50c4fffcb1e617a057fa76e20:
Linux 6.13-rc6 (2025-01-05 14:13:40 -0800)
are available in the Git repository at:
ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git
tags/hyperv-next-signed-20250123
for you to fe
ame = "hyperv_record_panic_msg",
> .data = &sysctl_record_panic_msg,
Acked-by: Wei Liu
On Thu, Jan 09, 2025 at 01:40:34PM -0800, Roman Kisel wrote:
>
>
> On 1/9/2025 12:18 PM, Wei Liu wrote:
> > On Wed, Jan 08, 2025 at 02:21:33PM -0800, Roman Kisel wrote:
> > [...]
> > > Roman Kisel (5):
> > >hyperv: Define struct hv_output_get_vp_registe
On Wed, Jan 08, 2025 at 02:21:33PM -0800, Roman Kisel wrote:
[...]
> Roman Kisel (5):
> hyperv: Define struct hv_output_get_vp_registers
> hyperv: Fix pointer type in get_vtl(void)
> hyperv: Enable the hypercall output page for the VTL mode
> hyperv: Do not overlap the hvcall IO areas in ge
On Thu, Jan 09, 2025 at 09:25:58AM -0800, Roman Kisel wrote:
>
>
> On 1/8/2025 9:50 PM, Wei Liu wrote:
> > On Wed, Jan 08, 2025 at 03:25:22PM -0800, Nuno Das Neves wrote:
> > > On 1/8/2025 2:21 PM, Roman Kisel wrote:
>
> [...]
>
> > >
> >
&g
On Wed, Jan 08, 2025 at 03:25:22PM -0800, Nuno Das Neves wrote:
> On 1/8/2025 2:21 PM, Roman Kisel wrote:
> > There is no definition of the output structure for the
> > GetVpRegisters hypercall. Hence, using the hypercall
> > is not possible when the output value has some structure
> > to it. Even
On Tue, Jan 07, 2025 at 03:11:15PM -0800, Roman Kisel wrote:
>
>
> On 1/7/2025 11:18 AM, Stanislav Kinsburskii wrote:
> > On Mon, Jan 06, 2025 at 01:07:25PM -0800, Roman Kisel wrote:
> >
>
> [...]
>
> > My point is that the proposed fix looks more like an Underhill-tailored
> > bandage and doe
On Mon, Dec 30, 2024 at 10:09:40AM -0800, Roman Kisel wrote:
> The Top-Level Functional Specification for Hyper-V, Section 3.6 [1, 2],
> disallows overlapping of the input and output hypercall areas, and
> get_vtl(void) does overlap them.
>
> Use the output hypercall page of the current vCPU for t
On Mon, Jan 06, 2025 at 12:24:32PM -0800, Roman Kisel wrote:
>
>
> On 1/6/2025 9:37 AM, Michael Kelley wrote:
> > From: Roman Kisel Sent: Monday, December 30,
> > 2024 10:10 AM
> [...]
> >
> > These bit field definitions don't look right. We want to "fill up"
> > the field size, so that we're
On Tue, Jan 07, 2025 at 10:09:18AM -0800, Jacob Pan wrote:
> The Hyper-V balloon driver installs a custom callback for handling page
> onlining operations performed by the memory hotplug subsystem. This
> custom callback is global, and overrides the default callback
> (generic_online_page) that Lin
On Thu, Jan 02, 2025 at 01:07:09PM +, Naman Jain wrote:
> John Starks (1):
> Drivers: hv: vmbus: Log on missing offers if any
>
> Naman Jain (1):
> Drivers: hv: vmbus: Wait for boot-time offers during boot and resume
Applied to hyperv-next. Thanks!
On Wed, Jan 08, 2025 at 05:26:58AM +, Michael Kelley wrote:
> From: Naman Jain Sent: Thursday, January 2,
> 2025 6:53 AM
> >
> > Receive and send buffer allocation was originally introduced to support
> > DPDK's networking use case. These buffer sizes were further increased to
> > meet DPDK
On Sun, Dec 29, 2024 at 06:02:34PM +, Michael Kelley wrote:
> From: Sonia Sharma Sent: Friday, December 20,
> 2024 3:56 PM
> >
>
> Please include the "linux-hyperv@vger.kernel.org" mailing list
> when submitting patches related to Hyper-V.
>
> > Harden hv_util type device drivers to allow
On Sun, Nov 17, 2024 at 11:07:23PM -0800, Naman Jain wrote:
[...]
> John Starks (1):
> Drivers: hv: vmbus: Log on missing offers if any
>
> Naman Jain (1):
> Drivers: hv: vmbus: Wait for boot-time offers during boot and resume
>
> drivers/hv/channel_mgmt.c | 61 +-
On Thu, Dec 19, 2024 at 10:19:07AM -0800, Roman Kisel wrote:
>
>
> On 12/18/2024 6:42 PM, Wei Liu wrote:
> > On Wed, Dec 18, 2024 at 12:54:21PM -0800, Roman Kisel wrote:
> > > The Top-Level Functional Specification for Hyper-V, Section 3.6 [1, 2],
> > > disallo
On Wed, Dec 18, 2024 at 12:54:20PM -0800, Roman Kisel wrote:
> Commit bc905fa8b633 ("hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h")
> changed the type of the output pointer to `struct hv_register_assoc` from
> `struct hv_get_vp_registers_output`. That leads to an incorrect computation,
> and
On Wed, Dec 18, 2024 at 12:54:21PM -0800, Roman Kisel wrote:
> The Top-Level Functional Specification for Hyper-V, Section 3.6 [1, 2],
> disallows
> overlapping of the input and output hypercall areas, and get_vtl(void) does
> overlap them.
>
> To fix this, enable allocation of the output hyperca
On Mon, Dec 16, 2024 at 08:17:07PM -0800, Erni Sri Satya Vennela wrote:
> This change is specific to Hyper-V VM user.
> If the Virtual Machine Connection window is focused,
> a Hyper-V VM user can unintentionally touch the keyboard/mouse
> when the VM is hibernating or resuming, and consequently th
1 - 100 of 245 matches
Mail list logo