Re: [RFC 4/5] vmx_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2025 at 06:06:59PM -0600, Nico Pache wrote: > Update the NR_BALLOON_PAGES counter when pages are added to or > removed from the VMware balloon. > > Signed-off-by: Nico Pache > --- > drivers/misc/vmw_balloon.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff -

Re: [RFC 2/5] virtio_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2025 at 06:06:57PM -0600, Nico Pache wrote: > Update the NR_BALLOON_PAGES counter when pages are added to or > removed from the virtio balloon. > > Signed-off-by: Nico Pache > --- > drivers/virtio/virtio_balloon.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/driv

Re: [PATCH v2 2/9] dt-bindings: x86: Add a binding for x86 wakeup mailbox

2025-03-11 Thread Ricardo Neri
On Tue, Mar 11, 2025 at 11:01:28AM +0100, Krzysztof Kozlowski wrote: > On 03/03/2025 23:21, Ricardo Neri wrote: > > On Fri, Sep 20, 2024 at 01:15:41PM +0200, Krzysztof Kozlowski wrote: > > > > [...] > > > >> enable-method is part of CPUs, so you probably should match the CPUs... > >> I am not su

Re: [PATCH net, v2] net: mana: Support holes in device list reply msg

2025-03-11 Thread Michal Swiatkowski
On Tue, Mar 11, 2025 at 01:12:54PM -0700, 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

Re: [RFC 1/5] meminfo: add a per node counter for balloon drivers

2025-03-11 Thread Shakeel Butt
On Tue, Mar 11, 2025 at 06:06:56PM -0600, Nico Pache wrote: > Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and > expose it through /proc/meminfo and other memory reporting interfaces. > > Signed-off-by: Nico Pache > --- > fs/proc/meminfo.c | 2 ++ > include/linux/mmz

[RFC 5/5] xen: balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Nico Pache
Update the NR_BALLOON_PAGES counter when pages are added to or removed from the Xen balloon. Signed-off-by: Nico Pache --- drivers/xen/balloon.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index 163f7f1d70f1..65d4e7fa1eb8 100644 --- a/dri

[RFC 4/5] vmx_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Nico Pache
Update the NR_BALLOON_PAGES counter when pages are added to or removed from the VMware balloon. Signed-off-by: Nico Pache --- drivers/misc/vmw_balloon.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c index c817d8c21

[RFC 3/5] hv_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Nico Pache
Update the NR_BALLOON_PAGES counter when pages are added to or removed from the Hyper-V balloon. Signed-off-by: Nico Pache --- drivers/hv/hv_balloon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index fec2f18679e3..2b4080e51f97 100644 -

[RFC 2/5] virtio_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Nico Pache
Update the NR_BALLOON_PAGES counter when pages are added to or removed from the virtio balloon. Signed-off-by: Nico Pache --- drivers/virtio/virtio_balloon.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 89da052f4f

[RFC 1/5] meminfo: add a per node counter for balloon drivers

2025-03-11 Thread Nico Pache
Add NR_BALLOON_PAGES counter to track memory used by balloon drivers and expose it through /proc/meminfo and other memory reporting interfaces. Signed-off-by: Nico Pache --- fs/proc/meminfo.c | 2 ++ include/linux/mmzone.h | 1 + mm/memcontrol.c| 1 + mm/show_mem.c | 4 +++-

[RFC 0/5] track memory used by balloon drivers

2025-03-11 Thread Nico Pache
This series introduces a way to track memory used by balloon drivers. Add a NR_BALLOON_PAGES counter to track how many pages are reclaimed by the balloon drivers. First add the accounting, then updates the balloon drivers (virtio, Hyper-V, VMware, and Xen) to maintain this counter. This makes the

Re: [PATCH v5 10/10] Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs

2025-03-11 Thread Wei Liu
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. > > > > [..

Re: [GIT PULL] Hyper-V fixes for v6.14-rc7

2025-03-11 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Mar 2025 21:51:23 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-fixes-signed-20250311 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0fed89a961ea851945d23cc35beb59d6e56c0964

Re: [PATCH hyperv-next v3 0/2] x86/hyperv: VTL mode reboot fixes

2025-03-11 Thread Wei Liu
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

Re: [PATCH v2] hyperv: Remove unused union and structs

2025-03-11 Thread Wei Liu
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.

[GIT PULL] Hyper-V fixes for v6.14-rc7

2025-03-11 Thread Wei Liu
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

Re: [patch 05/10] PCI/MSI: Switch to MSI descriptor locking to guard()

2025-03-11 Thread Thomas Gleixner
On Tue, Mar 11 2025 at 18:10, Jonathan Cameron wrote: > On Sun, 9 Mar 2025 09:41:49 +0100 (CET) > Thomas Gleixner wrote: > > This one runs into some of the stuff that the docs say > to not do. I don't there there are bugs in here as such > but it gets harder to reason about and fragile in the lo

Re: [patch 02/10] genirq/msi: Use lock guards for MSI descriptor locking

2025-03-11 Thread Thomas Gleixner
On Tue, Mar 11 2025 at 18:00, Jonathan Cameron wrote: > On Sun, 9 Mar 2025 09:41:44 +0100 (CET) > Thomas Gleixner wrote: >> >> @@ -1037,25 +1032,23 @@ bool msi_create_device_irq_domain(struct >> if (msi_setup_device_data(dev)) > > Hmm. We might want to make the docs in cleanup.h more nuan

[PATCH net, v2] net: mana: Support holes in device list reply msg

2025-03-11 Thread Haiyang Zhang
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 entire list until the num_of_devs are found, or until the end of the list.

Re: [PATCH v5 07/10] Drivers: hv: Introduce per-cpu event ring tail

2025-03-11 Thread Tianyu Lan
On Thu, Feb 27, 2025 at 7:09 AM Nuno Das Neves wrote: > > 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-i

Re: [PATCH v5 05/10] acpi: numa: Export node_to_pxm()

2025-03-11 Thread Tianyu Lan
On Thu, Feb 27, 2025 at 7:10 AM Nuno Das Neves wrote: > > 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: Tianyu Lan -- Thanks Tianyu Lan

Re: [PATCH v5 02/10] x86/mshyperv: Add support for extended Hyper-V features

2025-03-11 Thread Tianyu Lan
On Thu, Feb 27, 2025 at 7:09 AM Nuno Das Neves wrote: > > 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

Re: [patch 10/10] genirq/msi: Rename msi_[un]lock_descs()

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:58 +0100 (CET) Thomas Gleixner wrote: > Now that all abuse is gone and the legit users are converted to > guard(msi_descs_lock), rename the lock functions and document them as > internal. > > No functional chance. > > Signed-off-by: Thomas Gleixner Sensible. Reviewed-

Re: [patch 06/10] PCI: hv: Switch MSI descriptor locking to guard()

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:51 +0100 (CET) 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

Re: [patch 05/10] PCI/MSI: Switch to MSI descriptor locking to guard()

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:49 +0100 (CET) Thomas Gleixner wrote: > Convert the code to use the new guard(msi_descs_lock). > > No functional change intended. > > Signed-off-by: Thomas Gleixner > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org This one runs into some of the stuff that the doc

Re: [patch 04/10] NTB/msi: Switch MSI descriptor locking to lock guard()

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:48 +0100 (CET) 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 Reviewed-by: Jonathan

Re: [patch 03/10] soc: ti: ti_sci_inta_msi: Switch MSI descriptor locking to guard()

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:46 +0100 (CET) Thomas Gleixner wrote: > Convert the code to use the new guard(msi_descs_lock). > > No functional change intended. > > Signed-off-by: Thomas Gleixner > Cc: Nishanth Menon > Cc: Tero Kristo > Cc: Santosh Shilimkar Reviewed-by: Jonathan Cameron

Re: [PATCH v5 10/10] Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs

2025-03-11 Thread Jeff Johnson
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() will result in a warning with make W=1. Please add a M

Re: [patch 02/10] genirq/msi: Use lock guards for MSI descriptor locking

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:44 +0100 (CET) Thomas Gleixner wrote: > Provide a lock guard for MSI descriptor locking and update the core code > accordingly. > > No functional change intended. > > Signed-off-by: Thomas Gleixner One case in here made me go back to the helpful docs Dan wrote after e

RE: [PATCH] uio_hv_generic: Fix sysfs creation path for ring buffer

2025-03-11 Thread Dexuan Cui
> From: Naman Jain > Sent: Monday, March 10, 2025 9:45 PM > > [...] > > Hi Greg, > > I understand this is deviating from the discussions that we have had > > till now, but I wanted to kindly request your opinion on the following > > approach, which came up in one of our internal discussions. > > >

Re: [patch 01/10] genirq/msi: Make a few functions static

2025-03-11 Thread Jonathan Cameron
On Sun, 9 Mar 2025 09:41:42 +0100 (CET) Thomas Gleixner wrote: > None of these functions are used outside of the MSI core. > > Signed-off-by: Thomas Gleixner Reviewed-by: Jonathan Cameron

Re: [PATCH hyperv-next v5 07/11] dt-bindings: microsoft,vmbus: Add interrupts and DMA coherence

2025-03-11 Thread Roman Kisel
On 3/10/2025 10:40 AM, Krzysztof Kozlowski wrote: On 10/03/2025 18:05, Roman Kisel wrote: On 3/10/2025 2:28 AM, Krzysztof Kozlowski wrote: On Fri, Mar 07, 2025 at 02:02:59PM -0800, Roman Kisel wrote: To boot on ARM64, VMBus requires configuring interrupts. Missing DMA coherence property i

Re: [PATCH hyperv-next v5 07/11] dt-bindings: microsoft,vmbus: Add interrupts and DMA coherence

2025-03-11 Thread Roman Kisel
On 3/10/2025 2:28 AM, Krzysztof Kozlowski wrote: On Fri, Mar 07, 2025 at 02:02:59PM -0800, Roman Kisel wrote: To boot on ARM64, VMBus requires configuring interrupts. Missing DMA coherence property is sub-optimal as the VMBus transations are cache-coherent. Add interrupts to be able to boot

Re: [PATCH hyperv-next v5 08/11] Drivers: hv: vmbus: Get the IRQ number from DeviceTree

2025-03-11 Thread Roman Kisel
On 3/8/2025 1:11 PM, Arnd Bergmann wrote: On Fri, Mar 7, 2025, at 23:03, Roman Kisel wrote: +static int __maybe_unused vmbus_set_irq(struct platform_device *pdev) Instead of the __maybe_unused annotation here +#ifndef HYPERVISOR_CALLBACK_VECTOR + ret = vmbus_set_irq(pdev); +

Re: [PATCH hyperv-next v5 11/11] PCI: hv: Get vPCI MSI IRQ domain from DeviceTree

2025-03-11 Thread Bjorn Helgaas
On Fri, Mar 07, 2025 at 02:03:03PM -0800, 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

Re: [patch 04/10] NTB/msi: Switch MSI descriptor locking to lock guard()

2025-03-11 Thread Logan Gunthorpe
On 2025-03-09 01:41, 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 Looks really nice to me, thanks. Review

Re: [PATCH hyperv-next v5 06/11] arm64, x86: hyperv: Report the VTL the system boots in

2025-03-11 Thread Roman Kisel
On 3/10/2025 9:53 AM, Wei Liu wrote: On Mon, Mar 10, 2025 at 09:42:15AM -0700, Roman Kisel wrote: [...] Please be consistent across different architectures. In the earlier versions of the patch series, I had that piece from the above mirrored in the arm64, and there was advice on remo

RE: [PATCH hyperv-next v5 08/11] Drivers: hv: vmbus: Get the IRQ number from DeviceTree

2025-03-11 Thread Michael Kelley
From: Roman Kisel Sent: Friday, March 7, 2025 2:03 PM > > 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: Ro

Re: [patch 00/10] genirq/msi: Spring cleaning

2025-03-11 Thread Thomas Gleixner
On Mon, Mar 10 2025 at 11:51, Bjorn Helgaas wrote: > For the drivers/pci/ parts: > > Acked-by: Bjorn Helgaas > > I assume you'll merge this somewhere, let me know if otherwise. Yes. I intend to get it through tip.

RE: [Patch v2] uio_hv_generic: Set event for all channels on the device

2025-03-11 Thread Long Li
> 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 sensitive device with subchannels > > without monitor bit enabled. The deci

Re: [PATCH net-next 0/3] vsock: support network namespace

2025-03-11 Thread Stefano Garzarella
On Thu, 6 Mar 2025 at 01:17, Jason Wang wrote: > > On Wed, Mar 5, 2025 at 5:30 PM Stefano Garzarella wrote: > > > > On Wed, Mar 05, 2025 at 02:27:12AM -0500, Michael S. Tsirkin wrote: > > >On Tue, Mar 04, 2025 at 04:39:02PM -0800, Bobby Eshleman wrote: > > >> I think it might be a lot of complexi

[PATCH] hyperv: Remove unused union and structs

2025-03-11 Thread Thorsten Blum
The union vmpacket_largest_possible_header and several structs have not been used for a long time afaict - remove them. Signed-off-by: Thorsten Blum --- include/linux/hyperv.h | 47 -- 1 file changed, 47 deletions(-) diff --git a/include/linux/hyperv.h b/

Re: [PATCH net-next 0/7] net: xdp: Add missing metadata support for some xdp drvs

2025-03-11 Thread Michal Kubiak
On Tue, Mar 11, 2025 at 01:18:32PM +0100, Lorenzo Bianconi wrote: > Introduce missing metadata support for some xdp drivers setting metadata > size building the skb from xdp_buff. > Please note most of the drivers are just compile tested. > > --- > Lorenzo Bianconi (7): > net: mvneta: Add me

[PATCH net] net: mana: cleanup mana struct after debugfs_remove()

2025-03-11 Thread Shradha Gupta
When on a MANA VM hibernation is triggered, as part of hibernate_snapshot(), mana_gd_suspend() and mana_gd_resume() are called. If during this mana_gd_resume(), a failure occurs with HWC creation, mana_port_debugfs pointer does not get reinitialized and ends up pointing to older, cleaned-up dentry.

[PATCH net-next 3/7] net: netsec: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
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/net/ethernet/socionext/netsec.c b/drivers/net/ethernet/socionext/netse

Re: [PATCH net] net: mana: cleanup mana struct after debugfs_remove()

2025-03-11 Thread Michal Kubiak
On Tue, Mar 11, 2025 at 03:17:40AM -0700, Shradha Gupta wrote: > When on a MANA VM hibernation is triggered, as part of hibernate_snapshot(), > mana_gd_suspend() and mana_gd_resume() are called. If during this > mana_gd_resume(), a failure occurs with HWC creation, mana_port_debugfs > pointer does

[PATCH net-next 7/7] net: ti: cpsw: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in cpsw/cpsw_new drivers Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/ti/cpsw.c | 6 +- drivers/net/ethernet/ti/cpsw_new.c | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw

[PATCH net-next 6/7] net: mana: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in mana driver Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/microsoft/mana/mana_bpf.c | 2 +- drivers/net/ethernet/microsoft/mana/mana_en.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/m

[PATCH net-next 2/7] net: mvpp2: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in mvpp2 driver Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet

[PATCH net-next 0/7] net: xdp: Add missing metadata support for some xdp drvs

2025-03-11 Thread Lorenzo Bianconi
Introduce missing metadata support for some xdp drivers setting metadata size building the skb from xdp_buff. Please note most of the drivers are just compile tested. --- Lorenzo Bianconi (7): net: mvneta: Add metadata support for xdp mode net: mvpp2: Add metadata support for xdp mode

[PATCH net-next 1/7] net: mvneta: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in mvneta driver Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/marvell/mvneta.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index

[PATCH net-next 5/7] net: ethernet: mediatek: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in mediatek driver Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/media

[PATCH net-next 4/7] net: octeontx2: Add metadata support for xdp mode

2025-03-11 Thread Lorenzo Bianconi
Set metadata size building the skb from xdp_buff in octeontx2 driver Signed-off-by: Lorenzo Bianconi --- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c

Re: [PATCH v5 09/10] hyperv: Add definitions for root partition driver to hv headers

2025-03-11 Thread Tianyu Lan
On Thu, Feb 27, 2025 at 7:11 AM Nuno Das Neves wrote: > > 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 > --- It may be better to unify data type u8, u16, u32, u64

Re: [PATCH v2 2/9] dt-bindings: x86: Add a binding for x86 wakeup mailbox

2025-03-11 Thread Krzysztof Kozlowski
On 03/03/2025 23:21, Ricardo Neri wrote: > On Fri, Sep 20, 2024 at 01:15:41PM +0200, Krzysztof Kozlowski wrote: > > [...] > >> enable-method is part of CPUs, so you probably should match the CPUs... >> I am not sure, I don't have the big picture here. >> >> Maybe if companies want to push more o

[PATCH v2] hyperv: Remove unused union and structs

2025-03-11 Thread Thorsten Blum
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 --- Changes in v2: - Remove unused struct vmadditional_data as suggested by Michael Kelley - Link to v1: https://lore.