All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Marvell support in ahci
       [not found] <BANLkTinXaLRBHhrYgetzgv=u8kBg=SQRpQ@mail.gmail.com>
@ 2011-04-02 20:09 ` arnaud atoch
  2011-04-11 16:49   ` Lars Randers
  2011-04-11 23:52   ` Robert Hancock
  0 siblings, 2 replies; 4+ messages in thread
From: arnaud atoch @ 2011-04-02 20:09 UTC (permalink / raw)
  To: linux-ide

2011/4/2 arnaud atoch <arnaud.atoch@gmail.com>
>
> Bonjour,
>
> Thank you for your time devoted to maintaining the AHCI sata part of the Linux kernel.
> I'd like to to ask you to add the Marvell sata device found on various ASUS motherboard like mine : P5WDG2WS Pro.
>
> This sata device is listed as :
> 02:00.0 0106: 11ab:6141 (rev 01)
> 02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE614x SATA II PCI-E controller (rev 01) (prog-if 81)
>     Subsystem: ASUSTeK Computer Inc. Device 81d6
>     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>     Latency: 0 (2000ns min), Cache Line Size: 16 bytes
>     Interrupt: pin A routed to IRQ 10
>     Region 0: I/O ports at bc00 [size=8]
>     Region 1: I/O ports at b880 [size=4]
>     Region 2: I/O ports at b800 [size=64]
>     Region 4: I/O ports at b480 [size=32]
>     Region 5: Memory at ebdffc00 (32-bit, non-prefetchable) [size=1K]
>     Expansion ROM at ebd80000 [disabled] [size=256K]
>     Capabilities: [48] Power Management version 2
>         Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
>         Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME+
>     Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
>         Address: 00000000  Data: 0000
>     Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
>         DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
>             ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>         DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
>             RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
>             MaxPayload 128 bytes, MaxReadReq 128 bytes
>         DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
>         LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns, L1 unlimited
>             ClockPM- Surprise- LLActRep- BwNot-
>         LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>             ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>         LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>     Capabilities: [100 v1] Advanced Error Reporting
>         UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>         UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>         UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP+ ECRC- UnsupReq- ACSViol-
>         CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>         CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>         AERCap:    First Error Pointer: 1f, GenCap- CGenEn- ChkCap- ChkEn-
>
>
> There is a modified kernel source (2.6.12.3) n the ASUS site but according to Alan Cox changes are limited to the addition of the device PCI id.
> Could you please add this device to the list of managed devices in ahci.c ?
>
> Thanks in advance.
>
> Arnaud Atoch
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Marvell support in ahci
  2011-04-02 20:09 ` Marvell support in ahci arnaud atoch
@ 2011-04-11 16:49   ` Lars Randers
  2011-04-11 23:52   ` Robert Hancock
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Randers @ 2011-04-11 16:49 UTC (permalink / raw)
  To: arnaud atoch, linux-ide

2011/4/2 arnaud atoch <arnaud.atoch@gmail.com>:
> 2011/4/2 arnaud atoch <arnaud.atoch@gmail.com>
>>
>> Bonjour,
>>
>> Thank you for your time devoted to maintaining the AHCI sata part of the Linux kernel.
>> I'd like to to ask you to add the Marvell sata device found on various ASUS motherboard like mine : P5WDG2WS Pro.
>>
>> This sata device is listed as :
>> 02:00.0 0106: 11ab:6141 (rev 01)
>> 02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE614x SATA II PCI-E controller (rev 01) (prog-if 81)
>>     Subsystem: ASUSTeK Computer Inc. Device 81d6
>>     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>>     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>>     Latency: 0 (2000ns min), Cache Line Size: 16 bytes
>>     Interrupt: pin A routed to IRQ 10
>>     Region 0: I/O ports at bc00 [size=8]
>>     Region 1: I/O ports at b880 [size=4]
>>     Region 2: I/O ports at b800 [size=64]
>>     Region 4: I/O ports at b480 [size=32]
>>     Region 5: Memory at ebdffc00 (32-bit, non-prefetchable) [size=1K]
>>     Expansion ROM at ebd80000 [disabled] [size=256K]
>>     Capabilities: [48] Power Management version 2
>>         Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
>>         Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME+
>>     Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
>>         Address: 00000000  Data: 0000
>>     Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
>>         DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
>>             ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>>         DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
>>             RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
>>             MaxPayload 128 bytes, MaxReadReq 128 bytes
>>         DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
>>         LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0 <256ns, L1 unlimited
>>             ClockPM- Surprise- LLActRep- BwNot-
>>         LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>>             ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>         LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>     Capabilities: [100 v1] Advanced Error Reporting
>>         UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>         UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>         UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP+ ECRC- UnsupReq- ACSViol-
>>         CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>>         CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>>         AERCap:    First Error Pointer: 1f, GenCap- CGenEn- ChkCap- ChkEn-
>>
>>
>> There is a modified kernel source (2.6.12.3) n the ASUS site but according to Alan Cox changes are limited to the addition of the device PCI id.
>> Could you please add this device to the list of managed devices in ahci.c ?
>>
>> Thanks in advance.
>>
>> Arnaud Atoch
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Hello Arnaud

From my understanding, there's no support for this device because it
seems to have an issue
handling more than 1 drive without locking up and destroying the filesystem.
Correct me if I'm wrong guys .. I've tried on several occations,
first time the ahci system failed completely, next time it worked with
the x86 build, but not on the x64
build if the system had more than 4Gb ram.
Current kernel builds work out pretty stable, untill you plug 2
drives. Concurrent writes will lock
up the controller and bye bye filesystem.
I'm not enough of a kernelhacker to figure out the root cause, so all
I've been able to do is test.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Marvell support in ahci
  2011-04-02 20:09 ` Marvell support in ahci arnaud atoch
  2011-04-11 16:49   ` Lars Randers
@ 2011-04-11 23:52   ` Robert Hancock
  2011-04-15 21:51     ` arnaud atoch
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Hancock @ 2011-04-11 23:52 UTC (permalink / raw)
  To: arnaud atoch; +Cc: linux-ide

On 04/02/2011 02:09 PM, arnaud atoch wrote:
> 2011/4/2 arnaud atoch<arnaud.atoch@gmail.com>
>>
>> Bonjour,
>>
>> Thank you for your time devoted to maintaining the AHCI sata part of the Linux kernel.
>> I'd like to to ask you to add the Marvell sata device found on various ASUS motherboard like mine : P5WDG2WS Pro.
>>
>> This sata device is listed as :
>> 02:00.0 0106: 11ab:6141 (rev 01)
>> 02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE614x SATA II PCI-E controller (rev 01) (prog-if 81)
>>      Subsystem: ASUSTeK Computer Inc. Device 81d6
>>      Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
>>      Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast>TAbort-<TAbort-<MAbort->SERR-<PERR- INTx-
>>      Latency: 0 (2000ns min), Cache Line Size: 16 bytes
>>      Interrupt: pin A routed to IRQ 10
>>      Region 0: I/O ports at bc00 [size=8]
>>      Region 1: I/O ports at b880 [size=4]
>>      Region 2: I/O ports at b800 [size=64]
>>      Region 4: I/O ports at b480 [size=32]
>>      Region 5: Memory at ebdffc00 (32-bit, non-prefetchable) [size=1K]
>>      Expansion ROM at ebd80000 [disabled] [size=256K]
>>      Capabilities: [48] Power Management version 2
>>          Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
>>          Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME+
>>      Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
>>          Address: 00000000  Data: 0000
>>      Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
>>          DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
>>              ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>>          DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
>>              RlxdOrd- ExtTag- PhantFunc- AuxPwr+ NoSnoop-
>>              MaxPayload 128 bytes, MaxReadReq 128 bytes
>>          DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
>>          LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0<256ns, L1 unlimited
>>              ClockPM- Surprise- LLActRep- BwNot-
>>          LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>>              ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>>          LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
>>      Capabilities: [100 v1] Advanced Error Reporting
>>          UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>          UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
>>          UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP+ ECRC- UnsupReq- ACSViol-
>>          CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>>          CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
>>          AERCap:    First Error Pointer: 1f, GenCap- CGenEn- ChkCap- ChkEn-
>>
>>
>> There is a modified kernel source (2.6.12.3) n the ASUS site but according to Alan Cox changes are limited to the addition of the device PCI id.
>> Could you please add this device to the list of managed devices in ahci.c ?

Have you tested a recent kernel with this device? It looks like it 
should have the proper class code so the AHCI driver can load without 
that specific device ID. Adding specific device IDs should only be 
needed for devices that don't do this (like those that identify as RAID 
or legacy IDE classes).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Marvell support in ahci
  2011-04-11 23:52   ` Robert Hancock
@ 2011-04-15 21:51     ` arnaud atoch
  0 siblings, 0 replies; 4+ messages in thread
From: arnaud atoch @ 2011-04-15 21:51 UTC (permalink / raw)
  To: Robert Hancock; +Cc: linux-ide

>
> Have you tested a recent kernel with this device? It looks like it should
> have the proper class code so the AHCI driver can load without that specific
> device ID. Adding specific device IDs should only be needed for devices that
> don't do this (like those that identify as RAID or legacy IDE classes).
>

Just tested with 2.6.38-8. Device is not recognized and no module is
attached to it.

02:00.0 SATA controller: Marvell Technology Group Ltd. 88SE614x SATA
II PCI-E controller (rev 01) (prog-if 81)
	Subsystem: ASUSTeK Computer Inc. Device 81d6
	Flags: bus master, fast devsel, latency 0, IRQ 10
	I/O ports at bc00 [size=8]
	I/O ports at b880 [size=4]
	I/O ports at b800 [size=64]
	I/O ports at b480 [size=32]
	Memory at ebdffc00 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at ebd80000 [disabled] [size=256K]
	Capabilities: [48] Power Management version 2
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [e0] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-15 21:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BANLkTinXaLRBHhrYgetzgv=u8kBg=SQRpQ@mail.gmail.com>
2011-04-02 20:09 ` Marvell support in ahci arnaud atoch
2011-04-11 16:49   ` Lars Randers
2011-04-11 23:52   ` Robert Hancock
2011-04-15 21:51     ` arnaud atoch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.