public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
To: "Andrey J. Melnikoff (TEMHOTA)" <temnota@kmv.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: megaraid2.c PATCH (was: Linux 2.4.28-rc3)
Date: Wed, 19 Jan 2005 13:56:44 -0200	[thread overview]
Message-ID: <20050119155644.GI2240@logos.cnet> (raw)
In-Reply-To: <20050119175015.GG12843@kmv.ru>

On Wed, Jan 19, 2005 at 08:50:16PM +0300, Andrey J. Melnikoff (TEMHOTA) wrote:
> Hi Marcelo Tosatti!
>  On Sat, Nov 13, 2004 at 01:24:50PM -0200, Marcelo Tosatti wrote next:
> 
> > On Sat, Nov 13, 2004 at 07:27:09PM +0300, Andrey Melnikoff wrote:
> > > In article <20041112180052.GE23215@logos.cnet> you wrote:
> > > > Hi,
> > > 
> > > > Here goes the third release candidate.
> > > 
> > > > It contains a v2.6 backport of the binfmt_elf potential vulnerabilities
> > > > disclosed this week, an enhanced smbfs client overflow fix, an ACPI update
> > > > fixing a couple of nasty bugs, a NFS client bugfix and a network update
> > > > from Davem.
> > > 
> > > Any chance to apply this patch before release?
> > > 
> > > Prevent NMI oopser kill kernel thread when megearid2 driver wating abort or
> > > reset command completion. 
> > 
> > I talked to Atul and Arjan about this one - the correct thing to do is to 
> > replace mdelay() with CPU yielding msleep(). 
> > 
> > We should backport msleep() in 2.4.29-pre1. 
> 
> Ok, msleep() backported, but driver isn't fixed. This patch acceptable?
> 
> Prevent NMI oopser kill kernel thread when megearid2 driver wating 
> abort or reset command completion. 

The megaraid maintainers seem to have an scheduled driver update but they
have taken too long.

Patch applied, thanks.

> Signed-off-by: Andrey Melnikov <temnota+kernel@kmv.ru>
> 
> --- linux-2.4.29/drivers/scsi/megaraid2.c~	Wed Jan 19 20:39:04 2005
> +++ linux-2.4.29/drivers/scsi/megaraid2.c	Wed Jan 19 20:44:21 2005
> @@ -2819,7 +2819,7 @@
>  		}
>  
>  		if( iter++ < MBOX_ABORT_SLEEP*1000 ) {
> -			mdelay(1);
> +			msleep(1);
>  		}
>  		else {
>  			printk(KERN_WARNING
> @@ -2899,7 +2899,7 @@
>  		}
>  
>  		if( iter++ < MBOX_RESET_SLEEP*1000 ) {
> -			mdelay(1);
> +			msleep(1);
>  		}
>  		else {
>  			printk(KERN_WARNING
> @@ -4040,10 +4040,10 @@
>  	printk(KERN_INFO "megaraid: cache flush delay:   ");
>  	for( i = 9; i >= 0; i-- ) {
>  		printk("\b\b\b[%d]", i);
> -		mdelay(1000);
> +		msleep(1000);
>  	}
>  	printk("\b\b\b[done]\n");
> -	mdelay(1000);
> +	msleep(1000);
>  
>  	return NOTIFY_DONE;
>  }

  reply	other threads:[~2005-01-19 19:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 18:00 Linux 2.4.28-rc3 Marcelo Tosatti
2004-11-13 16:27 ` Andrey Melnikoff
2004-11-13 15:24   ` Marcelo Tosatti
2005-01-19 17:50     ` megaraid2.c PATCH (was: Linux 2.4.28-rc3) Andrey J. Melnikoff (TEMHOTA)
2005-01-19 15:56       ` Marcelo Tosatti [this message]
2004-11-13 20:07 ` [patch] 2.4.28-rc3: neigh_for_each must be EXPORT_SYMBOL'ed Adrian Bunk
2004-11-14  7:25   ` David S. Miller
2004-11-14 10:35 ` Linux 2.4.28-rc3 Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050119155644.GI2240@logos.cnet \
    --to=marcelo.tosatti@cyclades.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=temnota@kmv.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox