[Xen-devel] ioperm problem

Pavel Matěja
Sun, 13 Nov 2011 21:19:06 -0000

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