Various parts of the hyperv code need to know what VTL
the kernel runs at, most notably VMBus needs that to
establish communication with the host.
Initialize the Virtual Trust Level field to enable
booting in the Virtual Trust Level.
Signed-off-by: Roman Kisel
Reviewed-by: Michael Kelley
---
a
On 3/14/2025 5:19 PM, Roman Kisel wrote:
The KVM/arm64 uses SMCCC to detect hypervisor presence. That code is
private, and it follows the SMCCC specification. Other existing and
emerging hypervisor guest implementations can and should use that
standard approach as well.
Factor out a common in
From: Nuno Das Neves Sent: Monday, March 10,
2025 2:47 PM
>
> On 3/7/2025 9:38 AM, Michael Kelley wrote:
> > From: Nuno Das Neves Sent: Friday,
> > February 28,
> 2025 4:38 PM
> >>
> >> On 2/26/2025 3:43 PM, Stanislav Kinsburskii wrote:
> >>> On Wed, Feb 26, 2025 at 03:08:02PM -0800, Nuno Das
On 3/11/2025 11:01 AM, Jeff Johnson wrote:
> On 2/26/25 15:08, Nuno Das Neves wrote:
> ...
>> +
>> +MODULE_AUTHOR("Microsoft");
>> +MODULE_LICENSE("GPL");
>> +
>
> Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
> description is missing"), a module without a MODULE_DESCRIPTION
Roman,
> The log statement reports the packet status code as the hv status code
> which causes confusion when debugging as "hv" might refer to a
> hypervisor, and sometimes to the host part of the Hyper-V
> virtualization stack.
Applied to 6.15/scsi-staging, thanks!
--
Martin K. Petersen
node_to_pxm() is used by hv_numa_node_to_pxm_info().
That helper will be used by Hyper-V root partition module code
when CONFIG_MSHV_ROOT=m.
Signed-off-by: Nuno Das Neves
Reviewed-by: Stanislav Kinsburskii
Reviewed-by: Easwar Hariharan
Reviewed-by: Michael Kelley
Reviewed-by: Tianyu Lan
---
> -Original Message-
> From: Saurabh Singh Sengar
> Sent: Monday, March 10, 2025 10:31 AM
> To: Long Li
> Cc: lon...@linuxonhyperv.com; KY Srinivasan ; Haiyang
> Zhang ; Wei Liu ; Dexuan Cui
> ; Greg Kroah-Hartman ;
> linux-hyperv@vger.kernel.org; linux-ker...@vger.kernel.org
> Subject
The KVM/arm64 uses SMCCC to detect hypervisor presence. That code is
private, and it follows the SMCCC specification. Other existing and
emerging hypervisor guest implementations can and should use that
standard approach as well.
Factor out a common infrastructure that the guests can use, update K
From: Nuno Das Neves Sent: Wednesday,
February 26, 2025 3:08 PM
>
Nit: For the patch Subject line, use prefix "Drivers: hv:" instead of with a
slash.
That's what we usually use and what you have used for other patches in this
series.
> get_hypervisor_version, hv_call_deposit_pages, hv_call_cr
A few additional definitions are required for the mshv driver code
(to follow). Introduce those here and clean up a little bit while
at it.
Signed-off-by: Nuno Das Neves
Reviewed-by: Roman Kisel
Reviewed-by: Stanislav Kinsburskii
Reviewed-by: Tianyu Lan
---
include/hyperv/hvgdk_mini.h | 72 +
On Wed, Mar 05, 2025 at 01:46:21PM -0800, Haiyang Zhang wrote:
> According to GDMA protocol, holes (zeros) are allowed at the beginning
> or middle of the gdma_list_devices_resp message. The existing code
> cannot properly handle this, and may miss some devices in the list.
>
> To fix, scan the en
On Mon, Mar 10, 2025 at 05:16:15PM +, Long Li wrote:
> > Subject: Re: [Patch v2] uio_hv_generic: Set event for all channels on the
> > device
> >
> > On Fri, Feb 28, 2025 at 02:14:14PM -0800, lon...@linuxonhyperv.com wrote:
> > > From: Long Li
> > >
> > > Hyper-V may offer a non latency sens
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.
Report the level when the kernel boots in the non-default (0)
one.
Signed-off-by: Roman Kisel
---
arch/arm64/hyperv/mshyperv.c
On Wed, 12 Mar 2025 16:15:31 -0700, lon...@linuxonhyperv.com wrote:
> Change mana_get_primary_netdev_rcu() to mana_get_primary_netdev(), and
> return the ndev with refcount held. The caller is responsible for dropping
> the refcount.
>
> Also drop the check for IFF_SLAVE as it is not necessary i
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@vger.kernel.org
> Cc: linux-
The VMBus driver uses ACPI for interrupt assignment on
arm64 hence it won't function in the VTL mode where only
DeviceTree can be used.
Update the VMBus driver to discover interrupt configuration
from DT.
Signed-off-by: Roman Kisel
Reviewed-by: Michael Kelley
---
drivers/hv/vmbus_drv.c | 30 ++
On Tue, 11 Mar 2025 at 14:19, Lorenzo Bianconi wrote:
>
> Set metadata size building the skb from xdp_buff in netsec driver
>
> Signed-off-by: Lorenzo Bianconi
> ---
> drivers/net/ethernet/socionext/netsec.c | 7 +--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/
The arm64 Hyper-V startup path relies on ACPI to detect
running under a Hyper-V compatible hypervisor. That
doesn't work on non-ACPI systems.
Hoist the ACPI detection logic into a separate function. Then
use the vendor-specific hypervisor service call (implemented
recently in Hyper-V) via SMCCC in
On Sun, Mar 09, 2025 at 09:41:40AM +0100, Thomas Gleixner wrote:
> While converting the MSI descriptor locking to a lock guard() I stumbled
> over various abuse of MSI descriptors (again).
>
> The following series cleans up the offending code and converts the MSI
> descriptor locking over to lock
On Sat, Mar 15, 2025, at 01:27, Roman Kisel wrote:
> On 3/14/2025 5:19 PM, Roman Kisel wrote:
>
> While the change is Acked, here is the caveat maybe.
>
> This patch produces warnings wtih sparse and CHECK_ENDING.
> That said, the kernel build produces a whole lot more other warnings
> from buildin
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/hv_vtl.c | 7 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff
Add a pointer hv_synic_eventring_tail to track the tail pointer for the
SynIC event ring buffer for each SINT.
This will be used by the mshv driver, but must be tracked independently
since the driver module could be removed and re-inserted.
Signed-off-by: Nuno Das Neves
Reviewed-by: Wei Liu
Rev
On 3/10/2025 6:41 AM, Tianyu Lan wrote:
On Sat, Mar 8, 2025 at 6:05 AM Roman Kisel wrote:
The ARM64 PCI code for hyperv needs to know the VMBus root
device, and it is private.
Provide a function that returns it. Rename it from "hv_dev"
as "hv_dev" as a symbol is very overloaded. No functio
On Fri, Mar 14, 2025 at 05:19:31PM -0700, Roman Kisel wrote:
> The hyperv-pci driver uses ACPI for MSI IRQ domain configuration on
> arm64. It won't be able to do that in the VTL mode where only DeviceTree
> can be used.
>
> Update the hyperv-pci driver to get vPCI MSI IRQ domain in the DeviceTree
The hyperv-pci driver uses ACPI for MSI IRQ domain configuration on
arm64. It won't be able to do that in the VTL mode where only DeviceTree
can be used.
Update the hyperv-pci driver to get vPCI MSI IRQ domain in the DeviceTree
case, too.
Signed-off-by: Roman Kisel
---
drivers/pci/controller/pc
> Subject: RE: [EXTERNAL] Re: [patch rdma-next v5 2/2] RDMA/mana_ib:
> Handle net event for pointing to the current netdev
>
> > Subject: [EXTERNAL] Re: [patch rdma-next v5 2/2] RDMA/mana_ib: Handle
> > net event for pointing to the current netdev
> >
> > On Thu, Mar 06, 2025 at 11:24:39AM -0800,
On 3/9/25 1:41 AM, Thomas Gleixner wrote:
> Convert the code to use the new guard(msi_descs_lock).
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner
> Cc: Jon Mason
> Cc: Dave Jiang
> Cc: Allen Hubbe
> Cc: n...@lists.linux.dev
Acked-by: Dave Jiang
> ---
> drivers/nt
From: Stanislav Kinsburskii
Extend the "ms_hyperv_info" structure to include a new field,
"ext_features", for capturing extended Hyper-V features.
Update the "ms_hyperv_init_platform" function to retrieve these features
using the cpuid instruction and include them in the informational output.
Si
28 matches
Mail list logo