lkml.org 
[lkml]   [2011]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pch_dma: Fix suspend issue
(2011/10/07 14:00), Vinod Koul wrote:
> How would changing the max number of descriptors fix the memory
> violation?
>

In probe of pch_dma, you can see the following code.

for (i = 0; i < nr_channels; i++) {

snip...

pd_chan->membase = &regs->desc[i];

snip...

}

Max value of nr_channels is 12 defined at pci_table.
So, this caused memory access violation.

--
tomoya
ROHM Co., Ltd.


\
 
 \ /
  Last update: 2011-10-07 07:57    [W:0.088 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site