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

[Xen-devel] ioperm problem

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] ioperm problem
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
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Netsafe Solutions s.r.o.
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.7 (Linux/3.0.0-2-amd64; KDE/4.6.5; x86_64; ; )
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

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