Re: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-04 Thread Ulf Hansson
On 4 December 2014 at 11:05, Bhuvanesh wrote: > From 7ea020e32e1fbe4d05d104e31815d908af92f2a5 Mon Sep 17 00:00:00 2001 > From: Bhuvanesh Surachari > Date: Mon, 1 Dec 2014 02:23:02 -0500 > Subject: [PATCH] mmc: queue:Improve error handling during allocation of > bounce buffers.

[PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-04 Thread Bhuvanesh
>From 7ea020e32e1fbe4d05d104e31815d908af92f2a5 Mon Sep 17 00:00:00 2001 From: Bhuvanesh Surachari Date: Mon, 1 Dec 2014 02:23:02 -0500 Subject: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers. Allocation of previous bounce buffer in mmc_init_queue when the curr

[PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-04 Thread Bhuvanesh
From 7ea020e32e1fbe4d05d104e31815d908af92f2a5 Mon Sep 17 00:00:00 2001 From: Bhuvanesh Surachari bhuvanesh_surach...@mentor.com Date: Mon, 1 Dec 2014 02:23:02 -0500 Subject: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers. Allocation of previous bounce buffer

Re: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-04 Thread Ulf Hansson
On 4 December 2014 at 11:05, Bhuvanesh bhuvanesh_surach...@mentor.com wrote: From 7ea020e32e1fbe4d05d104e31815d908af92f2a5 Mon Sep 17 00:00:00 2001 From: Bhuvanesh Surachari bhuvanesh_surach...@mentor.com Date: Mon, 1 Dec 2014 02:23:02 -0500 Subject: [PATCH] mmc: queue:Improve error handling

Re: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-03 Thread Ulf Hansson
(kthread+0x0/0xc0) from [<8000d9b8>] > (ret_from_fork+0x14/0x3c) > [ 1606.261771] Code: e585 e5953000 e5942000 e5941008 (e593) > [ 1606.301708] Kernel panic - not syncing: Fatal exception > [ 1606.307005] Rebooting in 1 seconds.. > > On analysis i found that error handling

[PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-03 Thread Bhuvanesh
allocation of current bounce buffer fails and the previous bounce buffer allocation succeeds. This later leads to exception in, __blk_segment_map_sg while trying to access the bounce buffer. The below patch improves the error handling during allocation of bounce buffers. The previous bounce b

[PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-03 Thread Bhuvanesh
: Mon, 1 Dec 2014 02:23:02 -0500 Subject: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers. Allocation of previous bounce buffer in mmc_init_queue when the current bounce buffer allocation fails was leading to a crash later in __blk_segment_map_sg. Error handling

Re: [PATCH] mmc: queue:Improve error handling during allocation of bounce buffers.

2014-12-03 Thread Ulf Hansson
is allocated only if the allocation of current bounce buffer succeeds. From 7ea020e32e1fbe4d05d104e31815d908af92f2a5 Mon Sep 17 00:00:00 2001 From: Bhuvanesh Surachari bhuvanesh_surach...@mentor.com Date: Mon, 1 Dec 2014 02:23:02 -0500 Subject: [PATCH] mmc: queue:Improve error handling during