Re: [PATCH v1 1/2] dt-bindings: i2c: add "dev-name" property to assign specific device name

2021-04-19 Thread Manish Varma
Hi Rob, Thanks for the inputs. On Fri, Apr 9, 2021 at 11:34 AM Rob Herring wrote: > > On Wed, Apr 07, 2021 at 11:50:38AM -0700, Manish Varma wrote: > > I2C devices currently are named dynamically using > > - convention, unless they are instantiated > > through ACPI

[PATCH v1 2/2] i2c: use "dev-name" device tree property to override device name

2021-04-07 Thread Manish Varma
nt). And as a result of this, i2c_dev_set_name() should now use the actual device name instead of made up one. Signed-off-by: Manish Varma --- drivers/i2c/i2c-core-of.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/i2c-core-of.c b/drivers/i2c/i2c-core-of.c index 3ed74aa4b44b.

[PATCH v1 1/2] dt-bindings: i2c: add "dev-name" property to assign specific device name

2021-04-07 Thread Manish Varma
modifications. By adding an optional "dev-name" property, it provides a mechanism to set consistent and easy to recognize names for I2C devices. Signed-off-by: Manish Varma --- Documentation/devicetree/bindings/i2c/i2c.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Doc

[PATCH v1 0/2] Override device name using DT "dev-name" property

2021-04-07 Thread Manish Varma
won't be unique for the same I2C device. Changes here addresses this problem by introducing an optional device tree property "dev-name", which will be used to set the device name, if present, instead of following - convention. Manish Varma (2): dt-bindings: i2c: add "dev-name

[PATCH v3] fs: Improve eventpoll logging to stop indicting timerfd

2021-04-01 Thread Manish Varma
y: Kelly Rossmoyer Signed-off-by: Kelly Rossmoyer Signed-off-by: Manish Varma --- drivers/base/power/wakeup.c | 10 -- fs/eventpoll.c | 10 -- include/linux/pm_wakeup.h | 4 ++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/base/power/wakeup

Re: [PATCH v2] fs: Improve eventpoll logging to stop indicting timerfd

2021-04-01 Thread Manish Varma
Hi Al, On Wed, Mar 31, 2021 at 7:29 PM Al Viro wrote: > > On Wed, Mar 31, 2021 at 07:16:45PM -0700, Manish Varma wrote: > > timerfd doesn't create any wakelocks, but eventpoll can. When it does, > > it names them after the underlying file descriptor, and since all >

[PATCH v2] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-31 Thread Manish Varma
pollitemN:P.F", where N is a unique ID token and P is PID of the creating process and F is the name of the underlying file descriptor. All together that should be splitted up into a change to eventpoll and timerfd (or other file descriptors). Co-developed-by: Kelly Rossmoyer Signed-off-by:

Re: [PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-24 Thread Manish Varma
Hi Thomas, On Mon, Mar 22, 2021 at 2:40 PM Thomas Gleixner wrote: > > Manish, > > On Mon, Mar 22 2021 at 10:15, Manish Varma wrote: > > On Thu, Mar 18, 2021 at 6:04 AM Thomas Gleixner wrote: > >> > +static atomic_t instance_count = ATOMIC_INIT(0); > >>

Re: [PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-22 Thread Manish Varma
Hi Thomas, On Thu, Mar 18, 2021 at 6:04 AM Thomas Gleixner wrote: > > Manish, > > On Mon, Mar 01 2021 at 19:49, Manish Varma wrote: > > > All together, that will give us names like the following: > > > > 1) timerfd file descriptor: [timerfd14:system_server] >

[PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-02 Thread Manish Varma
ll-on-timerfd per-descriptor wakesource: epollitem:system_server.[timerfd14:system_server] Co-developed-by: Kelly Rossmoyer Signed-off-by: Kelly Rossmoyer Signed-off-by: Manish Varma --- fs/eventpoll.c | 10 -- fs/timerfd.c | 11 ++- 2 files changed, 18 insertions(+), 3 de