public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* SAL PCI config space
@ 2004-04-30 17:51 Matthew Wilcox
  2004-04-30 18:04 ` Alex Williamson
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Matthew Wilcox @ 2004-04-30 17:51 UTC (permalink / raw)
  To: linux-ia64


ia64_sal_pci_config_read() and ia64_sal_pci_config_write() use SAL_CALL().
This takes an IRQ-safe spinlock, but SAL 3.2 says that SAL_PCI_CONFIG_READ
and SAL_PCI_CONFIG_WRITE are both MP-safe and reentrant.  So is there
any reason we shouldn't use SAL_CALL_REENTRANT?

(at the moment, we're protected by pci_lock so it wouldn't matter,
but I'm just about to submit a patch to do away with that)

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-04-30 22:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 17:51 SAL PCI config space Matthew Wilcox
2004-04-30 18:04 ` Alex Williamson
2004-04-30 18:04 ` Luck, Tony
2004-04-30 18:23 ` Matthew Wilcox
2004-04-30 20:09 ` Luck, Tony
2004-04-30 20:27 ` John Lee
2004-04-30 21:45 ` Grant Grundler
2004-04-30 21:59 ` Luck, Tony
2004-04-30 22:03 ` John Lee
2004-04-30 22:06 ` John Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox