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 -
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
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
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
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
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
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
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
-
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
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 +++-
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
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.
> >
>
> [..
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
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
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
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
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.
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
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
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
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-
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
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
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
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
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
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
> 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.
> >
>
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
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
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
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);
+
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
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
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
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
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.
> 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
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
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/
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
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.
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
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
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
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
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
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
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
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
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
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
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
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.
56 matches
Mail list logo