From gd78059@sac.sfbay.sun.com Sun Nov 29 22:05:09 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id nAU659oA016354
	for <psarc-ext@sac.sfbay.sun.com>; Sun, 29 Nov 2009 22:05:09 -0800 (PST)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id nAU6548L004390;
	Sun, 29 Nov 2009 22:05:09 -0800 (PST)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KTW00J1HRKLAG00@brm-avmta-1.central.sun.com>; Sun,
 29 Nov 2009 23:05:09 -0700 (MST)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KTW009JWRKJIW80@brm-avmta-1.central.sun.com>; Sun,
 29 Nov 2009 23:05:07 -0700 (MST)
Received: from sac.sfbay.sun.com (sac.SFBay.Sun.COM [129.146.226.132])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4)
 with ESMTP id nAU656m5001658; Sun, 29 Nov 2009 22:05:06 -0800 (PST)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id nAU655T6016349; Sun,
 29 Nov 2009 22:05:05 -0800 (PST)
Received: (from gd78059@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id nAU655Qq016345; Sun,
 29 Nov 2009 22:05:05 -0800 (PST)
Date: Sun, 29 Nov 2009 22:05:05 -0800 (PST)
From: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Subject: sdcard conversion to bd,
 EOF blk2scsa [PSARC/2009/648 FastTrack timeout 12/06/2009]
To: PSARC-ext@sun.com
Cc: Garrett.Damore@sun.com
Message-id: <200911300605.nAU655Qq016345@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 3377


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 sdcard conversion to bd, EOF blk2scsa
    1.2. Name of Document Author/Supplier:
	 Author:  Garrett D'Amore
    1.3  Date of This Document:
	29 November, 2009
4. Technical Description

Background:

PSARC 2007/654 introduced blk2scsa, as a common framework for exposing block
oriented devices as SCSI logical devices.  PSARC 2007/659 introduced a
common framework for Secure Digital devices, building upon the blk2scsa
framework.  PSARC 2009/646 offers a new, simpler, and more performant,
alternative to blk2scsa which does not depend on SCSI or the SCSA framework
at all.

We would like convert the SDcard framework for SD and MMC memory cards to
use the new "bd" framework, and EOF the blk2scsa framework at the same time.

This case seeks Minor binding.  It depends on PSARC 2009/646, which is
not yet approved.


Architectural Details:

In our prototype, we have converted the framework to express a single
persistent "bd" target, for each SDcard slot.  The slot is a "removable"
drive.

This implementation has a few notable ramifications:

	a) We can simplify the SDcard framework quite a bit

	b) There is no longer a need for a separate "sdcard" pseudo-nexus
	   driver.  The "bd" device can appear as a direct child of the
	   SD host driver (e.g. sdhost).  The "sdcard" driver will be removed.

	c) The target device will appear using a cXdYsZ notation, without a
	   a target number.

	d) Some performance ramifications from using larger transfers
	   will go away.  Specifically, we can use large transfers even using
	   the raw device, and not have to fall back to PIO.  (Because the
	   bd framework can break the transfers up for us.)

	e) As we do not currently support SDIO, there is no longer any
	   need to support the use of cfgadm with SDcard.  The cfgadm
	   plugin for SDcard can thus be removed.  (Note that at this point,
	   we find it unlikely that there will ever be sufficient motivation
	   to implement support for SDIO.  While important for certain
	   devices such as mobile hand-sets, SDIO has no place on platforms
	   with a fully capable USB host or Express card implementation.
	   We have designed things in our prototype so that if SDIO support
	   were ever necessary it could be added back in without major
	   architectural changes to the memory card support.)

	   This change will remove the ability to initiate a software reset
	   of the SDcard controller from the command line, but we have found 
	   very little reason that such a capability is desirable.

	f) The sdcard framework itself will be able to eliminate all, or
	   nearly all, of its direct uses of the nexus DDI.  (In the event
	   that SDIO support were added later, we would have to reintroduce
	   a lot of NDI interface consumption, though.)

As part of this effort, we'd like to remove the blk2scsa layer specified
in PSARC 2007/654.  There will be no more consumers for it, and the newer
bd framework specified in PSARC 2009/646 is superior to it.  (The blk2scsa
interfaces are all Consolidation Private.)


6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From Richard.Matthews@sun.com Wed Dec  2 10:09:25 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id nB2I9P2W024830
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 2 Dec 2009 10:09:25 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id nB2I9NGQ011396
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 2 Dec 2009 11:09:25 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KU100605EFPL400@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 02 Dec 2009 10:09:25 -0800 (PST)
Received: from brmea-mail-2.sun.com ([192.18.98.43])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KU100LUDEFO5YB0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 02 Dec 2009 10:09:24 -0800 (PST)
Received: from fe-amer-10.sun.com ([192.18.109.80])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id nB2I9OOa017400	for
 <PSARC-ext@sun.com>; Wed, 02 Dec 2009 18:09:24 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KU100700E5QO000@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 02 Dec 2009 11:09:24 -0700 (MST)
Received: from [129.152.9.11] ([unknown] [129.152.9.11])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KU100G8KEFN2K30@mail-amer.sun.com>; Wed,
 02 Dec 2009 11:09:24 -0700 (MST)
Date: Wed, 02 Dec 2009 12:09:23 -0600
From: Rick Matthews <Richard.Matthews@sun.com>
Subject: Re: sdcard conversion to bd,
 EOF blk2scsa [PSARC/2009/648 FastTrack timeout 12/06/2009]
In-reply-to: <200911300605.nAU655Qq016345@sac.sfbay.sun.com>
Sender: Richard.Matthews@sun.com
To: "Garrett D'Amore - sun microsystems" <gd78059@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, Garrett.Damore@sun.com
Reply-to: Richard.Matthews@sun.com
Message-id: <4B16AD53.800@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200911300605.nAU655Qq016345@sac.sfbay.sun.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090910)
Status: RO
Content-Length: 4134

+1

On 11/30/09 00:05, Garrett D'Amore - sun microsystems wrote:
> Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
> This information is Copyright 2009 Sun Microsystems
> 1. Introduction
>     1.1. Project/Component Working Name:
> 	 sdcard conversion to bd, EOF blk2scsa
>     1.2. Name of Document Author/Supplier:
> 	 Author:  Garrett D'Amore
>     1.3  Date of This Document:
> 	29 November, 2009
> 4. Technical Description
>
> Background:
>
> PSARC 2007/654 introduced blk2scsa, as a common framework for exposing block
> oriented devices as SCSI logical devices.  PSARC 2007/659 introduced a
> common framework for Secure Digital devices, building upon the blk2scsa
> framework.  PSARC 2009/646 offers a new, simpler, and more performant,
> alternative to blk2scsa which does not depend on SCSI or the SCSA framework
> at all.
>
> We would like convert the SDcard framework for SD and MMC memory cards to
> use the new "bd" framework, and EOF the blk2scsa framework at the same time.
>
> This case seeks Minor binding.  It depends on PSARC 2009/646, which is
> not yet approved.
>
>
> Architectural Details:
>
> In our prototype, we have converted the framework to express a single
> persistent "bd" target, for each SDcard slot.  The slot is a "removable"
> drive.
>
> This implementation has a few notable ramifications:
>
> 	a) We can simplify the SDcard framework quite a bit
>
> 	b) There is no longer a need for a separate "sdcard" pseudo-nexus     2009/648 (12/06/09) open     sdcard conversion to bd, EOF blk2scsa
>
> 	   driver.  The "bd" device can appear as a direct child of the
> 	   SD host driver (e.g. sdhost).  The "sdcard" driver will be removed.
>
> 	c) The target device will appear using a cXdYsZ notation, without a
> 	   a target number.
>
> 	d) Some performance ramifications from using larger transfers
> 	   will go away.  Specifically, we can use large transfers even using
> 	   the raw device, and not have to fall back to PIO.  (Because the
> 	   bd framework can break the transfers up for us.)
>
> 	e) As we do not currently support SDIO, there is no longer any
> 	   need to support the use of cfgadm with SDcard.  The cfgadm
> 	   plugin for SDcard can thus be removed.  (Note that at this point,
> 	   we find it unlikely that there will ever be sufficient motivation
> 	   to implement support for SDIO.  While important for certain
> 	   devices such as mobile hand-sets, SDIO has no place on platforms
> 	   with a fully capable USB host or Express card implementation.
> 	   We have designed things in our prototype so that if SDIO support
> 	   were ever necessary it could be added back in without major
> 	   architectural changes to the memory card support.)
>
> 	   This change will remove the ability to initiate a software reset
> 	   of the SDcard controller from the command line, but we have found 
> 	   very little reason that such a capability is desirable.
>
> 	f) The sdcard framework itself will be able to eliminate all, or
> 	   nearly all, of its direct uses of the nexus DDI.  (In the event
> 	   that SDIO support were added later, we would have to reintroduce
> 	   a lot of NDI interface consumption, though.)
>
> As part of this effort, we'd like to remove the blk2scsa layer specified
> in PSARC 2007/654.  There will be no more consumers for it, and the newer
> bd framework specified in PSARC 2009/646 is superior to it.  (The blk2scsa
> interfaces are all Consolidation Private.)
>
>
> 6. Resources and Schedule
>     6.4. Steering Committee requested information
>    	6.4.1. Consolidation C-team Name:
> 		ON
>     6.5. ARC review type: FastTrack
>     6.6. ARC Exposure: open
>
>   


-- 
---------------------------------------------------------------------
Rick Matthews                           email: Rick.Matthews@sun.com
Sun Microsystems, Inc.                  phone:+1(651) 554-1518
1270 Eagan Industrial Road              phone(internal): 54418
Suite 160                               fax:  +1(651) 554-1540
Eagan, MN 55121-1231 USA                main: +1(651) 554-1500		
---------------------------------------------------------------------


From Darren.Moffat@Sun.COM Mon Dec  7 07:56:23 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id nB7FuMeb025029
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 7 Dec 2009 07:56:22 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id nB7FuMrL041638
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Mon, 7 Dec 2009 08:56:22 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KUA0020PHLY2300@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 07 Dec 2009 07:56:22 -0800 (PST)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KUA00E7CHLWPZE0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 07 Dec 2009 07:56:21 -0800 (PST)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id nB7FuKbp021710	for
 <PSARC-ext@sun.com>; Mon, 07 Dec 2009 15:56:20 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KUA00H00H2BXB00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 07 Dec 2009 15:56:09 +0000 (GMT)
Received: from [192.168.1.105]
 (cpc2-rdng20-2-0-cust917.15-3.cable.virginmedia.com [86.28.167.150])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KUA00LC2HLLYU60@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 07 Dec 2009 15:56:09 +0000 (GMT)
Date: Mon, 07 Dec 2009 15:56:08 +0000
From: Darren J Moffat <Darren.Moffat@Sun.COM>
Subject: PSARC/2009/648 sdcard conversion to bd, EOF blk2sca
Sender: Darren.Moffat@Sun.COM
To: PSARC-ext@Sun.COM
Message-id: <4B1D2598.4010406@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
User-Agent: Thunderbird 2.0.0.23 (X11/20091109)
Status: RO
Content-Length: 77

I'm happy with this case as specified so it gets my +1.

-- 
Darren J Moffat

From gdamore@sun.com Tue Dec  8 07:37:48 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id nB8FbmMg009244
	for <psarc-ext@sac.sfbay.sun.com>; Tue, 8 Dec 2009 07:37:48 -0800 (PST)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.4) with ESMTP id nB8FbkHs030667
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Tue, 8 Dec 2009 08:37:47 -0700 (MST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KUC00069BEZKW00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Tue, 08 Dec 2009 07:37:47 -0800 (PST)
Received: from sca-es-mail-2.sun.com ([192.18.43.133])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KUC00J59BEYBFA0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Tue,
 08 Dec 2009 07:37:46 -0800 (PST)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id nB8FbkIj021134	for
 <PSARC-ext@Sun.COM>; Tue, 08 Dec 2009 07:37:46 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KUC00000B4R0600@fe-sfbay-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Tue, 08 Dec 2009 07:37:46 -0800 (PST)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KUC004ZGBEF9I80@fe-sfbay-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Tue, 08 Dec 2009 07:37:28 -0800 (PST)
Date: Tue, 08 Dec 2009 07:37:27 -0800
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: PSARC/2009/648 sdcard conversion to bd, EOF blk2sca
In-reply-to: <4B1D2598.4010406@Sun.COM>
Sender: Garrett.Damore@sun.com
To: Darren J Moffat <Darren.Moffat@sun.com>
Cc: PSARC-ext@sun.com
Message-id: <4B1E72B7.4060208@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <4B1D2598.4010406@Sun.COM>
User-Agent: Thunderbird 2.0.0.23 (X11/20091013)
Status: RO
Content-Length: 193

Darren J Moffat wrote:
> I'm happy with this case as specified so it gets my +1.
>

The case having received a necessary +1, and reached its timeout, is 
hereby closed approved.

    - Garrett

