[lkml]   [2011]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] staging: tidspbridge: protect dmm_map properly
On Fri, Mar 11, 2011 at 06:29:06PM -0600, Omar Ramirez Luna wrote:
> Hi Greg,
> Please consider to apply this patch in the staging tree, as the
> description says it fixes a crash in tidspbridge driver, this bug
> was already present but it seems to have surfaced by recent tests
> made by Felipe and Tuomas.
> It is an urgent fix for 2.6.38.

Heh, it's funny to see such a "urgent" fix take so long to get to me :)

Is it also applicable for .37?

> More on this discussion:
> Thanks,
> - omar
> From: Felipe Contreras <>
> We need to protect not only the dmm_map list, but the individual
> map_obj's, otherwise, we might be building the scatter-gather list with
> garbage. So, use the existing proc_lock for that.
> I observed race conditions which caused kernel panics while running
> stress tests, also, Tuomas Kulve found it happening quite often in
> Gumstix Over. This patch fixes those.
> Cc: Tuomas Kulve <>
> Signed-off-by: Felipe Contreras <>
> Signed-off-by: Omar Ramirez Luna <>

How about I send it to Linus for .39 and then add it to the .38-stable
tree when it comes out?


greg k-h

 \ /
  Last update: 2011-03-12 18:43    [W:0.070 / U:1.264 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site