Re: [PATCH 0/5] Reset Controller Nodes for TI Keystone platforms

2017-01-09 Thread Santosh Shilimkar
On 1/9/2017 11:43 AM, Suman Anna wrote: Hi Santosh, This patch adds the reset controller nodes and the corresponding reset data for TI Keystone 66AK2H, 66AK2L and 66AK2E SoCs. These resets are for the DSPs on these SoCs, and are the last dependencies before the keystone remoteproc driver can be

Re: [PATCH 0/5] Use mmio-sram driver for Keystone MSMC RAM

2017-01-06 Thread Santosh Shilimkar
On 1/6/2017 11:10 AM, Suman Anna wrote: Hi Santosh, OK. Its good to add the code at least with one active user of it. Since this has to anyway wait for another merge window, please post the users of it so that I can pull the combined patchset. Are you going to post new patchset or you dropp

[net-next][PATCH] RDS: validate the requested traces user input against max supported

2017-01-06 Thread Santosh Shilimkar
Larger than supported value can lead to array read/write overflow. Reported-by: Colin Ian King Signed-off-by: Santosh Shilimkar --- net/rds/af_rds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c index fd821740..b405f77 100644 --- a/net/rds/af_rds.c

Re: [PATCH v2] soc: ti: Drop wait from wkup_m3_rproc_boot_thread

2017-01-05 Thread Santosh Shilimkar
On 1/5/2017 1:08 PM, Suman Anna wrote: On 01/03/2017 05:41 PM, Sarangdhar Joshi wrote: The function wkup_m3_rproc_boot_thread waits for asynchronous firmware loading to parse the resource table before calling rproc_boot(). However, as the resource table parsing has been moved to rproc_boot(),

Re: [PATCH 1/2] soc: ti: knav_dma: fix typos in trace message

2017-01-05 Thread Santosh Shilimkar
On 1/5/2017 11:08 AM, Murali Karicheri wrote: On 12/20/2016 08:01 PM, Santosh Shilimkar wrote: On 12/20/2016 2:24 PM, Murali Karicheri wrote: This patch fixes some typos in the trace message Signed-off-by: Murali Karicheri Signed-off-by: Sekhar Nori --- Patch 1 and 2 looks fine. Will pick

Re: [PATCH v2 4/4] ARM: dts: keystone: Add "ti,da830-uart" compatible string

2017-01-05 Thread Santosh Shilimkar
On 1/5/2017 1:04 AM, Sekhar Nori wrote: Hi Santosh, On Thursday 05 January 2017 03:30 AM, Santosh Shilimkar wrote: On 1/4/2017 12:30 PM, David Lechner wrote: The TI Keystone SoCs have extra UART registers beyond the standard 8250 registers, so we need a new compatible string to indicate this

Re: [PATCH v3 0/4] ARM: K2G: Add support for TI-SCI Generic PM Domains

2017-01-04 Thread Santosh Shilimkar
On 1/4/2017 12:55 PM, Dave Gerlach wrote: Hi, This is v3 of the series to add support for TI-SCI Generic PM Domains. Previous versions can be found here: v2: https://www.spinics.net/lists/kernel/msg2364612.html v1: http://www.spinics.net/lists/arm-kernel/msg525204.html This version is rebased o

Re: [PATCH v2 4/4] ARM: dts: keystone: Add "ti,da830-uart" compatible string

2017-01-04 Thread Santosh Shilimkar
On 1/4/2017 12:30 PM, David Lechner wrote: The TI Keystone SoCs have extra UART registers beyond the standard 8250 registers, so we need a new compatible string to indicate this. Also, at least one of these registers uses the full 32 bits, so we need to specify reg-io-width in addition to reg-shi

[net-next][PATCH v3 09/17] RDS: RDMA: silence the use_once mr log flood

2017-01-02 Thread Santosh Shilimkar
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 3 ++- 1 file changed, 2 insertions(+), 1

[net-next][PATCH v3 08/17] RDS: IB: split the mr registration and invalidation path

2017-01-02 Thread Santosh Shilimkar
MR invalidation in RDS is done in background thread and not in data path like registration. So break the dependency between them which helps to remove the performance bottleneck. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 4 +++- net/rds/ib_cm.c | 9 +++-- net/rds

[net-next][PATCH v3 06/17] RDS: RDMA: start rdma listening after init

2017-01-02 Thread Santosh Shilimkar
From: Qing Huang This prevents RDS from handling incoming rdma packets before RDS completes initializing its recv/send components. Signed-off-by: Qing Huang Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff

[net-next][PATCH v3 07/17] RDS: RDMA: return appropriate error on rdma map failures

2017-01-02 Thread Santosh Shilimkar
the user by appropriate error code. Before returning to the user, lets trigger the connection so that its ready for the next retry. Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c

[net-next][PATCH v3 01/17] RDS: log the address on bind failure

2017-01-02 Thread Santosh Shilimkar
It's useful to know the IP address when RDS fails to bind a connection. Thus, adding it to the error message. Orabug: 21894138 Reviewed-by: Wei Lin Guay Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rds/bin

[net-next][PATCH v3 04/17] RDS: IB: make the transport retry count smallest

2017-01-02 Thread Santosh Shilimkar
Transport retry is not much useful since it indicate packet loss in fabric so its better to failover fast rather than longer retry. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index 45ac8e8

[net-next][PATCH v3 03/17] RDS: IB: include faddr in connection log

2017-01-02 Thread Santosh Shilimkar
Also use pr_* for it. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 19 +-- net/rds/ib_recv.c | 4 ++-- net/rds/ib_send.c | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 5b2ab95..b9da1e5 100644 --- a

[net-next][PATCH v3 05/17] RDS: RDMA: fix the ib_map_mr_sg_zbva() argument

2017-01-02 Thread Santosh Shilimkar
Fixes warning: Using plain integer as NULL pointer Signed-off-by: Santosh Shilimkar --- net/rds/ib_frmr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/rds/ib_frmr.c b/net/rds/ib_frmr.c index d921adc..66b3d62 100644 --- a/net/rds/ib_frmr.c +++ b/net/rds/ib_frmr.c

[net-next][PATCH v3 00/17] net: RDS updates

2017-01-02 Thread Santosh Shilimkar
6d531ffa: RDS: add receive message trace used by application (2017-01-02 14:02:59 -0800) Avinash Repaka (1): RDS: make message size limit compliant with spec Qing Huang (1): RDS: RDMA: start rdma listening after init Santosh Shilimkar

[net-next][PATCH v3 02/17] RDS: mark few internal functions static to make sparse build happy

2017-01-02 Thread Santosh Shilimkar
27;rds_walk_conn_path_info' was not declared. Should it be static? Signed-off-by: Santosh Shilimkar --- net/rds/connection.c | 10 +- net/rds/send.c | 4 ++-- net/rds/tcp_listen.c | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/net/rds/connection.c b/net

[net-next][PATCH v3 13/17] RDS: RDMA: Fix the composite message user notification

2017-01-02 Thread Santosh Shilimkar
ivery. Reviewed-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/ib_send.c | 25 +++-- net/rds/rdma.c| 10 ++ net/rds/rds.h | 1 + net/rds/send.c| 4 +++- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/net/rds/ib_send.c

[net-next][PATCH v3 17/17] RDS: add receive message trace used by application

2017-01-02 Thread Santosh Shilimkar
for future without need of change in the interface. Reviewed-by: Sowmini Varadhan Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 33 + net/rds/af_rds.c | 28 net/rds/ib_recv.c| 4 net/rds/rds.h

[net-next][PATCH v3 16/17] RDS: make message size limit compliant with spec

2017-01-02 Thread Santosh Shilimkar
From: Avinash Repaka RDS support max message size as 1M but the code doesn't check this in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size and its enforced irrespective of underlying transport. Signed-off-by: Avinash Repaka Signed-off-by: Santosh Shilimkar --- net/r

[net-next][PATCH v3 11/17] RDS: IB: add few useful cache stasts

2017-01-02 Thread Santosh Shilimkar
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 7 +++ net/rds/ib_recv.c | 6 ++ net/rds/ib_stats.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 5f02b4d..c62e551

[net-next][PATCH v3 15/17] RDS: add stat for socket recv memory usage

2017-01-02 Thread Santosh Shilimkar
From: Venkat Venkatsubra Tracks the receive side memory added to scokets and removed from sockets. Signed-off-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/rds.h | 3 +++ net/rds/recv.c | 4 2 files changed, 7 insertions(+) diff --git a/net/rds/rds.h b/net/rds

[net-next][PATCH v3 10/17] RDS: IB: track and log active side endpoint in connection

2017-01-02 Thread Santosh Shilimkar
Useful to know the active and passive end points in a RDS IB connection. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 3 +++ net/rds/ib_cm.c | 11 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index f14c26d..5f02b4d 100644

[net-next][PATCH v3 14/17] RDS: IB: fix panic due to handlers running post teardown

2017-01-02 Thread Santosh Shilimkar
rdown. Reviewed-by: Wengang Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 1 + net/rds/ib_cm.c | 12 2 files changed, 13 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 1fe9f79..5404589 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -185,6 +185,7 @@ s

[net-next][PATCH v3 12/17] RDS: IB: Add vector spreading for cqs

2017-01-02 Thread Santosh Shilimkar
Based on available device vectors, allocate cqs accordingly to get better spread of completion vectors which helps performace great deal.. Signed-off-by: Santosh Shilimkar --- net/rds/ib.c| 11 +++ net/rds/ib.h| 5 + net/rds/ib_cm.c | 40

Re: [PATCH 1/2] soc: ti: knav_dma: fix typos in trace message

2016-12-20 Thread Santosh Shilimkar
On 12/20/2016 2:24 PM, Murali Karicheri wrote: This patch fixes some typos in the trace message Signed-off-by: Murali Karicheri Signed-off-by: Sekhar Nori --- Patch 1 and 2 looks fine. Will pick them for next merge window. Thanks !! Regards, Santosh

Re: [PATCH] RDS: use rb_entry()

2016-12-20 Thread Santosh Shilimkar
On 12/20/2016 6:02 AM, Geliang Tang wrote: To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- Looks fine. Acked-by: Santosh Shilimkar

Re: [PATCH] ARM: keystone: dts: fix netcp clocks and add names

2016-12-08 Thread Santosh Shilimkar
On 12/8/2016 1:11 PM, Grygorii Strashko wrote: From: Murali Karicheri Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA PLL clock and add clock names. Signed-off-by: Murali Karicheri Signed-off-by: Grygorii Strashko --- Acked-by: Santosh Shilimkar Hi Arnd, Can you

Re: [net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-07 Thread Santosh Shilimkar
On 12/7/2016 9:36 AM, David Miller wrote: [...] What does the newer tool do on an older kernel if it doesn't see the fields? Does it check the size of the structure given back to it, and conditionally handle the older vs. the newer layout? It must do this. Right but the rds-tool doesn't han

Re: [net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-07 Thread Santosh Shilimkar
On 12/7/2016 9:05 AM, David Miller wrote: From: Santosh Shilimkar Date: Wed, 7 Dec 2016 08:44:04 -0800 On 12/7/2016 7:55 AM, David Miller wrote: From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:56 -0800 What level of compatability exists here? If we run an old tool on a new kernel, or

Re: [net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-07 Thread Santosh Shilimkar
On 12/7/2016 7:55 AM, David Miller wrote: From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:56 -0800 rds-tools already support it. Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 1 + net/rds/ib.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include

Re: [net-next][PATCH v2 10/18] RDS: IB: track and log active side endpoint in connection

2016-12-07 Thread Santosh Shilimkar
On 12/7/2016 7:53 AM, David Miller wrote: From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:48 -0800 @@ -181,6 +181,9 @@ struct rds_ib_connection { /* Batched completions */ unsigned inti_unsignaled_wrs; + + /* Endpoint role in connection */ + int

[net-next][PATCH v2 08/18] RDS: IB: split the mr registration and invalidation path

2016-12-06 Thread Santosh Shilimkar
MR invalidation in RDS is done in background thread and not in data path like registration. So break the dependency between them which helps to remove the performance bottleneck. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 4 +++- net/rds/ib_cm.c | 9 +++-- net/rds

[net-next][PATCH v2 10/18] RDS: IB: track and log active side endpoint in connection

2016-12-06 Thread Santosh Shilimkar
Useful to know the active and passive end points in a RDS IB connection. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 3 +++ net/rds/ib_cm.c | 11 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index f14c26d..97e7696 100644

[net-next][PATCH v2 06/18] RDS: RDMA: start rdma listening after init

2016-12-06 Thread Santosh Shilimkar
From: Qing Huang This prevents RDS from handling incoming rdma packets before RDS completes initializing its recv/send components. Signed-off-by: Qing Huang Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff

[net-next][PATCH v2 11/18] RDS: IB: add few useful cache stasts

2016-12-06 Thread Santosh Shilimkar
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 7 +++ net/rds/ib_recv.c | 6 ++ net/rds/ib_stats.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 97e7696..4987387

[net-next][PATCH v2 04/18] RDS: IB: make the transport retry count smallest

2016-12-06 Thread Santosh Shilimkar
Transport retry is not much useful since it indicate packet loss in fabric so its better to failover fast rather than longer retry. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index 45ac8e8

[net-next][PATCH v2 15/18] RDS: add stat for socket recv memory usage

2016-12-06 Thread Santosh Shilimkar
From: Venkat Venkatsubra Tracks the receive side memory added to scokets and removed from sockets. Signed-off-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/rds.h | 3 +++ net/rds/recv.c | 4 2 files changed, 7 insertions(+) diff --git a/net/rds/rds.h b/net/rds

[net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info

2016-12-06 Thread Santosh Shilimkar
rds-tools already support it. Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 1 + net/rds/ib.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 3833113..410ae3c 100644 --- a/include/uapi/linux/rds.h

[net-next][PATCH v2 14/18] RDS: IB: fix panic due to handlers running post teardown

2016-12-06 Thread Santosh Shilimkar
rdown. Reviewed-by: Wengang Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 1 + net/rds/ib_cm.c | 12 2 files changed, 13 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 4b133b8..8efd1eb 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -185,6 +185,7 @@ s

[net-next][PATCH v2 16/18] RDS: make message size limit compliant with spec

2016-12-06 Thread Santosh Shilimkar
From: Avinash Repaka RDS support max message size as 1M but the code doesn't check this in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size and its enforced irrespective of underlying transport. Signed-off-by: Avinash Repaka Signed-off-by: Santosh Shilimkar --- net/r

[net-next][PATCH v2 13/18] RDS: RDMA: Fix the composite message user notification

2016-12-06 Thread Santosh Shilimkar
ivery. Reviewed-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/ib_send.c | 25 +++-- net/rds/rdma.c| 10 ++ net/rds/rds.h | 1 + net/rds/send.c| 4 +++- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/net/rds/ib_send.c

[net-next][PATCH v2 12/18] RDS: IB: Add vector spreading for cqs

2016-12-06 Thread Santosh Shilimkar
Based on available device vectors, allocate cqs accordingly to get better spread of completion vectors which helps performace great deal.. Signed-off-by: Santosh Shilimkar --- net/rds/ib.c| 11 +++ net/rds/ib.h| 5 + net/rds/ib_cm.c | 40

[net-next][PATCH v2 03/18] RDS: IB: include faddr in connection log

2016-12-06 Thread Santosh Shilimkar
Also use pr_* for it. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 19 +-- net/rds/ib_recv.c | 4 ++-- net/rds/ib_send.c | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 5b2ab95..b9da1e5 100644 --- a

[net-next][PATCH v2 01/18] RDS: log the address on bind failure

2016-12-06 Thread Santosh Shilimkar
It's useful to know the IP address when RDS fails to bind a connection. Thus, adding it to the error message. Orabug: 21894138 Reviewed-by: Wei Lin Guay Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rds/bin

[net-next][PATCH v2 09/18] RDS: RDMA: silence the use_once mr log flood

2016-12-06 Thread Santosh Shilimkar
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 3 ++- 1 file changed, 2 insertions(+), 1

[net-next][PATCH v2 17/18] RDS: add receive message trace used by application

2016-12-06 Thread Santosh Shilimkar
for future without need of change in the interface. Reviewed-by: Sowmini Varadhan Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 33 + net/rds/af_rds.c | 28 net/rds/ib_recv.c| 4 net/rds/rds.h

[net-next][PATCH v2 00/18] net: RDS updates

2016-12-06 Thread Santosh Shilimkar
: RDMA: start rdma listening after init Santosh Shilimkar (15): RDS: log the address on bind failure RDS: mark few internal functions static to make sparse build happy RDS: IB: include faddr in connection log RDS: IB: make the transport retry count smallest RDS: RDMA: fix the ib_map_mr_

[net-next][PATCH v2 02/18] RDS: mark few internal functions static to make sparse build happy

2016-12-06 Thread Santosh Shilimkar
27;rds_walk_conn_path_info' was not declared. Should it be static? Signed-off-by: Santosh Shilimkar --- net/rds/connection.c | 10 +- net/rds/send.c | 4 ++-- net/rds/tcp_listen.c | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/net/rds/connection.c b/net

[net-next][PATCH v2 05/18] RDS: RDMA: fix the ib_map_mr_sg_zbva() argument

2016-12-06 Thread Santosh Shilimkar
Fixes warning: Using plain integer as NULL pointer Signed-off-by: Santosh Shilimkar --- net/rds/ib_frmr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/rds/ib_frmr.c b/net/rds/ib_frmr.c index d921adc..66b3d62 100644 --- a/net/rds/ib_frmr.c +++ b/net/rds/ib_frmr.c

[net-next][PATCH v2 07/18] RDS: RDMA: return appropriate error on rdma map failures

2016-12-06 Thread Santosh Shilimkar
the user by appropriate error code. Before returning to the user, lets trigger the connection so that its ready for the next retry. Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c

Re: [net-next][PATCH 02/18] RDS: mark few internal functions static to make sparse build happy

2016-12-05 Thread Santosh Shilimkar
On 12/5/2016 1:45 AM, Sergei Shtylyov wrote: Hello! On 12/5/2016 9:57 AM, Santosh Shilimkar wrote: [...] -void rds_walk_conn_path_info(struct socket *sock, unsigned int len, +static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, struct

[net-next][PATCH 00/18] net: RDS updates

2016-12-04 Thread Santosh Shilimkar
tion cache usage info (2016-12-04 17:06:30 -0800) Avinash Repaka (1): RDS: make message size limit compliant with spec Qing Huang (1): RDS: RDMA: start rdma listening after init Santosh Shilimkar (15): RDS: log the addre

[net-next][PATCH 04/18] RDS: IB: make the transport retry count smallest

2016-12-04 Thread Santosh Shilimkar
Transport retry is not much useful since it indicate packet loss in fabric so its better to failover fast rather than longer retry. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index 45ac8e8

[net-next][PATCH 02/18] RDS: mark few internal functions static to make sparse build happy

2016-12-04 Thread Santosh Shilimkar
27;rds_walk_conn_path_info' was not declared. Should it be static? Signed-off-by: Santosh Shilimkar --- net/rds/connection.c | 2 +- net/rds/send.c | 4 ++-- net/rds/tcp_listen.c | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/rds/connection.c b/net/rds/connecti

[net-next][PATCH 05/18] RDS: RDMA: fix the ib_map_mr_sg_zbva() argument

2016-12-04 Thread Santosh Shilimkar
Fixes warning: Using plain integer as NULL pointer Signed-off-by: Santosh Shilimkar --- net/rds/ib_frmr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/rds/ib_frmr.c b/net/rds/ib_frmr.c index d921adc..66b3d62 100644 --- a/net/rds/ib_frmr.c +++ b/net/rds/ib_frmr.c

[net-next][PATCH 06/18] RDS: RDMA: start rdma listening after init

2016-12-04 Thread Santosh Shilimkar
From: Qing Huang This prevents RDS from handling incoming rdma packets before RDS completes initializing its recv/send components. Signed-off-by: Qing Huang Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff

[net-next][PATCH 03/18] RDS: IB: include faddr in connection log

2016-12-04 Thread Santosh Shilimkar
Also use pr_* for it. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 19 +-- net/rds/ib_recv.c | 4 ++-- net/rds/ib_send.c | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 5b2ab95..b9da1e5 100644 --- a

[net-next][PATCH 18/18] RDS: IB: add missing connection cache usage info

2016-12-04 Thread Santosh Shilimkar
rds-tools already support it. Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 1 + net/rds/ib.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 3833113..410ae3c 100644 --- a/include/uapi/linux/rds.h

[net-next][PATCH 15/18] RDS: add stat for socket recv memory usage

2016-12-04 Thread Santosh Shilimkar
From: Venkat Venkatsubra Tracks the receive side memory added to scokets and removed from sockets. Signed-off-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/rds.h | 3 +++ net/rds/recv.c | 4 2 files changed, 7 insertions(+) diff --git a/net/rds/rds.h b/net/rds

[net-next][PATCH 16/18] RDS: make message size limit compliant with spec

2016-12-04 Thread Santosh Shilimkar
From: Avinash Repaka RDS support max message size as 1M but the code doesn't check this in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size and its enforced irrespective of underlying transport. Signed-off-by: Avinash Repaka Signed-off-by: Santosh Shilimkar --- net/r

[net-next][PATCH 09/18] RDS: RDMA: silence the use_once mr log flood

2016-12-04 Thread Santosh Shilimkar
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 3 ++- 1 file changed, 2 insertions(+), 1

[net-next][PATCH 17/18] RDS: add receive message trace used by application

2016-12-04 Thread Santosh Shilimkar
for future without need of change in the interface. Reviewed-by: Sowmini Varadhan Signed-off-by: Santosh Shilimkar --- include/uapi/linux/rds.h | 33 + net/rds/af_rds.c | 28 net/rds/ib_recv.c| 4 net/rds/rds.h

[net-next][PATCH 10/18] RDS: IB: track and log active side endpoint in connection

2016-12-04 Thread Santosh Shilimkar
Useful to know the active and passive end points in a RDS IB connection. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 3 +++ net/rds/ib_cm.c | 11 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/net/rds/ib.h b/net/rds/ib.h index f14c26d..97e7696 100644

[net-next][PATCH 11/18] RDS: IB: add few useful cache stasts

2016-12-04 Thread Santosh Shilimkar
Tracks the ib receive cache total, incoming and frag allocations. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 7 +++ net/rds/ib_recv.c | 6 ++ net/rds/ib_stats.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 97e7696..4987387

[net-next][PATCH 14/18] RDS: IB: fix panic due to handlers running post teardown

2016-12-04 Thread Santosh Shilimkar
rdown. Reviewed-by: Wengang Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 1 + net/rds/ib_cm.c | 12 2 files changed, 13 insertions(+) diff --git a/net/rds/ib.h b/net/rds/ib.h index 4b133b8..8efd1eb 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -185,6 +185,7 @@ s

[net-next][PATCH 08/18] RDS: IB: split the mr registration and invalidation path

2016-12-04 Thread Santosh Shilimkar
MR invalidation in RDS is done in background thread and not in data path like registration. So break the dependency between them which helps to remove the performance bottleneck. Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 4 +++- net/rds/ib_cm.c | 9 +++-- net/rds

[net-next][PATCH 07/18] RDS: RDMA: return appropriate error on rdma map failures

2016-12-04 Thread Santosh Shilimkar
the user by appropriate error code. Before returning to the user, lets trigger the connection so that its ready for the next retry. Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c

[net-next][PATCH 13/18] RDS: RDMA: Fix the composite message user notification

2016-12-04 Thread Santosh Shilimkar
ivery. Reviewed-by: Venkat Venkatsubra Signed-off-by: Santosh Shilimkar --- net/rds/ib_send.c | 25 +++-- net/rds/rdma.c| 10 ++ net/rds/rds.h | 1 + net/rds/send.c| 4 +++- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/net/rds/ib_send.c

[net-next][PATCH 12/18] RDS: IB: Add vector spreading for cqs

2016-12-04 Thread Santosh Shilimkar
Based on available device vectors, allocate cqs accordingly to get better spread of completion vectors which helps performace great deal.. Signed-off-by: Santosh Shilimkar --- net/rds/ib.c| 11 +++ net/rds/ib.h| 5 + net/rds/ib_cm.c | 40

[net-next][PATCH 01/18] RDS: log the address on bind failure

2016-12-04 Thread Santosh Shilimkar
It's useful to know the IP address when RDS fails to bind a connection. Thus, adding it to the error message. Orabug: 21894138 Reviewed-by: Wei Lin Guay Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rds/bin

Re: [PATCH] soc: ti: qmss: fix the case when !SMP

2016-12-02 Thread Santosh Shilimkar
On 11/30/2016 9:14 AM, Santosh Shilimkar wrote: On 11/30/2016 9:10 AM, Grygorii Strashko wrote: [...] For some reason you e-email is not working - delivery failure ssant...@kernel.org Weird. I was getting all the emails. Thanks for bouncing the thread. I will check. Seems like there

Re: [PATCH] soc: ti: qmss: fix the case when !SMP

2016-11-30 Thread Santosh Shilimkar
On 11/30/2016 9:10 AM, Grygorii Strashko wrote: Hi Santosh, On 11/30/2016 11:01 AM, Santosh Shilimkar wrote: Hi Grygorii, On 11/30/2016 3:37 AM, Arnd Bergmann wrote: On Tuesday, November 29, 2016 4:15:08 PM CET Grygorii Strashko wrote: range->num_irqs++; -

Re: [PATCH v2] soc: ti: qmss: fix the case when !SMP

2016-11-30 Thread Santosh Shilimkar
Hi Anrd, Can you apply this to your non critical fixes queue ? On 11/30/2016 9:09 AM, Grygorii Strashko wrote: + Santosh Shilimkar On 11/30/2016 10:53 AM, Grygorii Strashko wrote: The irq_set_affinity_hint() will always fail when !SMP and Networking will fail on Keystone 2 devices in this

Re: [PATCH] soc: ti: qmss: fix the case when !SMP

2016-11-30 Thread Santosh Shilimkar
Hi Grygorii, On 11/30/2016 3:37 AM, Arnd Bergmann wrote: On Tuesday, November 29, 2016 4:15:08 PM CET Grygorii Strashko wrote: range->num_irqs++; - if (oirq.args_count == 3) + if (IS_ENABLED(SMP) && oirq.args_count == 3) range

Re: [PATCH V4 0/5] firmware: Add support for TI System Control Interface (TI-SCI) protocol driver

2016-10-26 Thread Santosh Shilimkar
On 10/25/2016 10:34 AM, Tero Kristo wrote: On 19/10/16 02:08, Nishanth Menon wrote: Version 4 of the series is basically a rebase to v4.9-rc1, no functional changes. Hi, Any final comments on this series, or shall I send a pull-req forward? Very minimal changes compared to v3 so should be goo

Re: [PATCH v2 3/4] soc: ti: Add ti_sci_pm_domains driver

2016-10-21 Thread Santosh Shilimkar
On 10/21/2016 12:00 PM, Kevin Hilman wrote: Dave Gerlach writes: [...] BTW, what is the the status of the TI-SCI protocol drivers themselves? This can't be merged until that is or this won't even compile. I was just about to ask the same question. Regards, Santosh

Re: [PATCH 2/2] rds: Remove duplicate prefix from rds_conn_path_error use

2016-10-15 Thread Santosh Shilimkar
On 10/15/2016 11:53 AM, Joe Perches wrote: rds_conn_path_error already prefixes "RDS:" to the output. Signed-off-by: Joe Perches --- Acked-by: Santosh Shilimkar

Re: [PATCH 1/2] rds: Remove unused rds_conn_error

2016-10-15 Thread Santosh Shilimkar
--- Had same patch along with few more in the queue but didn't find time of late to get it on the list. Thanks for both patches. Acked-by: Santosh Shilimkar

Re: [PATCH RESEND] ARM: dts: keystone-k2*: Increase SPI Flash partition size for U-Boot

2016-10-10 Thread Santosh Shilimkar
Vignesh, On 10/10/2016 7:31 AM, Russell King - ARM Linux wrote: On Mon, Oct 10, 2016 at 07:41:41PM +0530, Vignesh R wrote: U-Boot SPI Boot image is now more than 512KB for Keystone2 devices and cannot fit into existing partition. So, increase the SPI Flash partition for U-Boot to 1MB for all Ke

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-22 Thread Santosh Shilimkar
On 9/22/2016 12:05 AM, Thomas Gleixner wrote: B1;2802;0cOn Wed, 21 Sep 2016, Santosh Shilimkar wrote: I requested you to include this patch but now am not sure anymore. Looks like there are almost 30 more users which are directly tweaking 'tasklet_struct' fields and calling other API

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-21 Thread Santosh Shilimkar
On 9/21/2016 5:42 PM, Sergey Senozhatsky wrote: Hello, On (09/21/16 10:23), Santosh Shilimkar wrote: [...] Am assuming one of the driver in your test is using the DECLARE_TASKLET to init the tasklet and killed by tasklet_kill() which leaves that tasklet to be still scheduled by tasklet

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-21 Thread Santosh Shilimkar
o be still scheduled by tasklet action. Can you please try below patch and see if you still see the issue ? Attaching the same, just in case mailer eat the tabs. Regards, Santosh From e3e676e501a59b2a7de6e9f99ec3917c157e9caf Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Wed, 21 Sep 2016

Re: [PATCH v2 0/8] SIF related verbs patches

2016-09-16 Thread Santosh Shilimkar
Hi Knut, On 9/16/2016 11:31 AM, Knut Omang wrote: This patch set contains the changes and bug fixes necessary to support Oracle's new Infiniband HCA (SIF) from the kernel side. The exception is patch 3 which is a useful consolidation and simplification made possible by patch 2 and the replaceme

Re: [PATCH v2 1/8] ib_mad: incoming sminfo SMPs gets discarded if no process_mad function is registered

2016-09-16 Thread Santosh Shilimkar
On 9/16/2016 11:31 AM, Knut Omang wrote: From: Dag Moxnes The process_mad function is an optional IB driver entry point allows a driver to intercept or modify MAD traffic. This fix allows MAD traffic to flow down to the device also when MAD traffic is completely handled by the device and no pr

Re: [PATCH] mm: fix the page_swap_info BUG_ON check

2016-09-12 Thread Santosh Shilimkar
On 9/12/2016 2:28 PM, Andrew Morton wrote: On Fri, 9 Sep 2016 15:38:38 -0700 Santosh Shilimkar wrote: 'commit 62c230bc1790 ("mm: add support for a filesystem to activate swap files and use direct_IO for writing swap pages")' replaced swap_aops dirty hook from __set_pag

Re: [PATCH] softirq: fix tasklet_kill() and its users

2016-09-09 Thread Santosh Shilimkar
Ping !! On 8/24/2016 6:52 PM, Santosh Shilimkar wrote: Semantically the expectation from the tasklet init/kill API should be as below. tasklet_init() == Init and Enable scheduling tasklet_kill() == Disable scheduling and Destroy tasklet_init() API exibit above behavior but not the

[PATCH] mm: fix the page_swap_info BUG_ON check

2016-09-09 Thread Santosh Shilimkar
ew Morton Cc: Peter Zijlstra Cc: Rik van Riel Cc: David S. Miller Cc: Jens Axboe Cc: Michal Hocko Cc: Hugh Dickins Cc: Al Viro Signed-off-by: Santosh Shilimkar --- mm/page_io.c | 3 +++ mm/swapfile.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/page_io.c

Re: [PATCH 0/5] Use mmio-sram driver for Keystone MSMC RAM

2016-09-07 Thread Santosh Shilimkar
On 9/7/2016 9:22 AM, Suman Anna wrote: Hi Santosh, On 09/07/2016 11:11 AM, Santosh Shilimkar wrote: Hi Suman, On 9/1/2016 3:58 PM, Suman Anna wrote: Hi, The Keystone 2 family of SoCs have an on-chip RAM called the Multicore Shared Memory (MSM) RAM. This RAM is accessible through the

Re: [PATCH 0/5] Use mmio-sram driver for Keystone MSMC RAM

2016-09-07 Thread Santosh Shilimkar
Hi Suman, On 9/1/2016 3:58 PM, Suman Anna wrote: Hi, The Keystone 2 family of SoCs have an on-chip RAM called the Multicore Shared Memory (MSM) RAM. This RAM is accessible through the Multicore Shared Memory Controller (MSMC). This series represents these on-chip RAMs as sram nodes so that the

Re: [GIT PULL] firmware: add support for TI System Control Interface (TI-SCI) protocol driver

2016-09-02 Thread Santosh Shilimkar
On 9/2/2016 10:03 AM, Nishanth Menon wrote: On Thu, Sep 1, 2016 at 2:24 AM, Tero Kristo wrote: Hi Santosh, The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: https://github.com/t-

Re: [PATCH 3/5] firmware: ti_sci: Add support for Device control

2016-08-29 Thread Santosh Shilimkar
Hi Nishant, On 8/23/2016 11:45 AM, Nishanth Menon wrote: On Sun, Aug 21, 2016 at 10:56 PM, Lokesh Vutla wrote: /** + * tis_sci_is_response_ack() - Generic ACK/NACK message checkup + * @r: pointer to response buffer + * + * Return: true if the response was an ACK, else returns false. + *

Re: [PATCH 1/1] ARM: keystone: defconfig: Fix USB configuration

2016-08-25 Thread Santosh Shilimkar
Ping !! On 8/17/2016 9:23 AM, Santosh Shilimkar wrote: Hi Arnd, Olof, Can you please pick-up the fix for 4.8-rcx ? Roger reported that USB ports are broken on Keystone2 boards since v4.8-rc1 because USB_HPY config option got dropped. On 8/17/2016 3:44 AM, Roger Quadros wrote: Simply

[PATCH] softirq: fix tasklet_kill() and its users

2016-08-24 Thread Santosh Shilimkar
S. Miller" Cc: Paul Bolle Cc: Giovanni Cabiddu Cc: Salvatore Benedetto Cc: Karsten Keil Cc: "Peter Zijlstra (Intel)" Signed-off-by: Santosh Shilimkar --- Removed RFC tag from last post and dropped atmel serial driver which seems to have been fixed in 4.8 https://lkml.org/lkml/20

Re: [PATCH] ARM: dts: keystone-k2g: Add Message Manager node

2016-08-19 Thread Santosh Shilimkar
On 8/19/2016 1:47 PM, Nishanth Menon wrote: Introduce the message manager node for the A15 queues on which Linux runs. The Message Manager is primarily used for communication with Power Management controller on K2G. Signed-off-by: Nishanth Menon --- based on: v4.8-rc1 Bootlog: http://pastebin.u

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-19 Thread Santosh Shilimkar
On 8/19/2016 12:30 AM, Roger Quadros wrote: Hi Santosh, So I'm 99.9% convinced that the proposed change is correct. I will got with that then :-) and take my objection back. Just saying that if there other breakages which I can't recollect now, those drivers needs to be patched as well.

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-18 Thread Santosh Shilimkar
On 8/18/2016 4:07 PM, Russell King - ARM Linux wrote: On Thu, Aug 18, 2016 at 09:55:55AM -0700, Santosh Shilimkar wrote: Hi Russell, On 8/18/2016 7:24 AM, Russell King - ARM Linux wrote: On Wed, Aug 17, 2016 at 03:05:17PM +0300, Roger Quadros wrote: Since commit 6ce0d2001692 ("ARM: dma

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-18 Thread Santosh Shilimkar
;t mention which platform it was intended for or what the problem was, which would've been helpful. From what I recollect, we did these changes to make the max pfn behave same on ARM arch as other archs. This patch was evolved as part of fixing the max*pfn assumption. commit 26ba47b18318abe7

Re: [PATCH 0/1] ARM: Keystone: Fix USB on v4.8-rc

2016-08-17 Thread Santosh Shilimkar
On 8/17/2016 3:44 AM, Roger Quadros wrote: Hi Santosh, USB ports are broken on Keystone2 boards since v4.8-rc1. This is because CONFIG_KEYSTONE_USB_PHY is no longer being enabled by keystone_defconfig. Fix that. Please pick this for the v4.8-rc cycle. Thanks. Have requested arm-soc folks to p

<    1   2   3   4   5   6   7   8   9   10   >