From sacadmin Fri Jun  9 00:12:57 2006
Received: from sfbaymail2sca.sfbay.sun.com (sfbaymail2sca.SFBay.Sun.COM [129.145.155.42])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id k597Cv7G018962
	for <psarc@sac.sfbay.sun.com>; Fri, 9 Jun 2006 00:12:57 -0700 (PDT)
Received: from nwkea-pix-1.sun.com (nwkes-gis-mail-2.SFBay.Sun.COM [10.4.134.6])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id k597CvOB018087
	for <psarc@sac.sfbay.sun.com>; Fri, 9 Jun 2006 00:12:57 -0700 (PDT)
Received: from d1-sfbay-03.sun.com ([192.18.39.113])
	by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k597Cpxa011158
	for <psarc@sac.sfbay.sun.com>; Fri, 9 Jun 2006 00:12:51 -0700 (PDT)
Received: from conversion-daemon.d1-sfbay-03.sun.com by d1-sfbay-03.sun.com
 (Sun Java System Messaging Server 6.2-4.02 (built Sep  9 2005))
 id <0J0K00H01WGWR300@d1-sfbay-03.sun.com>
 (original mail from Alan.Perry@Sun.COM) for psarc@sac.sfbay.sun.com; Fri,
 09 Jun 2006 00:12:51 -0700 (PDT)
Received: from [192.9.61.137] by d1-sfbay-03.sun.com
 (Sun Java System Messaging Server 6.2-4.02 (built Sep  9 2005))
 with ESMTPSA id <0J0L00IPY018HO00@d1-sfbay-03.sun.com>; Fri,
 09 Jun 2006 00:12:51 -0700 (PDT)
Date: Fri, 09 Jun 2006 00:11:43 -0700
From: Alan Perry <Alan.Perry@Sun.COM>
Subject: SATA AHCI HBA driver [PSARC/2006/384 Timeout: 06/16/2006]
Sender: Alan.Perry@Sun.COM
To: psarc@sac.sfbay.sun.com
Cc: Fir.Qin@Sun.COM, kevin.x.song@Sun.COM, Narayana.Aroori@Sun.COM,
        Ying.Tian@Sun.COM
Message-id: <44891F2F.6030602@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930)
Status: RO
Content-Length: 3280


I am sponsoring the following fasttrack for Dachuan Fir Din.  The
timer expires on 6/16/2006.

Summary
=======

This case proposes the integration of AHCI HBA driver(a SATA HBA
driver) into ON. This driver could support various SATA HBA 
controllers which are compatible with AHCI(Advanced Host
Controller Interface) protocol. AHCI is protocol defined by INTEL
which describes a PCI class device that acts as an interface
between system memory and SATA devices.

Overview
========

AHCI describes a PCI class device that acts as an interface 
between system memory and SATA devices. It specifies following
features(some of them are optional): support for 32 ports,
elimination of Master/Slave handling, hot plug, HW assisted
native command queuing, cold device presence detect, 64-bit
addressing, power management, staggered spin-up, SATA superset
registers, port multiplier.

Currently, many SATA chipsets follow AHCI specification on 
x86/x64 systems, such as ICH6/ICH7(INTEL south bridge), VT8251
(VIA south bridge), JMB36X(Jmicron PCI cards). Uli is the AHCI
compatible chipset for sparc.

Proposal
========

This case proposes adding an AHCI hba driver to Solaris. It is
the third SATA hba driver under SATA framework(PSARC/2005/679),
parallel to si3124(driver for silicon image SATA HBA chipsets)
and marvell(driver for marvell SATA HBA chipsets).

AHCI hba driver serves as a "bridge" between SATA HBA framework
and AHCI HBA controller.

                  +====================+
                  | SATA HBA Framework |
                  +=========^==========+
                            | SATA HBA
                            | Interface
                  +=========v==========+
                  |  AHCI HBA Driver   |
                  +=========^==========+
                            | AHCI Spec
                  +=========v==========+
                  | AHCI HBA controller|
                  +=========^==========+
                            |
                            V
      ( SATA devices: SATA disks, SATA ATAPI CDROMs, ...)

AHCI HBA driver will:
    * Initializes the AHCI controller
    * Registers itself with the SATA HBA framework
    * Exposes HBA capabilities and configuration to SATA HBA
       framework
    * Attaches/detaches each instance of the HBA via SATA HBA
       framework service functions
    * Monitors and reports state of the SATA device ports
    * Maintains connection with attached SATA devices
    * Reports changes of SATA device ports state
    * Sends SATA commands to attached devices and controls
       transfer of data and status of the operations
    * Performs control operations requested by SATA HBA framework
       on ports and devices

The features of AHCI HBA driver will be implemented in two
phases: 

In the first phase, AHCI HBA Driver conforms to AHCI 1.0 
specification, implements following features:
    * PIO and DMA protocols
    * Hot Plug
    * MSI interrupt
    * cfgadm supported
    * 64-bit addressing
    * Intel ICH6 and VIA vt8251 chipsets supported

In the second phase, following features would be added:
    * ATAPI
    * Power Management
    * Sparc Support
    * FMA
    * NCQ
    * Port multiplier

Interfaces
==========

The AHCI HBA driver will expose no new software interfaces.


From sacadmin Wed Jun 14 10:58:55 2006
Received: from sfbaymail2sca.sfbay.sun.com (sfbaymail2sca.SFBay.Sun.COM [129.145.155.42])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id k5EHwt00024381
	for <psarc@sac.sfbay.sun.com>; Wed, 14 Jun 2006 10:58:55 -0700 (PDT)
Received: from nwkea-pix-1.sun.com (nwkes-gis-mail-2.SFBay.Sun.COM [10.4.134.6])
	by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id k5EHwtnb015843
	for <psarc@sac.sfbay.sun.com>; Wed, 14 Jun 2006 10:58:55 -0700 (PDT)
Received: from d1-sfbay-03.sun.com ([192.18.39.113])
	by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k5EHwoW0002741
	for <psarc@sac.sfbay.sun.com>; Wed, 14 Jun 2006 10:58:50 -0700 (PDT)
Received: from conversion-daemon.d1-sfbay-03.sun.com by d1-sfbay-03.sun.com
 (Sun Java System Messaging Server 6.2-4.02 (built Sep  9 2005))
 id <0J0V00A013991C00@d1-sfbay-03.sun.com>
 (original mail from Alan.Perry@Sun.COM) for psarc@sac.sfbay.sun.com; Wed,
 14 Jun 2006 10:58:50 -0700 (PDT)
Received: from [192.9.61.137] by d1-sfbay-03.sun.com
 (Sun Java System Messaging Server 6.2-4.02 (built Sep  9 2005))
 with ESMTPSA id <0J0V00MML3A08C10@d1-sfbay-03.sun.com>; Wed,
 14 Jun 2006 10:58:50 -0700 (PDT)
Date: Wed, 14 Jun 2006 10:57:45 -0700
From: Alan Perry <Alan.Perry@Sun.COM>
Subject: Re: SATA AHCI HBA driver [PSARC/2006/384 Timeout: 06/16/2006]
Sender: Alan.Perry@Sun.COM
To: psarc@sac.sfbay.sun.com
Cc: Fir.Qin@Sun.COM, kevin.x.song@Sun.COM, Narayana.Aroori@Sun.COM,
        Ying.Tian@Sun.COM, "Alan F. Perry" <Alan.Perry@Sun.COM>
Message-id: <44904E19.9050100@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930)
Status: RO
Content-Length: 531

This was approved at the PSARC meeting this morning.

>I am sponsoring the following fasttrack for Dachuan Fir Din.  The
>timer expires on 6/16/2006.
>
>Summary
>=======
>
>This case proposes the integration of AHCI HBA driver(a SATA HBA
>driver) into ON. This driver could support various SATA HBA 
>controllers which are compatible with AHCI(Advanced Host
>Controller Interface) protocol. AHCI is protocol defined by INTEL
>which describes a PCI class device that acts as an interface
>between system memory and SATA devices.
>


