Re: [PATCH 1/3] Documentation: dt: keystone: provide SoC specific compatible flags

2015-09-23 Thread santosh shilimkar
Nishant, On 9/22/2015 9:08 AM, Nishanth Menon wrote: Keystone2 devices are used on more platforms than just Texas Instruments reference evaluation platforms called EVMs. Providing a generic compatible "ti,keystone" is not sufficient to differentiate various SoC definitions possible on various pl

Re: [PATCH 05/15] RDS: increase size of hash-table to 8K

2015-09-23 Thread santosh shilimkar
Hi Dave, On 9/21/2015 4:55 PM, santosh shilimkar wrote: On 9/21/2015 4:05 PM, David Miller wrote: From: Santosh Shilimkar Date: Sat, 19 Sep 2015 19:04:42 -0400 Even with per bucket locking scheme, in a massive parallel system with active rds sockets which could be in excess of multiple of

Re: [PATCH 05/15] RDS: increase size of hash-table to 8K

2015-09-21 Thread santosh shilimkar
On 9/21/2015 4:05 PM, David Miller wrote: From: Santosh Shilimkar Date: Sat, 19 Sep 2015 19:04:42 -0400 Even with per bucket locking scheme, in a massive parallel system with active rds sockets which could be in excess of multiple of 10K, rds_bin_lookup() workload is siginificant because of

Re: [PATCH 00/15] RDS: connection scalability and performance improvements

2015-09-21 Thread santosh shilimkar
On 9/20/2015 1:37 AM, Sagi Grimberg wrote: On 9/20/2015 2:04 AM, Santosh Shilimkar wrote: This series addresses RDS connection bottlenecks on massive workloads and improve the RDMA performance almost by 3X. RDS TCP also gets a small gain of about 12%. RDS is being used in massive systems with

Re: [PATCH 05/15] RDS: increase size of hash-table to 8K

2015-09-21 Thread santosh shilimkar
On 9/21/2015 1:31 AM, David Laight wrote: From: Santosh Shilimkar Sent: 20 September 2015 00:05 Even with per bucket locking scheme, in a massive parallel system with active rds sockets which could be in excess of multiple of 10K, rds_bin_lookup() workload is significant because of smaller

[PATCH 01/15] RDS: use kfree_rcu in rds_ib_remove_ipaddr

2015-09-19 Thread Santosh Shilimkar
synchronize_rcu() slowing down un-necessarily the socket shutdown path. It is used just kfree() the ip addresses in rds_ib_remove_ipaddr() which is perfect usecase for kfree_rcu(); So lets use that to gain some speedup. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net

[PATCH 11/15] RDS: fix the rds_ib_fmr_wq kick call

2015-09-19 Thread Santosh Shilimkar
RDS IB mr pool has its own workqueue 'rds_ib_fmr_wq', so we need to use queue_delayed_work() to kick the work. This was hurting the performance since pool maintenance was less often triggered from other path. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --

[PATCH 10/15] RDS: handle rds_ibdev release case instead of crashing the kernel

2015-09-19 Thread Santosh Shilimkar
From: Santosh Shilimkar Just in case we are still handling the QP receive completion while the rds_ibdev is released, drop the connection instead of crashing the kernel. Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

[PATCH 12/15] RDS: use already available pool handle from ibmr

2015-09-19 Thread Santosh Shilimkar
rds_ib_mr already keeps the pool handle which it associates with. Lets use that instead of round about way of fetching it from rds_ib_device. No functional change. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 5 ++--- 1 file changed, 2 insertions

[PATCH 09/15] RDS: split send completion handling and do batch ack

2015-09-19 Thread Santosh Shilimkar
. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 6 ++- net/rds/ib_cm.c| 45 -- net/rds/ib_send.c | 110 + net/rds/ib_stats.c | 1 - net/rds/send.c | 1 + 5 files

[PATCH 13/15] RDS: mark rds_ib_fmr_wq static

2015-09-19 Thread Santosh Shilimkar
Fix below warning by marking rds_ib_fmr_wq static net/rds/ib_rdma.c:87:25: warning: symbol 'rds_ib_fmr_wq' was not declared. Should it be static? Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 14/15] RDS: use max_mr from HCA caps than max_fmr

2015-09-19 Thread Santosh Shilimkar
From: Santosh Shilimkar All HCA drivers seems to popullate max_mr caps and few of them do both max_mr and max_fmr. Hence update RDS code to make use of max_mr. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 08/15] RDS: ack more receive completions to improve performance

2015-09-19 Thread Santosh Shilimkar
mutual exclusion locks are being performed. In next patch, send completion is also split which re-uses the poll_cq() and hence the code is moved to ib_cm.c Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 28 +-- net/rds/ib_cm.c| 70

[PATCH 07/15] RDS: use rds_send_xmit() state instead of RDS_LL_SEND_FULL

2015-09-19 Thread Santosh Shilimkar
times we are seeing connections stuck with the LL_SEND_FULL bit getting set and never cleared. We kick krdsd after any time we see -ENOMEM or -EAGAIN from the ring allocation code. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/send.c| 10 ++ ne

[PATCH 15/15] RDS: split mr pool to improve 8K messages performance

2015-09-19 Thread Santosh Shilimkar
hich could lead to 8k pull being exhausted, we fall-back to 1m pool till 8k pool recovers for use. This helps to at least push ~55 kB/s bidirectional data which is a nice improvement. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.c

[PATCH 06/15] RDS: defer the over_batch work to send worker

2015-09-19 Thread Santosh Shilimkar
case where we reached to over_batch code for some other reason so just retrying again before giving up. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c ind

[PATCH 02/15] RDS: make socket bind/release locking scheme simple and more efficient

2015-09-19 Thread Santosh Shilimkar
f rcu for bind hash-table. In subsequent patch, we also covert the global lock with per-bucket lock to reduce the global lock contention. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/af_rds.c | 6 -- net/rds/bind.c | 35 +++--

[PATCH 05/15] RDS: increase size of hash-table to 8K

2015-09-19 Thread Santosh Shilimkar
bind hash-table size. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/bind.c b/net/rds/bind.c index bc6b93e..fb2d545 100644 --- a/net/rds/bind.c +++ b/net/rds/bind.c @@ -43,7 +43,7

[PATCH 04/15] RDS: Use per-bucket rw lock for bind hash-table

2015-09-19 Thread Santosh Shilimkar
e per-bucket lock to improve the scalability. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/af_rds.c | 2 ++ net/rds/bind.c | 47 --- net/rds/rds.h| 1 + 3 files changed, 35 insertions(+), 15 deletions(-) diff --

[PATCH 00/15] RDS: connection scalability and performance improvements

2015-09-19 Thread Santosh Shilimkar
least 3 important patches in upstream to see the full blown RDS IB performance and am hoping to get that in mainline with help of them. Santosh Shilimkar (15): RDS: use kfree_rcu in rds_ib_remove_ipaddr RDS: make socket bind/release locking scheme simple and more efficient RDS: fix rds_sock

[PATCH 03/15] RDS: fix rds_sock reference bug while doing bind

2015-09-19 Thread Santosh Shilimkar
One need to take rds socket reference while using it and release it once done with it. rds_add_bind() code path does not do that so lets fix it. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/bind.c | 16 +++- 1 file changed, 11 insertions(+), 5

Re: [PATCH] linux-firmware: Add qmss accumulator pdsp firmware for keystone SoCs

2015-09-18 Thread santosh shilimkar
(Bouncing the thread on Murali's request) 9/15/2015 11:54 AM, Murali Karicheri wrote: This patch adds firmware for Keystone QMSS Accumulator PDSP. This is required to support Accumulator queues. Accumulator queues are one of the queue types supported in drivers/soc/ti/knav_qmss_acc.c. This queue

Re: [PATCH 0/2] memory: Fix module autoload for OF platform driver

2015-09-17 Thread santosh shilimkar
(+) Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-16 Thread santosh shilimkar
On 9/16/2015 10:01 AM, Murali Karicheri wrote: On 09/15/2015 05:20 PM, santosh shilimkar wrote: On 9/15/2015 11:14 AM, Murali Karicheri wrote: On 09/09/2015 12:38 PM, Murali Karicheri wrote: [..] Santosh, I have checked v4.3-rc1 and I don't see it. Did you send the pull request? The

Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-15 Thread santosh shilimkar
On 9/15/2015 11:14 AM, Murali Karicheri wrote: On 09/09/2015 12:38 PM, Murali Karicheri wrote: On 09/04/2015 11:53 PM, santosh.shilim...@oracle.com wrote: On 9/4/15 5:46 PM, Murali Karicheri wrote: To help the user, print the PDSP file name as part of knav_queue_load_pdsp(). This will be usefu

Re: [PATCH] RDS: verify the underlying transport exists before creating a connection

2015-09-04 Thread santosh shilimkar
Sasha, On 9/4/2015 9:43 AM, Sasha Levin wrote: There was no verification that an underlying transport exists when creating a connection, this would cause dereferencing a NULL ptr. Signed-off-by: Sasha Levin --- net/rds/connection.c |6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread santosh shilimkar
9/2/2015 10:58 AM, Murali Karicheri wrote: On 09/02/2015 01:24 PM, santosh shilimkar wrote: On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, ---Cut--- I suspected the same. I know back then we started with SERDES code with NETCP but as you already know, its a separate

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread santosh shilimkar
On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, On 09/02/2015 11:50 AM, santosh shilimkar wrote: On 9/2/2015 8:31 AM, Kwok, WingMan wrote: -Original Message- From: santosh.shilim...@oracle.com [mailto:santosh.shilim...@oracle.com] Sent: Tuesday, September 01, 2015 5:19 PM To

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread santosh shilimkar
On 9/2/2015 8:31 AM, Kwok, WingMan wrote: -Original Message- From: santosh.shilim...@oracle.com [mailto:santosh.shilim...@oracle.com] Sent: Tuesday, September 01, 2015 5:19 PM To: Kwok, WingMan; robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk

Re: [PATCH v1] soc: ti: reset irq affinity before freeing irq

2015-08-27 Thread santosh shilimkar
On 8/27/2015 2:44 PM, Murali Karicheri wrote: When using accumulator queue for rx side for network driver, following warning is seen when doing a reboot command from Linux console. This is because, affinity value is not reset before calling free_irq(). This patch fixes this. Deconfiguring netw

[PATCH 5/6] RDS: flush the FMR pool less often

2015-08-25 Thread Santosh Shilimkar
FMR flush is an expensive and time consuming operation. Reduce the frequency of FMR pool flush by 50% so that more FMR work gets accumulated for more efficient flushing. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 2 +- 1 file changed, 1 insertion

[PATCH 0/6] RDS: Few more fixes

2015-08-25 Thread Santosh Shilimkar
As indicated in the earlier series [1], this is a follow-up series which addresses few issues around the RDS FMR code. With [1] and the subject series, now I can run many parallel threads with multiple sockets with N x N traffic. The stress tests has survived overnight runs. Santosh Shilimkar (5

[PATCH 3/6] RDS: fix fmr pool dirty_count

2015-08-25 Thread Santosh Shilimkar
From: Wengang Wang In rds_ib_flush_mr_pool(), dirty_count accounts the clean ones which is wrong. This can lead to a negative dirty count value. Lets fix it. Signed-off-by: Wengang Wang Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 15

[PATCH 2/6] RDS: Fix rds MR reference count in rds_rdma_unuse()

2015-08-25 Thread Santosh Shilimkar
timer+0x58/0x90 [] tasklet_action+0xb1/0xc0 [] __do_softirq+0xe2/0x290 [] irq_exit+0xa6/0xb0 [] do_IRQ+0x65/0xf0 [] common_interrupt+0x6b/0x6b Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[PATCH 6/6] RDS: remove superfluous from rds_ib_alloc_fmr()

2015-08-25 Thread Santosh Shilimkar
Memory allocated for 'ibmr' uses kzalloc_node() which already initialises the memory to zero. There is no need to do memset() 0 on that memory. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 1/6] RDS: fix the dangling reference to rds_ib_incoming_slab

2015-08-25 Thread Santosh Shilimkar
On rds_ib_frag_slab allocation failure, ensure rds_ib_incoming_slab is not pointing to the detsroyed memory. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_recv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/rds/ib_recv.c b/net

[PATCH 4/6] RDS: push FMR pool flush work to its own worker

2015-08-25 Thread Santosh Shilimkar
RDS FMR flush operation and also it races with connect/reconect which happes a lot with RDS. FMR flush being on common rds_wq aggrevates the problem. Lets push RDS FMR pool flush work to its own worker. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.c

Re: [RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI

2015-08-24 Thread santosh shilimkar
On 8/24/2015 6:36 AM, Franklin S Cooper Jr. wrote: Hi Santosh, All the patches except this one are in linux-next. Yes I noticed it. I will queue this up for next merge window. Thanks for reminder. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

[PATCH 01/14] RDS: restore return value in rds_cmsg_rdma_args()

2015-08-22 Thread Santosh Shilimkar
s") removed the 'ret = 0' line which broke RDS RDMA mode. Fix it by restoring the return value on rds_pin_pages() success keeping the clean-up in place. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/rdma.c | 2 ++ 1 file changed, 2 insertions(+) dif

[PATCH 08/14] RDS: Mark message mapped before transmit

2015-08-22 Thread Santosh Shilimkar
rds_send_xmit() marks the rds message map flag after xmit_[rdma/atomic]() which is clearly wrong. We need to maintain the ownership between transport and rds. Also take care of error path. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar

[PATCH 02/14] RDS: always free recv frag as we free its ring entry

2015-08-22 Thread Santosh Shilimkar
and connection resets. This patch ensures that we free the frag as we mark the ring entry free. This should stop the refill path from finding allocated frags in ring entries that were marked free. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilim

[PATCH 05/14] RDS: make sure we post recv buffers

2015-08-22 Thread Santosh Shilimkar
. Since krdsd and softirq both might race for refill, we decide to schedule on work queue based on ring_low instead of ring_empty. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/connection.c | 2 ++ net/rds/ib.h | 2

[PATCH 06/14] RDS: check for congestion updates during rds_send_xmit

2015-08-22 Thread Santosh Shilimkar
Ensure we don't keep sending the data if the link is congested. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c

[PATCH 11/14] RDS: Don't destroy the rdma id until after we're done using it

2015-08-22 Thread Santosh Shilimkar
From: Santosh Shilimkar During connection resets, we are destroying the rdma id too soon. We can't destroy it when it is still in use. So lets move rdma_destroy_id() after we clear the rings. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shil

[PATCH 10/14] RDS: Fix assertion level from fatal to warning

2015-08-22 Thread Santosh Shilimkar
Fix the asserion level since its not fatal and can be hit in normal execution paths. There is no need to take the system down. We keep the WARN_ON() to detect the condition if we get here with bad pages. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh

[PATCH 03/14] RDS: destroy the ib state earlier during shutdown

2015-08-22 Thread Santosh Shilimkar
Destroy ib state early during shutdown. Otherwise we can get callbacks after the QP isn't really able to handle them. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_cm.c | 18 ++ 1 file changed, 10 inser

[PATCH 04/14] RDS: don't update ip address tables if the address hasn't changed

2015-08-22 Thread Santosh Shilimkar
If the ip address tables hasn't changed, there is no need to remove them only to be added back again. Lets fix it. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_rdma.c | 9 +++-- 1 file changed, 7 insertions(

[PATCH 09/14] RDS: Make sure we do a signaled send for large-send

2015-08-22 Thread Santosh Shilimkar
at least once per large-send, we can at least detect the problem in work completion handler there by avoiding sending more data to inactive remote. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_send.c | 5 + 1 file

[PATCH 07/14] RDS: add a sock_destruct callback debug aid

2015-08-22 Thread Santosh Shilimkar
This helps to detect the accidental processes/apps trying to destroy the RDS socket which they are sharing with other processes/apps. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/af_rds.c | 9 + 1 file changed, 9

[PATCH 13/14] RDS: return EMSGSIZE for oversize requests before processing/queueing

2015-08-22 Thread Santosh Shilimkar
those limits do not get to rds_send_queue_rm() code for processing. Signed-off-by: Mukesh Kacker Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/net/rds/send.c b/net/rds/

[PATCH 14/14] RDS: check for valid cm_id before initiating connection

2015-08-22 Thread Santosh Shilimkar
Connection could have been dropped while the route is being resolved so check for valid cm_id before initiating the connection. Reviewed-by: Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 15 +-- 1 file

[PATCH 00/14] RDS: Assorted bug fixes

2015-08-22 Thread Santosh Shilimkar
fore processing/queueing Santosh Shilimkar (13): RDS: restore return value in rds_cmsg_rdma_args() RDS: always free recv frag as we free its ring entry RDS: destroy the ib state earlier during shutdown RDS: don't update ip address tables if the address hasn't changed RDS: make

[PATCH 12/14] RDS: make sure rds_send_drop_to properly takes the m_rs_lock

2015-08-22 Thread Santosh Shilimkar
Ajaykumar Hotchandani Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/send.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/net/rds/send.c b/net/rds/send.c index 96ae38d..b0fe412 100644 --- a/net/rds/send.c +++ b/net/rds/send.c

Re: [PATCH 0/7] gpio: omap: fixes and improvements

2015-08-18 Thread santosh shilimkar
and 7. Will look at it again in detail. For 1 to 5, Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read t

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-14 Thread santosh shilimkar
On 8/14/2015 7:09 AM, Russell King - ARM Linux wrote: On Fri, Aug 14, 2015 at 10:04:41AM -0400, Murali Karicheri wrote: On 08/11/2015 03:13 PM, Murali Karicheri wrote: Currently on some devices, an asynchronous external abort exception happens during boot up when exception handlers are enabled

Re: [Resend: PATCH] ARM: keystone: add documentation for SoCs and EVMs

2015-08-04 Thread santosh shilimkar
On 8/4/2015 9:36 AM, Murali Karicheri wrote: Currently there is no general documentation on Keystone SoCs in the Linux Documentation folder of the source tree. This patch adds some essential documentation with links to help users of Keystone Linux and also provide links to existing documents wher

Re: [PATCH 2/2] ARM: dts: keystone: fix dt bindings to use post div register for mainpll

2015-07-31 Thread santosh shilimkar
On 7/31/2015 7:20 AM, Murali Karicheri wrote: On 05/29/2015 12:04 PM, Murali Karicheri wrote: All of the keystone devices have a separate register to hold post divider value for main pll clock. Currently the fixed-postdiv value used for k2hk/l/e SoCs works by sheer luck as u-boot happens to use

Re: [PATCH 2/2] ARM: dts: keystone: fix dt bindings to use post div register for mainpll

2015-07-31 Thread santosh shilimkar
fixed-postdiv value used for k2hk/l/e SoCs works by sheer luck as u-boot happens to use a value of 2 for this. Now that we have fixed this in the pll clock driver change the dt bindings for the same. Signed-off-by: Murali Karicheri --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list

Re: [RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI

2015-07-22 Thread santosh shilimkar
On 7/22/2015 5:32 AM, Franklin S Cooper Jr wrote: Add ti,keystone-spi to the compatible field for the SPI node. This new entry insures that the proper prescaler limit is used for keystone devices Signed-off-by: Franklin S Cooper Jr --- Once the binding and driver makes it, I can pick this up.

Re: [PATCH] keystone: dts: add psci command definition

2015-07-01 Thread santosh shilimkar
On 7/1/2015 6:05 AM, Vitaly Andrianov wrote: On 07/01/2015 08:41 AM, Mark Rutland wrote: On Wed, Jul 01, 2015 at 01:13:04PM +0100, Vitaly Andrianov wrote: This commit adds definition for cpu_on, cpu_off and cpu_suspend commands. These definitions must match the corresponding PSCI definitions

Re: [PATCH] keystone: psci: adds cpu_die implementation

2015-06-26 Thread santosh shilimkar
On 6/26/2015 10:47 AM, Grygorii Strashko wrote: Hi, On 06/26/2015 07:57 PM, Vitaly Andrianov wrote: On 06/25/2015 02:42 PM, santosh shilimkar wrote: Another question is how well current PSCI implementation supports keystone2/LPAE !? - It seems, at least below hack should be applied

Re: [PATCH v2 0/3] ARM: keystone: add ecc error interrupt handling

2015-06-25 Thread santosh shilimkar
On 6/25/2015 2:02 PM, Stephen Boyd wrote: On 06/25/2015 08:04 AM, santosh shilimkar wrote: On 6/25/2015 7:31 AM, Vitaly Andrianov wrote: This patch series adds support for arm L1/L2 ecc and ddr3 ecc error handling for Keystone devices Change Log v2: - removing unused and sorting headers of

Re: [PATCH] ARM: use phys_addr_t in pfn_to_kaddr()

2015-06-25 Thread santosh shilimkar
On 6/25/2015 9:33 AM, Nicolas Pitre wrote: On Wed, 24 Jun 2015, santosh shilimkar wrote: On 6/23/2015 8:13 AM, Vitaly Andrianov wrote: This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this, this macro is broken on LPAE systems. For physical addresses above first 4GB result of

Re: [PATCH] keystone: psci: adds cpu_die implementation

2015-06-25 Thread santosh shilimkar
On 6/25/2015 10:20 AM, Mark Rutland wrote: I need rework and re-test the patch. One more question. Shall I post the dts related commit, which add PSCI command together with this commit? Or it may be posted later independently? The DTS and Kconfig changes can be seaprate patches, but they'll nee

Re: [PATCH v2 0/3] ARM: keystone: add ecc error interrupt handling

2015-06-25 Thread santosh shilimkar
On 6/25/2015 7:31 AM, Vitaly Andrianov wrote: This patch series adds support for arm L1/L2 ecc and ddr3 ecc error handling for Keystone devices Change Log v2: - removing unused and sorting headers of keystone.c are moved to a separate patch. - l1l2 ecc and ddr3 ecc error handling are split i

Re: [PATCH] keystone: psci: adds cpu_die implementation

2015-06-25 Thread santosh shilimkar
On 6/25/2015 7:45 AM, Mark Rutland wrote: Hi, On Thu, Jun 25, 2015 at 03:02:50PM +0100, Vitaly Andrianov wrote: This commit add cpu_die implementation using psci api I don't understand. If you have a PSCI implementation, it should be sufficient to have a PSCI node (and enable-method) in your

Re: [PATCH] keystone: psci: adds cpu_die implementation

2015-06-25 Thread santosh shilimkar
On 6/25/2015 7:02 AM, Vitaly Andrianov wrote: This commit add cpu_die implementation using psci api Signed-off-by: Vitaly Andrianov --- arch/arm/mach-keystone/platsmp.c | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/mach-keystone/platsmp.c b/ar

Re: [PATCH] ARM: use phys_addr_t in pfn_to_kaddr()

2015-06-24 Thread santosh shilimkar
On 6/23/2015 8:13 AM, Vitaly Andrianov wrote: This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this, this macro is broken on LPAE systems. For physical addresses above first 4GB result of shifting pfn with PAGE_SHIFT may be truncated. Signed-off-by: Vitaly Andrianov --- Looks a val

Re: [PATCH] ARM: keystone: ecc: add ddr3 ecc interrupt handling

2015-06-22 Thread santosh shilimkar
On 6/22/2015 1:50 PM, Murali Karicheri wrote: On 06/19/2015 11:35 AM, santosh shilimkar wrote: On 6/18/2015 12:09 PM, Vitaly Andrianov wrote: This patch adds ARM L1/L2 ECC handler support and DDR3 ECC interrupt handling for Keystone II devices, the kernel will reboot if the error is 2-bit

Re: [PATCH] ARM: keystone: ecc: add ddr3 ecc interrupt handling

2015-06-22 Thread santosh shilimkar
On 6/22/2015 1:23 PM, Murali Karicheri wrote: On 06/19/2015 11:35 AM, santosh shilimkar wrote: On 6/18/2015 12:09 PM, Vitaly Andrianov wrote: This patch adds ARM L1/L2 ECC handler support and DDR3 ECC interrupt handling for Keystone II devices, the kernel will reboot if the error is 2-bit

Re: [PATCH] ARM: keystone: ecc: add ddr3 ecc interrupt handling

2015-06-19 Thread santosh shilimkar
On 6/18/2015 12:09 PM, Vitaly Andrianov wrote: This patch adds ARM L1/L2 ECC handler support and DDR3 ECC interrupt handling for Keystone II devices, the kernel will reboot if the error is 2-bit error for DDR ECC or L1/L2 ECC error. Signed-off-by: Hao Zhang Signed-off-by: Murali Karicheri Sign

Re: [PATCH 1/2] clk: keystone: add support for post divider register for main pll

2015-06-18 Thread santosh shilimkar
On 6/18/2015 3:37 PM, Michael Turquette wrote: Quoting Murali Karicheri (2015-05-29 09:04:12) Main PLL controller has post divider bits in a separate register in pll controller. Use the value from this register instead of fixed divider when available. Signed-off-by: Murali Karicheri Applied

Re: [PATCH 3/6] clk: keystone: make use of of_clk_parent_fill helper function

2015-06-10 Thread santosh shilimkar
On 6/10/2015 2:49 PM, dingu...@opensource.altera.com wrote: From: Dinh Nguyen Use of_clk_parent_fill to fill in the parent clock names' array. Signed-off-by: Dinh Nguyen Cc: Santosh Shilimkar --- drivers/clk/keystone/pll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-19 Thread santosh shilimkar
On 5/19/2015 12:59 PM, Jens Axboe wrote: On 05/18/2015 05:38 PM, santosh shilimkar wrote: On 5/18/2015 4:25 PM, Ming Lei wrote: On Tue, May 19, 2015 at 7:13 AM, santosh shilimkar wrote: On 5/18/2015 11:07 AM, santosh shilimkar wrote: On 5/17/2015 6:26 PM, Ming Lei wrote: Hi Santosh

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-18 Thread santosh shilimkar
On 5/18/2015 4:25 PM, Ming Lei wrote: On Tue, May 19, 2015 at 7:13 AM, santosh shilimkar wrote: On 5/18/2015 11:07 AM, santosh shilimkar wrote: On 5/17/2015 6:26 PM, Ming Lei wrote: Hi Santosh, Thanks for your report! On Sun, May 17, 2015 at 4:13 AM, santosh shilimkar wrote: Hi Ming

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-18 Thread santosh shilimkar
On 5/18/2015 4:14 PM, Ming Lei wrote: On Tue, May 19, 2015 at 2:07 AM, santosh shilimkar wrote: On 5/17/2015 6:26 PM, Ming Lei wrote: Hi Santosh, Thanks for your report! On Sun, May 17, 2015 at 4:13 AM, santosh shilimkar wrote: Hi Ming Lei, Jens, While doing few tests with recent

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-18 Thread santosh shilimkar
On 5/18/2015 11:07 AM, santosh shilimkar wrote: On 5/17/2015 6:26 PM, Ming Lei wrote: Hi Santosh, Thanks for your report! On Sun, May 17, 2015 at 4:13 AM, santosh shilimkar wrote: Hi Ming Lei, Jens, While doing few tests with recent kernels with Xen Server, we saw guests(DOMU) disk image

Re: [Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-18 Thread santosh shilimkar
On 5/17/2015 6:26 PM, Ming Lei wrote: Hi Santosh, Thanks for your report! On Sun, May 17, 2015 at 4:13 AM, santosh shilimkar wrote: Hi Ming Lei, Jens, While doing few tests with recent kernels with Xen Server, we saw guests(DOMU) disk image getting corrupted while booting it. Strangely the

[Regression] Guest fs corruption with 'block: loop: improve performance via blk-mq'

2015-05-16 Thread santosh shilimkar
Hi Ming Lei, Jens, While doing few tests with recent kernels with Xen Server, we saw guests(DOMU) disk image getting corrupted while booting it. Strangely the issue is seen so far only with disk image over ocfs2 volume. If the same image kept on the EXT3/4 drive, no corruption is observed. The is

Re: [v4.0: PATCH 0/3] ARM: dts: keystone: dt fixes for netcp driver

2015-05-11 Thread santosh shilimkar
On 5/11/2015 11:05 AM, Murali Karicheri wrote: There are few fixes required in the dt bindings for netcp driver to make the reg and range sizes to match with data sheet. Also fix the typical size error (last bit 1 instead of 0). Please apply this for to next branch for v4.2. Applied... It shoul

Re: [PATCH 0/4] ARM: keystone: Enable Netcp driver on K2 EVMs

2015-05-11 Thread santosh shilimkar
On 5/11/2015 8:55 AM, Murali Karicheri wrote: On 04/24/2015 11:36 AM, santosh shilimkar wrote: On 4/24/2015 8:15 AM, Murali Karicheri wrote: On 04/23/2015 04:43 PM, santosh shilimkar wrote: On 4/23/2015 12:37 PM, Murali Karicheri wrote: NetCP driver support patches are already merged to v4.0

Re: [V3 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-08 Thread santosh shilimkar
On 5/8/2015 1:58 PM, Rafael J. Wysocki wrote: On Friday, May 08, 2015 01:27:00 PM santosh shilimkar wrote: On 5/8/2015 1:49 PM, Rafael J. Wysocki wrote: On Thursday, May 07, 2015 09:12:00 PM santosh.shilim...@oracle.com wrote: On 5/7/15 5:37 PM, Suravee Suthikulpanit wrote: Currently, device

Re: [V3 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-08 Thread santosh shilimkar
On 5/8/2015 1:49 PM, Rafael J. Wysocki wrote: On Thursday, May 07, 2015 09:12:00 PM santosh.shilim...@oracle.com wrote: On 5/7/15 5:37 PM, Suravee Suthikulpanit wrote: Currently, device drivers, which support both OF and ACPI, need to call two separate APIs, of_dma_is_coherent() and acpi_dma_is

Re: [PATCH 02/11] arm/mach-keystone: remove legacy __cpuinit sections that crept in

2015-05-06 Thread santosh shilimkar
erent memory address space") Since we want to clobber the stubs too, get these removed now. Cc: Santosh Shilimkar Santosh's email is now: Santosh Shilimkar Thanks Russell. Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Paul Gortmaker --- arch/arm/mach-keystone/platsmp

Re: [PATCH 0/3] Introduce SET_NOIRQ_SYSTEM_SLEEP_PM_OPS and use it

2015-04-27 Thread santosh shilimkar
.c | 7 ++- drivers/bus/omap_l3_noc.c | 4 ++-- include/linux/pm.h| 12 3 files changed, 16 insertions(+), 7 deletions(-) Looks fine to me. Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 0/4] ARM: keystone: Enable Netcp driver on K2 EVMs

2015-04-24 Thread santosh shilimkar
On 4/24/2015 8:15 AM, Murali Karicheri wrote: On 04/23/2015 04:43 PM, santosh shilimkar wrote: On 4/23/2015 12:37 PM, Murali Karicheri wrote: NetCP driver support patches are already merged to v4.0.nd v4.1. This series introduce patches to update the DTS bindings and defconfig so that the

Re: [PATCH 0/4] ARM: keystone: Enable Netcp driver on K2 EVMs

2015-04-23 Thread santosh shilimkar
On 4/23/2015 12:37 PM, Murali Karicheri wrote: NetCP driver support patches are already merged to v4.0.nd v4.1. This series introduce patches to update the DTS bindings and defconfig so that the network driver is fully functional on K2 EVMs :- K2HK, K2L and K2E. Nice and Thanks Murali for sendi

Re: [PATCH] gpio: syscon: reduce message level when direction reg offset not in dt

2015-03-24 Thread santosh shilimkar
: syscon: retriave syscon node and regs offsets from dt") Reported-by: Russell King Signed-off-by: Grygorii Strashko --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More m

Re: [PATCH] ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688

2015-03-17 Thread santosh shilimkar
omplained for a few years and Santosh Shilimkar agreed. https://lkml.org/lkml/2015/2/25/449 --- As far as I see, this should remove all the code related to OMAP4_ERRATA_I688, I hope I didn't remove too much. Seems to boot fine, so applying into omap-for-v4.1/fixes-not-urgent. Acke

Re: [PATCH] omap_l3_smx.c: remove IRQF_DISABLED flag

2015-03-02 Thread santosh shilimkar
pt line of the issuing device is still active. Signed-off-by: Valentin Rothberg --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Dead Kconfig Option OMAP4_ERRATA_I688

2015-02-25 Thread santosh shilimkar
On 2/25/2015 9:14 AM, Tony Lindgren wrote: Hi, Adding Santosh to Cc on this one. * Stefan Hengelein [150225 09:13]: During the research for my masters thesis i came across the OMAP4_ERRATA_I688 option and realized, it is never possible to enable this option. The a62a6e98 commit added the "&&

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-25 Thread santosh shilimkar
On 2/24/2015 9:47 PM, Ethan Zhao wrote: Viresh, Will do that when I get the test box. Thanks Ethan. On Wed, Feb 25, 2015 at 12:35 PM, viresh kumar wrote: On Wednesday 25 February 2015 08:54 AM, Ethan Zhao wrote: Viresh, With this patch applied, still got the following warning and

Re: [BUG in v3.18 ?] Seems to be triggered from cgroup code

2015-02-12 Thread santosh shilimkar
On 2/11/2015 10:09 PM, Zefan Li wrote: On 2015/2/6 7:54, santosh shilimkar wrote: Hi Tejun and all, We observed a BUG (stack is end of the email) while trying do some ceph testing. I looked at pidlist_free(), pidlist_array_load() for any potential leak but those functions looked fine to me

[BUG in v3.18 ?] Seems to be triggered from cgroup code

2015-02-05 Thread santosh shilimkar
Hi Tejun and all, We observed a BUG (stack is end of the email) while trying do some ceph testing. I looked at pidlist_free(), pidlist_array_load() for any potential leak but those functions looked fine to me. The BUG is not 100% reproducible either so though of reporting to the list to get some

Re: [PATCH] cpufreq: fix another race between PPC notification and vcpu_hotplug()

2015-01-29 Thread santosh shilimkar
On 1/29/2015 12:38 AM, Viresh Kumar wrote: Looks like you just save my time here, Santosh has also reported a similar race in a personal mail.. On 29 January 2015 at 12:12, Ethan Zhao wrote: There is race observed between PPC changed notification handler worker thread and vcpu_hotplug() called

Re: [PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread santosh shilimkar
On 1/29/2015 9:12 AM, Murali Karicheri wrote: On 01/29/2015 11:34 AM, santosh shilimkar wrote: On 1/29/2015 7:12 AM, Murali Karicheri wrote: When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to

Re: [PATCH] ARM: keystone: defconfig: add DEVTMPFS option by default.

2015-01-29 Thread santosh shilimkar
On 1/29/2015 7:12 AM, Murali Karicheri wrote: When using network driver on keystone and nfs rootfs is used following error displayed and device halts. Missing devtmpfs, which is required for udev to run Halting... Must be with Ubuntu... Add the DEVTMPFS option by default to fix this Signed-

Re: [PATCH] soc: ti: knav_qmss_queue: export API calls for use by user driver

2015-01-29 Thread santosh shilimkar
On 1/28/2015 3:00 PM, Murali Karicheri wrote: Currently only few of the API calls are exported. This creates problem when the knav* modules are built as modules and another user module such as netcp_core try to use these API calls and they are also built as module. This patch export these APIs to

Re: [PATCH resend 2/2] [RFC] genirq: Set IRQCHIP_SKIP_SET_WAKE for no_irq_chip and dummy_irq_chip

2015-01-12 Thread santosh shilimkar
n why adding the flag was chosen. The flag was added to avoid dummy irq_set_wake() implementation as described in the commit. -- commit 60f96b41f71d2a13d1c0a457b8b77958f77142d1 Author: Santosh Shilimkar Date: Fri Sep 9 13:59:35 2011 +0530 genirq: Add IRQCHIP_SKIP_SET_WAKE flag

Re: [PATCH] ARM / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-08 Thread santosh shilimkar
linux-pm tree). Please let me know if it is OK to take this one into linux-pm. --- arch/arm/mach-keystone/pm_domain.c |2 +- Looks fine to me. For keystone parts. Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

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