login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
20
Re: [PATCH] Fixups to ATA ACPI hotplug
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Holger Macht <hmacht@...>
To: Matthew Garrett <mjg59@...>
Cc: Tejun Heo <htejun@...>, <linux-ide@...>, Jeff Garzik <jeff@...>, <linux-acpi@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Fixups to ATA ACPI hotplug
Date: Tuesday, May 20, 2008 - 4:49 am
On Mon 19. May - 17:29:34, Matthew Garrett wrote:
quoted text
> The libata-acpi.c code currently accepts hotplug messages from both the > port and the device. This does not match the behaviour of the bay > driver, and may result in confusion when two hotplug requests are > received for the same device. This patch limits the hotplug notification > to removable ACPI devices, which in turn allows it to use the _STA > method to determine whether the device has been removed or inserted. > On removal, devices are marked as detached. On insertion, a hotplug scan > is started. This should avoid lockups caused by the ata layer attempting > to scan devices which have been removed. The uevent sending is moved > outside the spinlock in order to avoid a warning generated by it firing > when interrupts are disabled. > > Signed-off-by: Matthew Garrett <mjg@redhat.com> > > --- > > Holger, I'm pretty sure that this deals with the docking station removal > case, but don't have the hardware to test. If EJECT_REQUEST is genuinely
I tried it, it doesn't. Undock --> some userspace app accesses the device --> hard lockup
quoted text
> the only notification we receive (ie, no BUS_CHECK or DEVICE_CHECK) then > we'll need to add a separate callback for docking.
Yes, see my patch. Regards, Holger --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Fixups to ATA ACPI hotplug
, Matthew Garrett
, (Mon May 19, 12:29 pm)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Holger Macht
, (Tue May 20, 4:49 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Holger Macht
, (Tue May 20, 3:44 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Matthew Garrett
, (Tue May 20, 6:20 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Holger Macht
, (Tue May 20, 9:18 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Matthew Garrett
, (Tue May 20, 9:22 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Holger Macht
, (Tue May 20, 9:58 am)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Andrew Morton
, (Wed May 21, 6:26 pm)
Re: [PATCH] Fixups to ATA ACPI hotplug
, Matthew Garrett
, (Tue May 20, 10:00 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mark Lord
2.6.25-rc8: FTP transfer errors
Kamalesh Babulal
Re: 2.6.23-rc6-mm1
Greg Kroah-Hartman
[PATCH 025/196] paride: Convert from class_device to device for block/paride
Stephen Rothwell
Announce: Linux-next (Or Andrew's dream :-))
git
:
linux-netdev
:
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
12 users
and
1034 guests
online.
Online users
zeekec
andriennmb
cuidarerpoz
wholesaleelect
BonSwi89mld
yamasakinu
fuelcardmiu
houstonseocons
danilokanehlyoa
andriefechtdt
benlas77
eugenek76
Syndicate