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] OpenIPMI on dom0

To: "Andrew D. Ball" <aball@xxxxxxxxxx>
Subject: RE: [Xen-devel] OpenIPMI on dom0
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 14 Nov 2005 14:10:14 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 Nov 2005 14:10:21 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXpA5yNdw37BXJQRrKhQ0cJrwcOdQAIHk4g
Thread-topic: [Xen-devel] OpenIPMI on dom0
> This may not be the best approach though, since the IPMI 
> drivers are not already patched for Xen and presumably 
> isa_memcpy_fromio() is a reasonable way to read memory in the 
> 0xf0000-0xfffff region.
> 
> Why does isa_memcpy_fromio() not produce identical results 
> for the reserved 0xf0000-0xfffff section of memory in dom0 
> and in a vanilla Linux 2.6.12.6 kernel?

Try changing ISA_IO_BASE in include/asm-xen/asm-i386/io.h to

#define __ISA_IO_base ((char __iomem *)(fix_to_virt(FIX_ISAMAP_BEGIN))

It's arguable that we'd be better off maping the bottom 1MB of machine
memory at PAGE_OFFSET rather than a fixmap as this would mean fewer
Linux changes...

Ian

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

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