From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Vitaly Wool <vwool@ru.mvista.com>
Cc: linux-mtd@lists.infradead.org, David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] MTD NAND: Fix ECC errors in au1550nd.c
Date: Tue, 04 Oct 2005 17:33:23 +0400 [thread overview]
Message-ID: <434284A3.7080007@ru.mvista.com> (raw)
In-Reply-To: <43428171.9060101@ru.mvista.com>
Vitaly Wool wrote:
> Vitaly Bordug wrote:
>
> <snip>
>
>> +
>> + if( (command == NAND_CMD_READ0) || (command ==
>> NAND_CMD_READOOB) ){
>> + save_flags(g_cpu_flags_cmd);
>> + cli();
>>
>>
> Don't you want to sti() it somewhere?
>
Yes, I understand that saving flags / clearing interrupts in one mtd
chip callback and conditionally restoring in another callback seems
dangerous. I already asked the developer of this code to clarify this
point (this is excusable in case of the h/w demands of this chip
unfortunately require something ugly).
--
Sincerely,
Vitaly
prev parent reply other threads:[~2005-10-04 13:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 13:22 [PATCH] MTD NAND: Fix ECC errors in au1550nd.c Vitaly Bordug
2005-10-03 23:10 ` Thomas Gleixner
2005-10-04 11:53 ` Vitaly Bordug
2005-10-04 16:41 ` Thomas Gleixner
2005-10-05 16:18 ` Vitaly Bordug
2005-10-05 19:22 ` Vitaly Wool
2005-10-04 13:19 ` Vitaly Wool
2005-10-04 13:33 ` Vitaly Bordug [this message]
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=434284A3.7080007@ru.mvista.com \
--to=vbordug@ru.mvista.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=vwool@ru.mvista.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.