lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250307073301.5f3da8be@canb.auug.org.au>
Date: Fri, 7 Mar 2025 07:33:01 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Zhu Yanjun <yanjun.zhu@...ux.dev>
Cc: Doug Ledford <dledford@...hat.com>, Jason Gunthorpe <jgg@...lanox.com>,
 Leon Romanovsky <leon@...nel.org>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the rdma tree with the rdma-fixes
 tree

Hi Zhu,

On Thu, 6 Mar 2025 11:19:24 +0100 Zhu Yanjun <yanjun.zhu@...ux.dev> wrote:
>
> >    	rxe->max_ucontext			= RXE_MAX_UCONTEXT;
> > +
> > + 	if (IS_ENABLED(CONFIG_INFINIBAND_ON_DEMAND_PAGING)) {
> > + 		rxe->attr.kernel_cap_flags |= IBK_ON_DEMAND_PAGING;
> > +
> > + 		/* IB_ODP_SUPPORT_IMPLICIT is not supported right now. */
> > + 		rxe->attr.odp_caps.general_caps |= IB_ODP_SUPPORT;
> > +
> > + 		rxe->attr.odp_caps.per_transport_caps.ud_odp_caps |= IB_ODP_SUPPORT_SEND;
> > + 		rxe->attr.odp_caps.per_transport_caps.ud_odp_caps |= IB_ODP_SUPPORT_RECV;
> > + 		rxe->attr.odp_caps.per_transport_caps.ud_odp_caps |= IB_ODP_SUPPORT_SRQ_RECV;
> > +
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_SEND;
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_RECV;
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_WRITE;
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_READ;
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_ATOMIC;
> > + 		rxe->attr.odp_caps.per_transport_caps.rc_odp_caps |= IB_ODP_SUPPORT_SRQ_RECV;
> > + 	}
> >    }  
> 
> The above snippet is from on_demand paging commits. I do not why it is involved in this commit.
> 
> It should appear in on_demand_paging patchset.

That is not part of the conflict, but the change is there on one side
of the merge.

> >    /* initialize port attributes */
> > @@@ -107,13 -141,18 +133,13 @@@ static void rxe_init_port_param(struct
> >    /* initialize port state, note IB convention that HCA ports are always
> >     * numbered from 1
> >     */
> >   -static void rxe_init_ports(struct rxe_dev *rxe)
> >   +static void rxe_init_ports(struct rxe_dev *rxe, struct net_device *ndev)  
> 
> In this snippet, the variable "struct net_device *ndev" is not used in the function rxe_init_ports, it should be removed.

I have added that to my resolution.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ