RE: new trace in RDMA next

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I don't see any xa_store() to compat_devs or use of the mutex in the
> > ib_register_device() path?
> >
> The issue is not with xa_store or lock.
> Issue is that hfi1_create_port_files() is trying to create sysfs files out ppd-
> >sc2vl_kobj, which is already initialized during ib_register_device().
> For every net ns, my patches are adding compat devices which probably
> shouldn't invoke init_port for those compat devices as it not meaningful.
> 
> Attached patch should fix it.
> Can you please test it? I do not have hfi hw.
> I will inline the patch, in case attachment doesn't work.
> 

I see you added the init_port arg, but I don't see that the attached patch reads it?

I will give it a shot but...

Mike



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux