Volker, I mean add msleep(x) function between writel(HOST_AHCI_EN, mmio + HOST_CTL) and readl(mmio + HOST_CTL) cause we ever met a bug that writing data to the AHCI BAR5 but need a delay to get correct read back value. But forget it, looks like it's not the same case here. Which mode do you set(ahci or non-raid) when you encountered the issue that the AHCI_EN bit failed to set? I found we have workaround for AHCI_EN bit setting in our Bios programming guide for AHCI mode. BRs Peer Chen -----Original Message----- From: Volker Armin Hemmann [mailto:volker.armin.hemmann@xxxxxxxxxxxxxxx] Sent: Monday, April 14, 2008 2:42 PM To: Peer Chen Cc: Jeff Garzik; Tejun Heo; linux-kernel@xxxxxxxxxxxxxxx; linux-ide@xxxxxxxxxxxxxxx; Kuan Luo Subject: Re: 2.6.24.X: SATA/AHCI related boot delay. - not with 2.6.24.3 On Montag, 14. April 2008, Peer Chen wrote: > Volker, > Could you add a delay between setting AHCI_EN and reading back function? > if you tell me how to? Glück Auf Volker ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html