From: David TECHER <davidtecher@yahoo.fr>
To: komkon555 <komkon555@freenet.de>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re : Re : Re: Patches for VGA-Passthrough XEN 4.2 unstable
Date: Wed, 7 Sep 2011 10:52:18 +0100 (BST) [thread overview]
Message-ID: <1315389138.56652.YahooMailNeo@web29801.mail.ird.yahoo.com> (raw)
In-Reply-To: <1315382742268-4777689.post@n5.nabble.com>
[-- Attachment #1.1: Type: text/plain, Size: 4165 bytes --]
Well it is very simple :)
I will show your a example
You have to replace the required ranges in for the 4 "ranges"; So this is the info you've sent to me
1 --------> pci 0000:08:00.0: reg 10 32bit mmio: [0xf8000000-0xf8ffffff]
2 --------> pci 0000:08:00.0: reg 14 64bit mmio pref: [0xd0000000-0xdfffffff]
3 --------> pci 0000:08:00.0: reg 1c 64bit mmio: [0xf6000000-0xf7ffffff]
4 --------> pci 0000:08:00.0: reg 30 32bit mmio pref: [0xf5f80000-0xf5ffffff]
I will do it for the number 1
1) You will have replace the required values in tools/firmware/hvmloader/acpi/dsdt.asl
Search for the words "/* reserve MMIO BARs of gfx for 1:1 mapping */" in the file
and the first block AFTER need to be change like that
Here the reference is
"pci 0000:08:00.0: reg 10 32bit mmio: [0xf8000000-0xf8ffffff]"
---------------------------------------------------------------------
"/* reserve MMIO BARs of gfx for 1:1 mapping */
DWordMemory(
ResourceProducer, PosDecode, MinFixed, MaxFixed,
Cacheable, ReadWrite,
0x00000000,
0xF8000000, // the min value in hexadecimal, I modify it here
0xF8FFFFFF, // the max value in hexadecimal I midify it here
0x00000000,
???????????) // value = max - min + 1 in hexadecimal value, I need to find it
---------------------------------------------------------------------------
You need to convert the min and the max and do the conversion
For hexadecimal/decimal conversions, go to a site like http://www.statman.info/conversions/hexadecimal.html for doing conversion
For min and max values, you will have (enter the value without
"0x" on the site I told you, feel the field "Convert", click on "to
decimal")
Hex Dec
F8000000 4160749568
F8FFFFFF 4177526783
So 4177526783 - 4160749568 +1 = 16777216
So 16777216 is 1000000 in hexadecimal
As a consequence for
pci 0000:08:00.0: reg 10 32bit mmio: [0xf8000000-0xf8ffffff]
you will have
------------------------------------------------------------------------
"/* reserve MMIO BARs of gfx for 1:1 mapping */
DWordMemory(
ResourceProducer, PosDecode, MinFixed, MaxFixed,
Cacheable, ReadWrite,
0x00000000,
0xF8000000, // the min value in hexadecimal
0xF8FFFFFF, // the max value in hexadecimal
0x00000000,
0x01000000) // value = max - min + 1 in hexadecimal value
----------------------------------------------------------------------------
Do the same steps for
2 --------> pci 0000:08:00.0: reg 14 64bit mmio pref: [0xd0000000-0xdfffffff]
3 --------> pci 0000:08:00.0: reg 1c 64bit mmio: [0xf6000000-0xf7ffffff]
4 --------> pci 0000:08:00.0: reg 30 32bit mmio pref: [0xf5f80000-0xf5ffffff]
That's all!
Ensure to put you vgabios-pt.bin in the required place.
Compil and install.
My graphic card GT 440 works like a charm with nvidia 275.33.
I've tried you 280.26 nvidia drivers but without any success. This
driver version requires more ressoures.
The GPLPV drivers for HVM works well too!
________________________________
De : komkon555 <komkon555@freenet.de>
À : xen-devel@lists.xensource.com
Envoyé le : Mercredi 7 Septembre 2011 10h05
Objet : Re: Re : [Xen-devel] Re: Patches for VGA-Passthrough XEN 4.2 unstable
Hallo. Can you please explain, what is exactly to do with dsd. I don't
understand it. Which entrance are what for?
Thank you.
--
View this message in context: http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unstable-tp4406265p4777689.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 6558 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2011-09-07 9:52 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 11:47 Patches for VGA-Passthrough XEN 4.2 unstable JavMV
2011-05-23 10:48 ` Stefano Stabellini
2011-05-23 12:35 ` Pasi Kärkkäinen
2011-05-23 12:49 ` Pavel Mateja
2011-05-30 10:53 ` JavMV
2011-05-31 12:10 ` JavMV
2011-06-23 19:18 ` JavMV
2011-06-27 15:33 ` Konrad Rzeszutek Wilk
2011-06-27 15:42 ` JavMV
[not found] ` <1312297850948-4659036.post@n5.nabble.com>
2011-08-30 10:21 ` komkon555
2011-08-30 13:55 ` JavMV
2011-08-30 15:00 ` komkon555
2011-08-30 16:06 ` JavMV
2011-08-31 8:16 ` komkon555
2011-08-31 8:38 ` Pasi Kärkkäinen
2011-08-31 8:49 ` komkon555
2011-08-31 12:56 ` komkon555
2011-08-31 15:19 ` Pasi Kärkkäinen
2011-09-05 14:02 ` David TECHER
2011-09-06 11:57 ` komkon555
2011-09-06 21:17 ` Re : " David TECHER
2011-09-07 8:05 ` komkon555
2011-09-07 9:45 ` David TECHER
2011-09-07 9:52 ` David TECHER [this message]
2011-09-07 12:26 ` Re : " komkon555
2011-09-07 12:51 ` Re : " David TECHER
2011-09-07 18:52 ` Konrad Rzeszutek Wilk
2011-09-07 19:57 ` Re : " David TECHER
2011-09-09 1:45 ` Weidong Han
2011-09-09 8:07 ` komkon555
2011-09-07 13:25 ` komkon555
2011-09-07 13:54 ` JavMV
2011-09-07 14:22 ` Re : " David TECHER
2011-09-07 14:32 ` komkon555
2011-09-07 15:22 ` JavMV
2011-09-07 16:21 ` komkon555
2011-09-07 16:25 ` Re : " David TECHER
2011-09-09 7:54 ` komkon555
2011-09-09 12:29 ` JavMV
2011-09-09 13:28 ` Pasi Kärkkäinen
2011-09-09 16:09 ` Wei Huang
2011-09-09 19:56 ` Re : " David TECHER
2011-09-10 10:27 ` Pasi Kärkkäinen
2011-09-21 13:44 ` JavMV
2011-09-21 13:56 ` komkon555
2011-09-21 14:08 ` JavMV
2011-09-21 14:24 ` JavMV
2011-09-21 14:32 ` komkon555
2011-09-21 14:40 ` komkon555
2011-09-21 14:47 ` komkon555
2011-09-21 14:52 ` JavMV
2011-09-21 15:13 ` Re : " David TECHER
2011-09-22 12:15 ` JavMV
2011-09-22 12:45 ` komkon555
2011-09-22 12:55 ` JavMV
2011-09-22 17:41 ` JavMV
2011-09-22 18:27 ` Pasi Kärkkäinen
2011-09-22 21:54 ` JavMV
2011-09-23 11:34 ` JavMV
2011-09-23 14:00 ` JavMV
2011-09-23 14:52 ` JavMV
2011-09-23 15:12 ` komkon555
2011-09-23 17:21 ` Pasi Kärkkäinen
2011-10-15 10:00 ` David TECHER
2011-10-26 11:54 ` Zoltan Hubai
2011-10-26 13:35 ` Re : " David TECHER
2011-10-27 5:58 ` Zoltan Hubai
2011-10-27 10:14 ` Re : " David TECHER
2011-12-05 22:26 ` n4rC0t1C
2011-12-06 11:22 ` Re : " David TECHER
2011-12-06 12:04 ` n4rC0t1C
2011-12-06 13:57 ` Re : " David TECHER
2011-12-06 15:19 ` Tobias Geiger
2011-12-06 15:56 ` Re : " David TECHER
2011-12-06 22:28 ` David TECHER
2011-12-07 11:01 ` n4rC0t1C
2011-12-07 11:44 ` Tobias Geiger
2011-12-10 8:12 ` Sythrar
2011-12-10 12:29 ` n4rC0t1C
2011-12-13 21:03 ` Sythrar
2011-12-14 9:43 ` Tobias Geiger
2011-12-14 13:37 ` n4rC0t1C
2012-02-16 13:38 ` Jamesffs
2012-02-17 8:34 ` Tobias Geiger
2012-02-17 11:32 ` Jamesffs
2012-02-17 16:19 ` Tobias Geiger
2012-02-20 11:55 ` Jamesffs
2012-02-20 12:16 ` Jamesffs
2012-02-20 13:32 ` Tobias Geiger
2011-12-10 12:29 ` n4rC0t1C
2011-09-09 11:31 ` Liwei
2011-09-09 16:17 ` Wei Huang
2011-09-09 16:42 ` Liwei
2011-09-12 12:49 ` Tobias Geiger
2012-01-05 23:15 ` romihs
2012-01-06 1:13 ` n4rC0t1C
2012-01-06 14:23 ` Re : " David TECHER
2012-01-06 16:22 ` -+= Lta =+-
2012-01-06 16:34 ` n4rC0t1C
2012-01-06 16:51 ` -+= Lta =+-
2012-01-06 16:58 ` Re : " David TECHER
2012-01-06 17:00 ` David TECHER
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=1315389138.56652.YahooMailNeo@web29801.mail.ird.yahoo.com \
--to=davidtecher@yahoo.fr \
--cc=komkon555@freenet.de \
--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 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.