ahci: RAID mode SATA patch for Intel Tolapai
PATCH 1/1 ahci: RAID mode SATA patch for Intel Tolapai
Resend trying to remove 8-bit characters in the email.
This patch adds the Intel Tolapai RAID controller DID's for SATA support.
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2 -0
@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Quoted 9 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
This patch adds the Intel Tolapai RAID controller DID's for SATA support.
Signed-off-by Jason Gaston <[email protected]>
drivers/ata/ahci.c line 415
Quoted 5 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */
Why did you not use board_ahci_pi? Is the AHCI ports-implemented register unreliable on this platform?
This device has both AHCI and RAID modes that use the ahci driver. Only the RAID mode DID's are being added as the PCI class code support will cover the AHCI mode. Looking at the Generic, PCI class code support section, it uses "board_ahci". I assumed that they should be the same as the generic class code support is working on this platform.
Thanks,
Jason
Quoted 6 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, August 31, 2007 12:47 AM
To: Gaston, Jason D
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patch
for
Quoted 6 lines
Intel Tolapai
Quoted 3 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
This patch adds the Intel Tolapai RAID controller DID's for SATA
support.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Jason Gaston <[email protected]>--- linux-2.6.23-rc4/drivers/ata/ahci.c.orig 2007-08-27
18:32:35.000000000 -0700
Quoted 1 line
+++
linux-2.6.23-rc4/drivers/ata/ahci.c2007-08-28
16:58:11.000000000 -
Quoted 10 lines
0700
drivers/ata/ahci.c line 415
Quoted 6 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */Why did you not use
board_ahci_pi? Is the AHCI ports-implemented register unreliable on this platform?
Quoted 6 lines
-----Original Message-----
From: Gaston, Jason D
Sent: Friday, August 31, 2007 10:10 AM
To: 'Jeff Garzik'
Cc: [email protected]; [email protected]
Subject: RE: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patch
for
Quoted 3 lines
Intel Tolapai
This device has both AHCI and RAID modes that use the ahci driver.
Only
Quoted 3 lines
the RAID mode DID's are being added as the PCI class code support will cover the AHCI mode. Looking at the Generic, PCI class code support section, it uses "
board_ahci". I assumed that they should be the same
as
Quoted 13 lines
the generic class code support is working on this platform.
Thanks,
Jason
Quoted 6 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, August 31, 2007 12:47 AM
To: Gaston, Jason D
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patch
for
Quoted 6 lines
Quoted 6 lines
Intel Tolapai
Quoted 3 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
This patch adds the Intel Tolapai RAID controller DID's for SATA
Quoted 18 lines
support.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Jason Gaston <[email protected]>--- linux-2.6.23-rc4/drivers/ata/ahci.c.orig 2007-08-27
18:32:35.000000000 -0700
Quoted 1 line
+++
linux-2.6.23-rc4/drivers/ata/ahci.c2007-08-2816:58:11.000000000 -
Quoted 10 lines
0700
drivers/ata/ahci.c line 415
Quoted 6 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */Why did you not use
board_ahci_pi? Is the AHCI ports-implemented register unreliable on this platform?
Jeff,
Do I need to change this to board_ahci_pi or is it ok to leave it at board_ahci, which will be used by the AHCI class code devices?
Thanks,
Jason
Quoted 52 lines · Jason D
Quoted 6 lines
-----Original Message-----
From: Gaston, Jason D
Sent: Friday, August 31, 2007 10:10 AM
To: 'Jeff Garzik'
Cc: [email protected]; [email protected]
Subject: RE: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patchfor
Quoted 3 lines
Intel Tolapai
This device has both AHCI and RAID modes that use the ahci driver.
Only
Quoted 3 lines
the RAID mode DID's are being added as the PCI class code support will cover the AHCI mode. Looking at the Generic, PCI class code support section, it uses "
board_ahci". I assumed that they should be the sameas
Quoted 13 lines
the generic class code support is working on this platform.
Thanks,
Jason
Quoted 6 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, August 31, 2007 12:47 AM
To: Gaston, Jason D
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patchfor
Quoted 5 lines
Quoted 5 lines
Intel Tolapai
Quoted 2 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
Quoted 17 lines
Quoted 1 line
Quoted 1 line
This patch adds the Intel Tolapai RAID controller DID's for SATA
support.
Quoted 5 lines
Quoted 3 lines
Signed-off-by Jason Gaston <[email protected]>--- linux-2.6.23-rc4/drivers/ata/ahci.c.orig 2007-08-27
18:32:35.000000000 -0700
Quoted 1 line
+++
linux-2.6.23-rc4/drivers/ata/ahci.c2007-08-2816:58:11.000000000 -
Quoted 9 lines
0700
drivers/ata/ahci.c line 415
Quoted 6 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */Why did you not use
board_ahci_pi? Is the AHCI ports-implemented register unreliable on this platform?
Quoted 4 lines
Jeff,
Do I need to change this to
board_ahci_pior is it ok to leave it atboard_ahci, which will be used by the AHCI class code devices?
You are the one who needs to answer this question ;-)
Most new Intel AHCI have a sane and reliable Ports-Implemented register value even across reset, unlike earlier ones or some clones. For those, we use board_ahci_pi.
If PI is not reliable across reset or if BIOS is absent (yes we care about that case, when we do our own PCI resume for example), then you should use board_ahci.
Jeff
Quoted 6 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, September 07, 2007 3:39 PM
To: Gaston, Jason D
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patch
for
Quoted 15 lines
Intel Tolapai
Quoted 12 lines · Jason D
Quoted 6 lines
-----Original Message-----
From: Gaston, Jason D
Sent: Friday, August 31, 2007 10:10 AM
To: 'Jeff Garzik'
Cc: [email protected]; [email protected]
Subject: RE: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patchfor
Quoted 3 lines
Intel Tolapai
This device has both AHCI and RAID modes that use the ahci driver.
Only
Quoted 1 line
the RAID mode DID's are being added as the PCI class code support
will
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
cover the AHCI mode. Looking at the Generic, PCI class code support section, it uses "
board_ahci". I assumed that they should be the
same
Quoted 8 lines
Quoted 8 lines
as
Quoted 7 lines
the generic class code support is working on this platform.
Thanks,
Jason
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
-----Original Message-----
From: Jeff Garzik [mailto:[email protected]]
Sent: Friday, August 31, 2007 12:47 AM
To: Gaston, Jason D
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA
patch
Quoted 26 lines
Quoted 26 lines
for
Quoted 5 lines
Quoted 5 lines
Intel Tolapai
Quoted 2 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
Quoted 17 lines
Quoted 1 line
Quoted 1 line
This patch adds the Intel Tolapai RAID controller DID's for SATA
support.
Quoted 5 lines
Quoted 3 lines
Signed-off-by Jason Gaston <[email protected]>--- linux-2.6.23-rc4/drivers/ata/ahci.c.orig 2007-08-27
18:32:35.000000000 -0700
Quoted 1 line
+++
linux-2.6.23-rc4/drivers/ata/ahci.c2007-08-2816:58:11.000000000 -
Quoted 9 lines
0700
drivers/ata/ahci.c line 415
Quoted 6 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */Why did you not use
board_ahci_pi? Is the AHCI ports-implemented register unreliable on this platform?Jeff,
Quoted 7 lines
Quoted 2 lines
Do I need to change this to
board_ahci_pior is it ok to leave it atboard_ahci, which will be used by the AHCI class code devices?You are the one who needs to answer this question ;-)
Most new Intel AHCI have a sane and reliable Ports-Implemented register value even across reset, unlike earlier ones or some clones. For
those,
Quoted 7 lines
we use
board_ahci_pi.If PI is not reliable across reset or if BIOS is absent (yes we care about that case, when we do our own PCI resume for example), then you should use
board_ahci.Jeff
At this time, I don't have any way to test those particular DeviceID's and I know that the AHCI mode DeviceID works by using the class code support. So, I would like to just leave them at they are, if that is ok.
Thanks,
Jason
Quoted 4 lines · Jason D
At this time, I don't have any way to test those particular DeviceID's and I know that the AHCI mode DeviceID works by using the class code support. So, I would like to just leave them at they are, if that is ok.
Fine by me... Overall I'll follow "vendor's best advice" here :)
Jeff
Quoted 8 lines · Jeff Garzik
Quoted 4 lines · Jason D
At this time, I don't have any way to test those particular DeviceID's and I know that the AHCI mode DeviceID works by using the class code support. So, I would like to just leave them at they are, if that is ok.
Fine by me... Overall I'll follow "vendor's best advice" here :)
The distinction between board_ahci and board_ahci_pi has been removed in #upstream anyway, so it doesn't matter too much anyway.
Thanks.
Signature · 1 line
tejun
Quoted 9 lines · Jason Gaston
Resend trying to remove 8-bit characters in the email.
This patch adds the Intel Tolapai RAID controller DID's for SATA support.
Signed-off-by Jason Gaston <[email protected]>
drivers/ata/ahci.c line 415
Quoted 5 lines
drivers/ata/ahci.c renamed from drivers/ata/ahci.c.orig +2
-0@@ -411,6 +411,8 @@ { PCI_VDEVICE(INTEL, 0x292f), board_ahci_pi }, /* ICH9M */ { PCI_VDEVICE(INTEL, 0x294d), board_ahci_pi }, /* ICH9 */ { PCI_VDEVICE(INTEL, 0x294e), board_ahci_pi }, /* ICH9M */ + { PCI_VDEVICE(INTEL, 0x502a), board_ahci }, /* Tolapai */ + { PCI_VDEVICE(INTEL, 0x502b), board_ahci }, /* Tolapai */
applied manually, since it conflicted with Tejun's PI patch (not your fault)