From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: linux-kernel@vger.kernel.org, martin@dalecki.de
Subject: Re: cli/sti removal from linux-2.5.29/drivers/ide?
Date: 29 Jul 2002 18:51:48 +0100 [thread overview]
Message-ID: <1027965108.4050.14.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <200207291549.IAA04805@adam.yggdrasil.com>
> With this change, I believe I can remove all of the
> cli()...restore_flags() pairs from the channel->tuneproc functions of
> each IDE driver. I have also removed what appear to be some
Some tuning locks are needed because an interrupt during the magic
tuning sequence will break stuff
g is ready, program the new timings
> */
> - spin_lock(&cmd640_lock, flags);
> + spin_lock_irqsave(&cmd640_lock, flags);
> /*
For the CMD640 please see the patch I posted. It has to use pci_lock and
it needs other 2.4 fixes forward porting which I did
> - save_flags(flags);
> - cli(); /* all CPUs (there should only be one CPU with this chipset) */
> + local_irq_save(flags); /* There should only be one CPU with this
> + chipset. */
Not needed that I can see. It also wants to use the proper master/mwi
functions. I've got a diff for this I can post.
next prev parent reply other threads:[~2002-07-29 16:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-29 15:49 Adam J. Richter
2002-07-29 17:51 ` Alan Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-31 7:46 Adam J. Richter
2002-07-31 20:43 ` Marcin Dalecki
2002-07-30 20:10 Adam J. Richter
2002-07-31 20:12 ` Marcin Dalecki
2002-07-30 18:35 Adam J. Richter
2002-07-29 20:18 Adam J. Richter
2002-07-30 9:17 ` Marcin Dalecki
2002-07-29 0:26 Adam J. Richter
2002-07-29 11:56 ` Alan Cox
2002-07-29 11:07 ` Marcin Dalecki
2002-07-29 12:59 ` Alan Cox
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=1027965108.4050.14.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin@dalecki.de \
/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
all inboxes | Powered by JetHome®