login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
30
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops.org for pnp devices with no ctl
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Alan Cox <alan@...>
Cc: <linux-kernel@...>, <linux-ide@...>
Subject:
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops.org for pnp devices with no ctl
Date: Friday, May 30, 2008 - 6:14 pm
Alan Cox wrote:
quoted text
>>> Want me to roll a patch in that style ? >> Works for me... > > Ok > > - Make ata_sff_altstatus private so nobody uses it by mistake > - Drop the 400nS delay from it > > Add > > ata_sff_irq_status - encapsulates the IRQ check logic > > This function keeps the existing behaviour for altstatus using devices. I > actually suspect the logic was wrong before the changes but -rc isn't the > time to play with that > > ata_sff_sync - ensure writes hit the device > > Really we want an io* operation for 'is posted' eg ioisposted(ioaddr) so > that we can fix the nasty delay this causes on most systems. > > - ata_sff_pause - 400nS delay > > Ensure the command hit the device and delay 400nS > > - ata_sff_dma_pause > > Ensure the I/O hit the device and enforce an HDMA1:0 transition delay. > Requires altstatus register exists, BUG if not so we don't risk > corruption in MWDMA modes. (UDMA the checksum will save your backside in > theory) > > The only other complication then is devices with their own handlers. > rb532 can use dma_pause but scc needs to access its own altstatus > register for internal errata workarounds so directly call the drivers own > altstatus function. > > > Signed-off-by: Alan Cox <alan@redhat.com> > > drivers/ata/libata-sff.c | 115 +++++++++++++++++++++++++++++++++++++------ > drivers/ata/pata_icside.c | 2 - > drivers/ata/pata_rb532_cf.c | 4 + > drivers/ata/pata_scc.c | 5 +- > include/linux/libata.h | 16 +----- > 5 files changed, 109 insertions(+), 33 deletions(-)
ACK If no further comments, I'm OK with this version... --
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:
RESEND: [PATCH] libata-sff: Fix oops reported in kerneloops....
, Alan Cox
, (Thu May 29, 12:25 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Linus Torvalds
, (Thu May 29, 1:04 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 2:02 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Jeff Garzik
, (Thu May 29, 2:25 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 2:42 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Jeff Garzik
, (Thu May 29, 3:31 pm)
[RFC PATCH] libata-sff: Fix oops reported in kerneloops.org ...
, Alan Cox
, (Thu May 29, 5:10 pm)
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops....
, Jeff Garzik
, (Wed Jun 4, 6:45 am)
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops....
, Jeff Garzik
, (Fri May 30, 6:14 pm)
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops....
, Alan Cox
, (Thu May 29, 5:37 pm)
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops....
, Jeff Garzik
, (Thu May 29, 5:57 pm)
Re: [RFC PATCH] libata-sff: Fix oops reported in kerneloops....
, Alan Cox
, (Thu May 29, 5:57 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 2:38 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Linus Torvalds
, (Thu May 29, 3:46 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 4:18 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Jeff Garzik
, (Thu May 29, 1:46 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 2:19 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Linus Torvalds
, (Thu May 29, 5:13 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 5:19 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Linus Torvalds
, (Thu May 29, 2:04 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Alan Cox
, (Thu May 29, 2:29 pm)
Re: RESEND: [PATCH] libata-sff: Fix oops reported in kernelo...
, Jeff Garzik
, (Thu May 29, 2:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Adrian Bunk
Re: LSM conversion to static interface
git
:
linux-netdev
:
Gerrit Renker
[PATCH 26/37] dccp: Integration of dynamic feature activation - part 1 (socket set...
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Linus Torvalds
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
938 guests
online.
Online users
ionut
garminportable
strcmp
nominalgeek
cyberbami
loseweightfarrf
Syndicate