WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: APIC rework

To: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: APIC rework
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 16 Nov 2009 10:37:52 -0800
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Mon, 16 Nov 2009 10:38:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <706158FABBBA044BAD4FE898A02E4BC201CD3201A3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4AFDF254.7070407@xxxxxxxx> <C724151D.1A1B4%keir.fraser@xxxxxxxxxxxxx> <706158FABBBA044BAD4FE898A02E4BC201CD3201A3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4
On 11/16/09 02:38, Zhang, Xiantao wrote:
> Hi, Keir/Jeremy
>    After you picking the two patches into upstream, we found it may break old 
> dom0 when assigned a level-triggered devices to a HVM domain.  The casue is 
> that, old dom0 can't provide trigger mode and polarity when they do 
> map_domain_pirq.  In attached patches, they introduce a bit to indicate 
> whether old dom0 or not.  
>
> xen-introduce-a-bit-to-identify-dom0-type.patch:  for hypervisor. 
> 0001-x86-Introduce-a-bit-MAP_COMPAT-mode-for-MAP_PIRQ_TY.patch: for pv ops 
> dom0. 
>   

Is there any way for the dom0 kernel to tell whether the hypervisor is
implementing the new ABI, so it can choose how to set up interrupts.

MAP_COMPAT_BIT doesn't seem like a very good name, because it implies
that setting it reverts to "compatible" behaviour.  I assume that
leaving it clear enables the historical behaviour and setting it enables
the new one (since old kernels won't be setting it).

    J
> Xiantao
>
>
> Keir Fraser wrote:
>   
>> On 13/11/2009 23:57, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:
>>
>>     
>>>> Sure, I'll check it in.
>>>>
>>>>         
>>> How would you feel about backporting this into a stable release?  If
>>> we start using this interrupt setup mechanism it will be a
>>> red-letter day for dom0/xen compatibility.
>>>       
>> There probably won't be another stable release until 4.0 now. There
>> will be a 3.4.3 about the same time though.
>>
>>  -- Keir
>>     
>   


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

<Prev in Thread] Current Thread [Next in Thread>