xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* ioperm problem
@ 2011-11-13 21:19 Pavel Matěja
  2011-11-16 14:57 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Matěja @ 2011-11-13 21:19 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-18  8:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-13 21:19 ioperm problem Pavel Matěja
2011-11-16 14:57 ` Konrad Rzeszutek Wilk
2011-11-17 13:56   ` Ben Guthro
2011-11-17 17:30     ` Konrad Rzeszutek Wilk
2011-11-17 17:37       ` Alan Cox
2011-11-17 18:05       ` Jeremy Fitzhardinge
2011-11-17 20:29         ` Konrad Rzeszutek Wilk
2011-11-17 22:20         ` Ben Guthro
2011-11-18  8:13       ` Pavel Matěja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).