Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-13 Thread Doug Ledford
On Sun, 2018-09-09 at 23:55 +0300, Arseny Maslennikov wrote: > On Sun, Sep 09, 2018 at 09:11:46PM +0300, Arseny Maslennikov wrote: > > On Fri, Sep 07, 2018 at 09:43:59AM -0600, Jason Gunthorpe wrote: > > > On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > > > > Some tools may cu

Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-09 Thread Arseny Maslennikov
On Sun, Sep 09, 2018 at 09:11:46PM +0300, Arseny Maslennikov wrote: > On Fri, Sep 07, 2018 at 09:43:59AM -0600, Jason Gunthorpe wrote: > > On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > > > Some tools may currently be using only the deprecated attribute; > > > let's print an

Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-09 Thread Arseny Maslennikov
On Fri, Sep 07, 2018 at 09:43:59AM -0600, Jason Gunthorpe wrote: > On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > > Some tools may currently be using only the deprecated attribute; > > let's print an elaborate and clear deprecation notice to kmsg. > > > > To do that, we have

Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-07 Thread Jason Gunthorpe
On Fri, Sep 07, 2018 at 01:14:51PM -0400, Doug Ledford wrote: > On Fri, 2018-09-07 at 09:43 -0600, Jason Gunthorpe wrote: > > On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > > > Some tools may currently be using only the deprecated attribute; > > > let's print an elaborate and

Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-07 Thread Doug Ledford
On Fri, 2018-09-07 at 09:43 -0600, Jason Gunthorpe wrote: > On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > > Some tools may currently be using only the deprecated attribute; > > let's print an elaborate and clear deprecation notice to kmsg. > > > > To do that, we have to rep

Re: [PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-07 Thread Jason Gunthorpe
On Thu, Sep 06, 2018 at 05:51:12PM +0300, Arseny Maslennikov wrote: > Some tools may currently be using only the deprecated attribute; > let's print an elaborate and clear deprecation notice to kmsg. > > To do that, we have to replace the whole sysfs file, since we inherit > the original one from

[PATCH v4 3/3] IB/ipoib: Log sysfs 'dev_id' accesses from userspace

2018-09-06 Thread Arseny Maslennikov
Some tools may currently be using only the deprecated attribute; let's print an elaborate and clear deprecation notice to kmsg. To do that, we have to replace the whole sysfs file, since we inherit the original one from netdev. Signed-off-by: Arseny Maslennikov --- drivers/infiniband/ulp/ipoib/