login
Header Space

 
 

Re: [PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug quirk

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mikael Pettersson <mikpe@...>
Cc: <jeff@...>, <kurt@...>, <linux-ide@...>, <linux-kernel@...>
Date: Saturday, March 22, 2008 - 11:21 pm

Hello, Mikael.

Mikael Pettersson wrote:

Actually, this is common to many SATA controllers.  Lots of them raise
PHY event or hotplug interrupt during COMRESET and they all plug PHY
events from ->freeze.


Hmmm... This is supposed to be handled by setting ap->lock appropriately
and ap->lock already is initialized to &host->lock, so sticking with
ap->lock is the right thing to do.


->freeze() is called with ap->lock held, trying to lock host->lock
inside pdc_sata_enable/disable_hotplug() will result in deadlock.  Have
you tested w/ SMP configuration or spinlock debugging turned on?

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug quirk, Mikael Pettersson, (Sat Mar 22, 10:21 am)
[PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug event..., Mikael Pettersson, (Sun Mar 23, 1:41 pm)
Re: [PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug q..., Tejun Heo, (Sat Mar 22, 11:21 pm)
Re: [PATCH 2.6.25-rc6] sata_promise: fix hardreset hotplug q..., Mikael Pettersson, (Sun Mar 23, 6:30 am)
speck-geostationary