login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
26
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alan Cox <alan@...>
To: Jeff Garzik <jeff@...>
Cc: Peer Chen <peerchen@...>, linux-kernel <linux-kernel@...>, akpm <akpm@...>, linux-ide <linux-ide@...>
Subject:
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
Date: Wednesday, September 26, 2007 - 7:23 am
On Wed, 26 Sep 2007 00:03:19 -0400 Jeff Garzik <jeff@garzik.org> wrote:
quoted text
> Peer Chen wrote: > > According to the description of section 5.2.2.1 and 10.1.2 of AHCI specification rev1_1/rev1_2, GHC.HR shall only be set to ¡®1¡¯ > > by software when GHC.AE is set to ¡®1¡¯. > > > > Signed-off-by: Peer Chen <peerchen@gmail.com> > > --- > > --- linux-2.6.23-rc7/drivers/ata/ahci.c.orig 2007-09-20 11:01:55.000000000 -0400 > > +++ linux-2.6.23-rc7/drivers/ata/ahci.c 2007-09-20 11:07:31.000000000 -0400 > > @@ -834,6 +834,10 @@ static int ahci_reset_controller(struct > > void __iomem *mmio = host->iomap[AHCI_PCI_BAR]; > > u32 tmp; > > > > + /* turn on AHCI mode before controller reset*/ > > + writel(HOST_AHCI_EN, mmio + HOST_CTL); > > + (void) readl(mmio + HOST_CTL); /* flush */ > > applied the attached patch, inspired by yours.
NAK - mmio is an iomap so writel and readl are the wrong things to use -
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] ahci: enable GHC.AE bit before set GHC.HR
, Peer Chen
, (Fri Sep 21, 1:28 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jeff Garzik
, (Wed Sep 26, 12:03 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Alan Cox
, (Wed Sep 26, 7:23 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jeff Garzik
, (Wed Sep 26, 7:41 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Alan Cox
, (Wed Sep 26, 10:30 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jeff Garzik
, (Wed Sep 26, 10:33 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Alan Cox
, (Wed Sep 26, 12:10 pm)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jeff Garzik
, (Wed Sep 26, 12:20 pm)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jens Axboe
, (Fri Sep 21, 6:31 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Alan Cox
, (Fri Sep 21, 7:27 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Jens Axboe
, (Fri Sep 21, 7:34 am)
Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR
, Andrew Morton
, (Fri Sep 21, 6:29 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Jeff Chua
2.6.27rc1 cannot boot more than 8CPUs
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Andrew Dickinson
tx queue hashing hot-spots and poor performance (multiq, ixgbe)
Hugh Dickins
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
581 guests
online.
Syndicate