On 3/14/2025 12:28 PM, 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
> Reviewed-by: Roman Kisel
> Reviewed-by: Stanislav Kinsburskii
> Revi
On Mon, Mar 17, 2025 at 02:29:27PM +0100, Thomas Gleixner wrote:
> Convert the code to use the new guard(msi_descs_lock).
>
> No functional change intended.
>
> Signed-off-by: Thomas Gleixner
> Reviewed-by: Jonathan Cameron
> Cc: Bjorn Helgaas
> Cc: linux-...@vger.kernel.org
Acked-by: Bjorn H
On 3/11/25 1:18 PM, 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.
I'm sorry, but you should at very least report explicitly on per patch
basis whic
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni :
On Tue, 11 Mar 2025 13:12:54 -0700 you 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 ma
On Tue, Mar 18, 2025 at 11:45:58AM +0530, Naman Jain wrote:
> On regular bootup, devices get registered to vmbus first, so when
> uio_hv_generic driver for a particular device type is probed,
> the device is already initialized and added, so sysfs creation in
> uio_hv_generic probe works fine. Howe
Set metadata size building the skb from xdp_buff in cpsw/cpsw_new
drivers. ti cpsw and cpsw_new drivers set xdp headroom at least to
CPSW_HEADROOM_NA:
CPSW_HEADROOM_NA max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN
so the headroom is large enough to contain xdp_frame and xdp metadata.
Pleas
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.
---
Changes in v2:
- Improve commit logs for each patch specifying xdp headroom size for
each modified driver.
- Link to v1:
htt
Set metadata size building the skb from xdp_buff in mvneta driver
mvneta sets xdp headroom to:
MVNETA_MH_SIZE + MVNETA_SKB_HEADROOM
where
MVNETA_MH_SIZE 2
MVNETA_SKB_HEADROOM max(NET_SKB_PAD, XDP_PACKET_HEADROOM)
so the headroom is large enough to contain xdp_frame and xdp metadata.
Reviewed-b
Set metadata size building the skb from xdp_buff in mvpp2 driver
mvpp2 driver sets xdp headroom to:
MVPP2_MH_SIZE + MVPP2_SKB_HEADROOM
where
MVPP2_MH_SIZE 2
MVPP2_SKB_HEADROOM min(max(XDP_PACKET_HEADROOM, NET_SKB_PAD), 224)
so the headroom is large enough to contain xdp_frame and xdp metadata.
Set metadata size building the skb from xdp_buff in netsec driver.
netsec driver sets xdp headroom to NETSEC_RXBUF_HEADROOM:
NETSEC_RXBUF_HEADROOM max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN
so the headroom is large enough to contain xdp_frame and xdp metadata.
Please note this patch is
Set metadata size building the skb from xdp_buff in mediatek driver.
mtk_eth_soc driver sets xdp headroom to XDP_PACKET_HEADROOM so the
headroom is large enough to contain xdp_frame and xdp metadata.
Please note this patch is just compiled tested.
Reviewed-by: Michal Kubiak
Signed-off-by: Lorenzo
On Mon, Mar 17 2025 at 09:57, James Bottomley wrote:
> On Mon, 2025-03-17 at 14:29 +0100, Thomas Gleixner wrote:
>> +#define retain_ptr(p) \
>> +__get_and_null(p, NULL)
>
> This doesn't score very highly on the Rusty API design scale because it
> can be used anywhe
On 14.03.25 22:37, Nico Pache wrote:
Update the NR_BALLOON_PAGES counter when pages are added to or
removed from the Xen balloon.
Signed-off-by: Nico Pache
Reviewed-by: Juergen Gross
Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Descriptio
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 hypercalls make
different choices for what portion of struct hv_vpset is treated a
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
> [...]
> > > +static long
> > > +mshv_vp_ioctl_get_set_state(struct mshv_vp *vp,
> > > +
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
> > [...]
> > > > +static long
On 3/17/2025 4:51 PM, Michael Kelley wrote:
> From: Nuno Das Neves Sent: Wednesday,
> February 26, 2025 3:08 PM
>> +
>> +/* TODO move this to another file when debugfs code is added */
>> +enum hv_stats_vp_counters { /* HV_THREAD_COUNTER */
>> +#if defined(CONFIG_X86)
>> +VpR
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 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,
> > +
From: Nuno Das Neves Sent: Tuesday, March
18, 2025 5:34 PM
>
> On 3/17/2025 4:51 PM, Michael Kelley wrote:
> > From: Nuno Das Neves Sent: Wednesday,
> February 26, 2025 3:08 PM
>
> >> +
> >> +/* TODO move this to another file when debugfs code is added */
> >> +enum hv_stats_vp_counters {
From: Wei Liu Sent: Tuesday, March 18, 2025 1:00 PM
>
> 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
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_ROOT.
>
[snip]
> +
> +int
> +hv_call_clear_virtual_interrupt(u64 partition
On 3/14/2025 12:28 PM, Nuno Das Neves wrote:
> Introduce hv_status_printk() macros as a convenience to log hypercall
> errors, formatting them with the status code (HV_STATUS_*) as a raw hex
> value and also as a string, which saves some time while debugging.
>
> Create a table of HV_STATUS_ codes
On 3/14/2025 12:28 PM, Nuno Das Neves wrote:
> These non-nested msr and fast hypercall functions are present in x86,
> but they must be available in both architectures for the root partition
> driver code.
>
> While at it, remove the redundant 'extern' keywords from the
> hv_do_hypercall() variant
Hi Michael,
On 3/18/25 03:05, Michael Kelley wrote:
I've been trying to get mmap() working with the hyperv_fb.c fbdev driver, which
is for Linux guests running on Microsoft's Hyper-V hypervisor. The hyperv_fb
driver
uses fbdev deferred I/O for performance reasons. But it looks to me like fbdev
25 matches
Mail list logo