[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH][VT]vga acceleration for cirrus logic device model


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
  • Date: Fri, 23 Sep 2005 17:53:44 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 23 Sep 2005 09:51:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcXAImbAQQo+dmvXRKmoppGvDsli0wAAA9jg
  • Thread-topic: [Xen-devel] [PATCH][VT]vga acceleration for cirrus logic device model

Keir Fraser wrote:
> On 23 Sep 2005, at 10:25, Jiang, Yunhong wrote:
> 
>> This patch add VGA acceleration support for cirrus logic device
>> model. It works on 32 guest under 32/64 host env.
> 
> Why do you modify xc_vmx_build to unconditionally fill in all 4
> entries of the PAE PDPT?
> 
>   -- Keir

Currently on xc_vmx_build, the page_array is used as following , assume
the memory is 128M:
the first one used for l3 table.
the second one will be used for l2 table.
the third one and following will be used for l1 table.

When we setup the memory mapping for cirrus logic, it is on high end
memory and will not be on the first l2 table.
At that time, we have two options:
1) Using this patch, setup the l2 table unconditionally on xc_vmx_build.
2) Re-caculating the page array usage, and caculating which page can be
used for the l2 table.

I select the option 1 because, the second method will makes the l2 table
scattered. While with option 1, the page array usage will be clear, at
least will be helpful for debug , for example,  we can caculate the 1:1
page table more easily as following :-)
first one for l3 table
followed 4 (or 1 when 2 level) for l2 table
followed is l1 table.

So how is you opinion? Maybe I should split that part as a seperated
patch, although it is caused by the vga acceleration change.

Thanks
Yunhong Jiang



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.