From alan.coopersmith@sun.com Tue Apr  3 13:46:54 2007
Received: from jurassic.eng.sun.com (jurassic-226-a [129.146.226.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l33Kksmb026872
	for <PSARC-EXT@sac.sfbay.sun.com>; Tue, 3 Apr 2007 13:46:54 -0700 (PDT)
Received: from [129.146.108.211] (almas.SFBay.Sun.COM [129.146.108.211])
	by jurassic.eng.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l33KkNPk232531;
	Tue, 3 Apr 2007 13:46:23 -0700 (PDT)
Message-ID: <4612BD1F.7040702@sun.com>
Date: Tue, 03 Apr 2007 13:46:23 -0700
From: Alan Coopersmith <alan.coopersmith@sun.com>
User-Agent: Thunderbird 2.0pre (X11/20070214)
MIME-Version: 1.0
To: PSARC-EXT@sac.sfbay.sun.com, John Martin <John.M.Martin@sun.com>
Subject: PSARC 2007/196: gfx_private update to add devmap functions for Xen
 (Fasttrack timeout: 4/10/07)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Status: RO
Content-Length: 2617

I am sponsoring this case for John Martin, with a patch/micro release binding.
The timeout is set for Tuesday, April 10, 2007.

[Note to John: this case is sent to the Open PSARC alias, so all mail
  will be publically visible on opensolaris.org, so please don't mention
  any Partner NDA information in this thread.   I doubt we'll need any
  such information for this review, but if so, let me know and we'll
  handle that appropriately.]

	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


Template Version: @(#)sac_nextcase %I% %G% SMI

1. Introduction
     1.1. Project/Component Working Name:
          gfx_private update to add devmap functions for Xen
     1.2. Name of Document Author/Supplier:
          Author:  John Martin
     1.3  Date of This Document:
         23 March, 2007

4. Technical Description

Update of gfx_private misc module to add Xen support with new devmap functions
=================================================================

This project updates the graphics private misc module defined
by PSARC 2005/475.  It adds devmap functions needed by Xen
as Xen does not support the use of segmap.  The code delivered
for the case will be for i86pc only.  Xen support will be later
added as defined by PSARC 2006/260.

As segmap(9e) is obsolete, drivers using gfx_private should
be encouraged to switch from segmap to devmap anyway.  Xen just
makes this switch mandatory.

new devmap function details:
----------------------------

     void gfxp_map_devmem(devmap_cookie_t dhc, paddr_t paddr, size_t length,
         ddi_device_acc_attr_t *attrp);
           Substitute for devmap_devmem_setup().  Allows the driver
           to map a physical address rather than a register number + offset.
           Obsoletes gfxp_ddi_segmap_setup().

     paddr_t gfxp_convert_addr(paddr_t paddr);
           Looks up physical address.  For i86pc, just returns the PA.
           When Xen support is later added, dom0 translates the PA to MA,
           otherwise just returns the PA.

Interface Tables
================

Imported Interfaces:
--------------------
     None.  All the Xen interfaces are ON specific and will be added
     later under PSARC 2006/260.

Exported Interfaces:
--------------------
     gfxp_map_devmem();                  Contracted consolidation private
     gfxp_convert_addr();                Contracted 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


From sommerfeld@sun.com Wed Apr  4 08:50:33 2007
Received: from eastmail4bur.east.Sun.COM (eastmail4bur.East.Sun.COM [129.148.13.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34FoXF8019496
	for <PSARC-EXT@sac.sfbay.sun.com>; Wed, 4 Apr 2007 08:50:33 -0700 (PDT)
Received: from thunk.east.sun.com (thunk.East.Sun.COM [129.148.174.66])
	by eastmail4bur.east.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l34FnwE4002613;
	Wed, 4 Apr 2007 11:49:58 -0400 (EDT)
Received: from [IPv6:::1] (localhost [IPv6:::1])
	by thunk.east.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34Fnw6u009944;
	Wed, 4 Apr 2007 11:49:58 -0400 (EDT)
Subject: Re: PSARC 2007/196: gfx_private update to add devmap functions for
	Xen (Fasttrack timeout: 4/10/07)
From: Bill Sommerfeld <sommerfeld@sun.com>
To: Alan Coopersmith <alan.coopersmith@sun.com>
Cc: PSARC-EXT@sac.sfbay.sun.com, John Martin <John.M.Martin@sun.com>
In-Reply-To: <4612BD1F.7040702@sun.com>
References: <4612BD1F.7040702@sun.com>
Content-Type: text/plain
Date: Wed, 04 Apr 2007 11:49:57 -0400
Message-Id: <1175701797.9780.16.camel@thunk>
Mime-Version: 1.0
X-Mailer: Evolution 2.8.1.1 
Content-Transfer-Encoding: 7bit
Status: RO
Content-Length: 413

On Tue, 2007-04-03 at 13:46 -0700, Alan Coopersmith wrote:
> Exported Interfaces:
> --------------------
>      gfxp_map_devmem();                  Contracted consolidation private
>      gfxp_convert_addr();                Contracted consolidation private

I don't see any interface contracts or drafts in the case directory;
normally we need to see those before approving a Contracted interface.

					- Bill



From gww@eng.sun.com Wed Apr  4 09:14:57 2007
Received: from engmail3mpk.sfbay.Sun.COM (engmail3mpk.SFBay.Sun.COM [129.146.11.26])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34GEvHA020182
	for <PSARC-EXT@sac.sfbay.sun.com>; Wed, 4 Apr 2007 09:14:57 -0700 (PDT)
Received: from marduk.eng.sun.com (marduk.SFBay.Sun.COM [129.146.108.224])
	by engmail3mpk.sfbay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l34GEORS002685;
	Wed, 4 Apr 2007 09:14:24 -0700 (PDT)
Received: from marduk.eng.sun.com (localhost [127.0.0.1])
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11) with ESMTP id l34GFDnE015620;
	Wed, 4 Apr 2007 09:15:13 -0700 (PDT)
Received: (from gww@localhost)
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11/Submit) id l34GFDFW015619;
	Wed, 4 Apr 2007 09:15:13 -0700 (PDT)
Date: Wed, 4 Apr 2007 09:15:13 -0700 (PDT)
From: Gary Winiger <gww@eng.sun.com>
Message-Id: <200704041615.l34GFDFW015619@marduk.eng.sun.com>
To: alan.coopersmith@sun.com, sommerfeld@sun.com
Subject: Re: PSARC 2007/196: gfx_private update to add devmap functions for	Xen
 (Fasttrack timeout: 4/10/07)
Cc: PSARC-EXT@sac.sfbay.sun.com, John.M.Martin@sun.com
X-Sun-Charset: US-ASCII
Status: RO
Content-Length: 244

> I don't see any interface contracts or drafts in the case directory;
> normally we need to see those before approving a Contracted interface.


	This whole case directory seems broken  astat shows up a
	non-existing 2007/197 as well.

Gary..

From gww@eng.sun.com Wed Apr  4 09:25:05 2007
Received: from engmail3mpk.sfbay.Sun.COM (engmail3mpk.SFBay.Sun.COM [129.146.11.26])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34GP5Fb020573
	for <PSARC-EXT@sac.sfbay.sun.com>; Wed, 4 Apr 2007 09:25:05 -0700 (PDT)
Received: from marduk.eng.sun.com (marduk.SFBay.Sun.COM [129.146.108.224])
	by engmail3mpk.sfbay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l34GOW5Y003884;
	Wed, 4 Apr 2007 09:24:32 -0700 (PDT)
Received: from marduk.eng.sun.com (localhost [127.0.0.1])
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11) with ESMTP id l34GPLwv015670;
	Wed, 4 Apr 2007 09:25:21 -0700 (PDT)
Received: (from gww@localhost)
	by marduk.eng.sun.com (8.13.6+Sun/8.12.11/Submit) id l34GPLWC015669;
	Wed, 4 Apr 2007 09:25:21 -0700 (PDT)
Date: Wed, 4 Apr 2007 09:25:21 -0700 (PDT)
From: Gary Winiger <gww@eng.sun.com>
Message-Id: <200704041625.l34GPLWC015669@marduk.eng.sun.com>
To: alan.coopersmith@sun.com, sommerfeld@sun.com, gww@eng.sun.com
Subject: Re: PSARC 2007/196: gfx_private update to add devmap functions for	Xen
 (Fasttrack timeout: 4/10/07)
Cc: PSARC-EXT@sac.sfbay.sun.com, John.M.Martin@sun.com
X-Sun-Charset: US-ASCII
Status: RO
Content-Length: 145


> 	This whole case directory seems broken  astat shows up a
> 	non-existing 2007/197 as well.

	OOPS Bad sac mounts.  Seems better now.

Gary..

From alan.coopersmith@sun.com Wed Apr  4 09:30:54 2007
Received: from sfbaymail1sca.SFBay.Sun.COM (sfbaymail1sca.SFBay.Sun.COM [129.145.154.35])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34GUsSS021156
	for <PSARC-EXT@sac.sfbay.sun.com>; Wed, 4 Apr 2007 09:30:54 -0700 (PDT)
Received: from [192.168.0.101] (vpn-129-150-16-146.SFBay.Sun.COM [129.150.16.146])
	by sfbaymail1sca.SFBay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l34GUJEh004877;
	Wed, 4 Apr 2007 09:30:21 -0700 (PDT)
Message-ID: <4613D25A.7090502@sun.com>
Date: Wed, 04 Apr 2007 09:29:14 -0700
From: Alan Coopersmith <alan.coopersmith@sun.com>
User-Agent: Thunderbird 1.5.0.4 (X11/20060602)
MIME-Version: 1.0
To: Bill Sommerfeld <sommerfeld@sun.com>
CC: PSARC-EXT@sac.sfbay.sun.com, John Martin <John.M.Martin@sun.com>
Subject: Re: PSARC 2007/196: gfx_private update to add devmap functions for
 Xen (Fasttrack timeout: 4/10/07)
References: <4612BD1F.7040702@sun.com> <1175701797.9780.16.camel@thunk>
In-Reply-To: <1175701797.9780.16.camel@thunk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Status: RO
Content-Length: 754

Bill Sommerfeld wrote:
> On Tue, 2007-04-03 at 13:46 -0700, Alan Coopersmith wrote:
>> Exported Interfaces:
>> --------------------
>>      gfxp_map_devmem();                  Contracted consolidation private
>>      gfxp_convert_addr();                Contracted consolidation private
> 
> I don't see any interface contracts or drafts in the case directory;
> normally we need to see those before approving a Contracted interface.

The contracts would be identical to the existing ones between
PSARC 2005/475 (which exported the segmap versions of these
interfaces) and PSARC 2005/371, but I can't find those on sac.eng
off hand either.

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

From alan.coopersmith@sun.com Wed Apr  4 13:34:57 2007
Received: from jurassic.eng.sun.com (jurassic-226-a [129.146.226.31])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34KYvZi001794
	for <PSARC-EXT@sac.sfbay.sun.com>; Wed, 4 Apr 2007 13:34:57 -0700 (PDT)
Received: from [129.146.108.211] (almas.SFBay.Sun.COM [129.146.108.211])
	by jurassic.eng.sun.com (8.13.8+Sun/8.13.8) with ESMTP id l34KYMxs332134;
	Wed, 4 Apr 2007 13:34:22 -0700 (PDT)
Message-ID: <46140BCE.6080005@sun.com>
Date: Wed, 04 Apr 2007 13:34:22 -0700
From: Alan Coopersmith <alan.coopersmith@sun.com>
User-Agent: Thunderbird 2.0pre (X11/20070214)
MIME-Version: 1.0
To: PSARC-EXT@sac.sfbay.sun.com
CC: John Martin <John.M.Martin@sun.com>
Subject: Re: PSARC 2007/196: gfx_private update to add devmap functions for
 Xen (Fasttrack timeout: 4/10/07)
References: <4612BD1F.7040702@sun.com>
In-Reply-To: <4612BD1F.7040702@sun.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Status: RO
Content-Length: 334

Alan Coopersmith wrote:
> I am sponsoring this case for John Martin, with a patch/micro release 
> binding.
> The timeout is set for Tuesday, April 10, 2007.

This case was approved by PSARC during ARC business today.

-- 
	-Alan Coopersmith-           alan.coopersmith@sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


