From: "Pavel Matěja" <pavel@netsafe.cz>
To: xen-devel@lists.xensource.com
Subject: ioperm problem
Date: Sun, 13 Nov 2011 22:19:06 +0100 [thread overview]
Message-ID: <201111132219.07211.pavel@netsafe.cz> (raw)
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
next reply other threads:[~2011-11-13 21:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-13 21:19 Pavel Matěja [this message]
2011-11-16 14:57 ` ioperm problem 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111132219.07211.pavel@netsafe.cz \
--to=pavel@netsafe.cz \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).