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

[Xen-devel] Re: clear_IO_APIC() et al

To: Jan Beulich <JBeulich@xxxxxxxxxx>, <alex.williamson@xxxxxx>
Subject: [Xen-devel] Re: clear_IO_APIC() et al
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Tue, 16 Aug 2011 09:25:20 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 16 Aug 2011 01:26:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=AT3WRk29EKHjNFZyes9NewOVrt97o+lAU4NdiUqTM4A=; b=jf31H47hPa2GGLLpYTSus8n3kIeIsbeVB7b4p6m6wEBibpjD+gAp8yh89POYnnOpXb 4r3HaS9fddxq3EhzWUCIMidoJYOjsTGTayCls1Um9hblSpkx563wFAdbGRNzIkBgJNLL AIKhqlyXQiw5B4Qvy1AgpX0LRcgs3tWhxS4Ao=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E4A3C6C020000780005166E@xxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acxb7gkaCs7lDluUPk2rjFs8h2elPA==
Thread-topic: clear_IO_APIC() et al
User-agent: Microsoft-Entourage/12.30.0.110427
On 16/08/2011 08:46, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> In c/s 20650:b543acc1aaad you made clear_IO_APIC() call both
> clear_IO_APIC_pin() and clear_IO_APIC_raw(), and I don't really
> follow why the former would be necessary here - the only code
> paths we care about are boot and shutdown/crash, and hence
> all we want is clearing the actual IO-APIC RTEs (without regard
> to interrupt re-mapping).
> 
> Furthermore, even clear_IO_APIC_pin() is only called during early
> boot, so it would seem to me that we should only need the "raw"
> variant.
> 
> The context of the question is the need to add some extra code
> here to clear the remoteIRR bit if still set (e.g. during a crash), as
> that bit remaining set can otherwise lead to later confusion (during
> crash handling in the secondary kernel, and when booted through
> kexec in Xen itself).

I think Alex is @ Red Hat now, so unlikely to be of help here. You can feel
free to propose whatever fixups and cleanups you like on that function.

 -- Keir

> Jan
> 



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

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