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

[Xen-devel] ioperm problem


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Pavel MatÄja <pavel@xxxxxxxxxx>
  • Date: Sun, 13 Nov 2011 22:19:06 +0100
  • Delivery-date: Sun, 13 Nov 2011 13:20:28 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,
I'm trying to port AMD VGA passthru patch to the latest XEN and vanila kernel 
and I got SIGSEGV in

static void ati_hw_out(uint16_t hport, uint32_t data)
{
    ioperm(gfx_info.host_pio_base, gfx_info.pio_size, 1);    
    asm volatile ("out %1, %0"::"Nd"(hport),"a"(data));
    ioperm(gfx_info.host_pio_base, gfx_info.pio_size, 0);
}

I tried old 2.6.32 XEN kernel and there is no such problem.
It looks related to arch/x86/kernel/ioport.c but I'm not sure.
Is anyone here familiar with that code?
-- 
Pavel Mateja

_______________________________________________
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®.