Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-10-08 Thread Silesh C V
Hello Rob, Thanks for the review. On Mon, Oct 8, 2018 at 9:15 PM Rob Herring wrote: > > In the future, please use get_maintainers.pl and send to the right > lists and people. Perhaps the coresight, i2c, network, nvmem and spi > maintainers would like to see and be aware of this change. > Sure.

Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-10-08 Thread Silesh C V
Hello Rob, Thanks for the review. On Mon, Oct 8, 2018 at 9:15 PM Rob Herring wrote: > > In the future, please use get_maintainers.pl and send to the right > lists and people. Perhaps the coresight, i2c, network, nvmem and spi > maintainers would like to see and be aware of this change. > Sure.

Re: [PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-10-08 Thread Silesh C V
Hello Rafael, On Mon, Oct 8, 2018 at 1:43 PM Rafael J. Wysocki wrote: > > On Tue, Sep 25, 2018 at 7:29 AM Silesh C V wrote: > > > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own implementations

Re: [PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-10-08 Thread Silesh C V
Hello Rafael, On Mon, Oct 8, 2018 at 1:43 PM Rafael J. Wysocki wrote: > > On Tue, Sep 25, 2018 at 7:29 AM Silesh C V wrote: > > > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own implementations

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. Signed-off-by: Silesh C V --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. Signed-off-by: Silesh C V --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns

Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Hello Greg, On Tue, Sep 25, 2018 at 12:34 PM Greg Kroah-Hartman wrote: > > On Tue, Sep 25, 2018 at 10:58:48AM +0530, Silesh C V wrote: > > Use bus_find_device_by_fwnode helper to find the device having a > > specific firmware node on a bus. > > --- > > > No s

Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Hello Greg, On Tue, Sep 25, 2018 at 12:34 PM Greg Kroah-Hartman wrote: > > On Tue, Sep 25, 2018 at 10:58:48AM +0530, Silesh C V wrote: > > Use bus_find_device_by_fwnode helper to find the device having a > > specific firmware node on a bus. > > --- > > > No s

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 8

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 8

[PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V --- drivers/base

[PATCH v2 1/2] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V --- drivers/base

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Hello Greg, On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman wrote: > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own imp

Re: [PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-24 Thread Silesh C V
Hello Greg, On Mon, Sep 24, 2018 at 10:48 AM Greg Kroah-Hartman wrote: > > On Mon, Sep 24, 2018 at 10:05:55AM +0530, Silesh C V wrote: > > Some drivers need to find the device on a bus having a specific firmware > > node. Currently, such drivers have their own imp

[PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V --- drivers/base

[PATCH] Driver core: add bus_find_device_by_fwnode

2018-09-23 Thread Silesh C V
Some drivers need to find the device on a bus having a specific firmware node. Currently, such drivers have their own implementations to do this. Provide a helper similar to bus_find_device_by_name so that each driver does not have to reinvent this. Signed-off-by: Silesh C V --- drivers/base

Re: [PATCH] Driver core: add bus_find_device_by_of_node

2018-09-21 Thread Silesh C V
Hello Rafael, On Fri, Sep 21, 2018 at 2:47 PM Rafael J. Wysocki wrote: > > > > > > > > > Second, what about a more generic bus_find_device_by_fwnode() ? > > > > If you think that the above requirement warrants the inclusion of > > bus_find_device_by_of_node, I can try implementing this in v2. >

Re: [PATCH] Driver core: add bus_find_device_by_of_node

2018-09-21 Thread Silesh C V
Hello Rafael, On Fri, Sep 21, 2018 at 2:47 PM Rafael J. Wysocki wrote: > > > > > > > > > Second, what about a more generic bus_find_device_by_fwnode() ? > > > > If you think that the above requirement warrants the inclusion of > > bus_find_device_by_of_node, I can try implementing this in v2. >

Re: [PATCH] Driver core: add bus_find_device_by_of_node

2018-09-20 Thread Silesh C V
Hello Rafael, On Thu, Sep 20, 2018 at 1:06 PM Rafael J. Wysocki wrote: > > On Thu, Sep 20, 2018 at 7:43 AM Silesh C V wrote: > > > > Similar to bus_find_device_by_name, but finds the device having a > > specific of_node. > > First, what do you need it for?

Re: [PATCH] Driver core: add bus_find_device_by_of_node

2018-09-20 Thread Silesh C V
Hello Rafael, On Thu, Sep 20, 2018 at 1:06 PM Rafael J. Wysocki wrote: > > On Thu, Sep 20, 2018 at 7:43 AM Silesh C V wrote: > > > > Similar to bus_find_device_by_name, but finds the device having a > > specific of_node. > > First, what do you need it for?

[PATCH] Driver core: add bus_find_device_by_of_node

2018-09-19 Thread Silesh C V
Similar to bus_find_device_by_name, but finds the device having a specific of_node. Signed-off-by: Silesh C V --- drivers/base/bus.c | 21 + include/linux/device.h | 3 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index

[PATCH] Driver core: add bus_find_device_by_of_node

2018-09-19 Thread Silesh C V
Similar to bus_find_device_by_name, but finds the device having a specific of_node. Signed-off-by: Silesh C V --- drivers/base/bus.c | 21 + include/linux/device.h | 3 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index

[PATCH] coredump: Fix the setting of PF_DUMPCORE

2014-07-11 Thread Silesh C V
tsk->flags is checked again (eg. for PF_USED_MATH to dump floating point registers). Fix this. Signed-off-by: Silesh C V Cc: Oleg Nesterov Cc: Mandeep Singh Baines --- fs/coredump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/coredump.c b/fs/coredump.c index 0

[PATCH] coredump: Fix the setting of PF_DUMPCORE

2014-07-11 Thread Silesh C V
-flags is checked again (eg. for PF_USED_MATH to dump floating point registers). Fix this. Signed-off-by: Silesh C V svella...@mvista.com Cc: Oleg Nesterov o...@redhat.com Cc: Mandeep Singh Baines m...@chromium.org --- fs/coredump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git