From: Alex Williamson <alex.williamson@hp.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-ia64-devel@lists.xensource.com,
xen-devel@lists.xensource.com,
Hollis Blanchard <hollisb@us.ibm.com>,
xen-ppc-devel@lists.xensource.com
Subject: Re: Re: [XenPPC] [PATCH] [POWERPC] fix vga.c compilation
Date: Wed, 16 Aug 2006 07:59:39 -0600 [thread overview]
Message-ID: <1155736779.8015.14.camel@lappy> (raw)
In-Reply-To: <C108B6C7.F2E%Keir.Fraser@cl.cam.ac.uk>
On Wed, 2006-08-16 at 11:49 +0100, Keir Fraser wrote:
> Here you go. Arch/powerpc/vga.c isn't great but I assume it's
> temporary
> until vga support is fixed properly.
>
> If you think it looks okay I'll apply it. Also Sign-off or Ack if you
> like.
Hi Keir,
In general this looks a lot better, but I think ia64 is still going
to have trouble with the chunk below. It seems that a VGA card
operating in a standard text mode doesn't necessarily respond to all of
these addresses. On some ia64 platforms that causes a hard fail
response (the bus goes fatal and a reboot follows). On my system, the
0xB8000 test looks like it will probably work, but we never get there
because either the 0xA0000 or the 0xB0000 test will cause the hardfail.
Do we need to poke the card through I/O port space to get it into the
right mode before probing it in MMIO space? I don't know enough about
the VGA programming model to be able to do that. The card works once we
start talking to it correctly, but this probe is a little too brute
force. Thanks,
Alex
> +
> + p = ioremap(0xA0000, 0x1000);
> + detected = detect_video(p);
> + iounmap(p);
> + if ( detected )
> + return 1;
> +
> + p = ioremap(0xB0000, 0x1000);
> + detected = detect_video(p);
> + iounmap(p);
> + if ( detected )
> + return 1;
> +
> + p = ioremap(0xB8000, 0x1000);
> + detected = detect_video(p);
> + iounmap(p);
> + if ( detected )
> + return 1;
> +
--
Alex Williamson HP Open Source & Linux Org.
next prev parent reply other threads:[~2006-08-16 13:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 23:08 [PATCH] [POWERPC] fix vga.c compilation Hollis Blanchard
2006-08-16 0:03 ` Alex Williamson
2006-08-16 0:30 ` [XenPPC] " Hollis Blanchard
2006-08-16 9:15 ` Keir Fraser
2006-08-16 10:49 ` Keir Fraser
2006-08-16 13:59 ` Alex Williamson [this message]
2006-08-16 14:24 ` [Xen-devel] " Keir Fraser
2006-08-16 14:48 ` Re: [XenPPC] " Alex Williamson
2006-08-16 15:35 ` Hollis Blanchard
2006-08-16 15:40 ` [Xen-devel] " Keir Fraser
2006-08-16 16:10 ` Hollis Blanchard
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=1155736779.8015.14.camel@lappy \
--to=alex.williamson@hp.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=hollisb@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ia64-devel@lists.xensource.com \
--cc=xen-ppc-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.