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

RE: [Xen-devel] OpenIPMI on dom0


  • To: "Andrew D. Ball" <aball@xxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

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