* Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
@ 2009-10-02 19:50 Boris Derzhavets
2009-10-02 21:07 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 4+ messages in thread
From: Boris Derzhavets @ 2009-10-02 19:50 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: dri-devel, xen-devel, JBeulich, Konrad Rzeszutek Wilk
[-- Attachment #1.1: Type: text/plain, Size: 2555 bytes --]
Done via "git pull" for another close enough "linux-2.6-xen" clone :-
# git pull
# git checkout xen/master
# git log
commit 2a65ac0eea618596fb19a4ee36f8a4463aadad3d
Merge: 4907e6c... f68aa6d...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Fri Oct 2 11:42:04 2009 -0700
Merge branch 'xen/dom0/drm' into xen/master
* xen/dom0/drm:
drm: free vmalloc dma memory properly
drm: make sure all pages in vmalloc area are really DMA-ready
drm: recompute vma->vm_page_prot after changing vm_flags
commit f68aa6d4b10c84e5674aa4301623616f72e5b8a7
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Fri Oct 2 11:31:39 2009 -0700
drm: free vmalloc dma memory properly
Having allocated pages with drm_alloc_coherent, we need to free them with
drm_free_coherent. We're still not preserving the bus addresses so
we're hoping the backend dma_ops implementation can cope with the ones
we're making up.
Derived from patch by Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
commit 93e7c3850b8431e19c9cba91413066bfd2360671
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: Fri Oct 2 11:16:09 2009 -0700
drm: make sure all pages in vmalloc area are really DMA-ready
Under Xen, vmalloc_32() isn't guaranteed to return pages which are really
under 4G in machine physical addresses (only in virtual pseudo-physical
addresses). To work around this, implement a vmalloc variant which
allocates each page with dma_alloc_coherent() to guarantee that each
page is suitable for the device in question.
. . . . . . .
Boris
--- On Fri, 10/2/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800)
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com, JBeulich@novell.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Date: Friday, October 2, 2009, 2:42 PM
On 10/02/09 10:23, Boris Derzhavets wrote:
> Jeremy,
> Please, be aware of bugzilla.xensource.com [1519] the most recent
> entries :-
>
> http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1519
>
Ah, OK. I pushed a variant of Konrad's patches. Could you try them out?
Thanks,
J
[-- Attachment #1.2: Type: text/html, Size: 3580 bytes --]
[-- Attachment #2: dmesg.jeremy.gz --]
[-- Type: application/x-gzip, Size: 13621 bytes --]
[-- Attachment #3: config.radeon.gz --]
[-- Type: application/x-gzip, Size: 24101 bytes --]
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
2009-10-02 19:50 Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF Boris Derzhavets
@ 2009-10-02 21:07 ` Jeremy Fitzhardinge
2009-10-03 7:20 ` Boris Derzhavets
0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-02 21:07 UTC (permalink / raw)
To: Boris Derzhavets; +Cc: dri-devel, xen-devel, JBeulich, Konrad Rzeszutek Wilk
On 10/02/09 12:50, Boris Derzhavets wrote:
> Done via "git pull" for another close enough "linux-2.6-xen" clone :-
> # git pull
> # git checkout xen/master
> # git log
>
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
2009-10-02 21:07 ` Jeremy Fitzhardinge
@ 2009-10-03 7:20 ` Boris Derzhavets
2009-10-03 9:26 ` Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11 Boris Derzhavets
0 siblings, 1 reply; 4+ messages in thread
From: Boris Derzhavets @ 2009-10-03 7:20 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: dri-devel, xen-devel, JBeulich, Konrad Rzeszutek Wilk
[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]
Yes, it works.
root@ServerXen35:~# cat /proc/mtrr
reg00: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: uncachable
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg02: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
reg03: base=0x200000000 ( 8192MB), size= 512MB, count=1: write-back
reg04: base=0x220000000 ( 8704MB), size= 256MB, count=1: write-back
Boris.
--- On Fri, 10/2/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com, JBeulich@novell.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Date: Friday, October 2, 2009, 5:07 PM
On 10/02/09 12:50, Boris Derzhavets wrote:
> Done via "git pull" for another close enough "linux-2.6-xen" clone :-
> # git pull
> # git checkout xen/master
> # git log
>
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 1991 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11
2009-10-03 7:20 ` Boris Derzhavets
@ 2009-10-03 9:26 ` Boris Derzhavets
0 siblings, 0 replies; 4+ messages in thread
From: Boris Derzhavets @ 2009-10-03 9:26 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: xen-devel, Konrad Rzeszutek Wilk
[-- Attachment #1.1: Type: text/plain, Size: 2479 bytes --]
I've also attempted to activate DRM for Radeon in kernel 2.6.31.1 ( the most recent) under Xen 3.4.1 & Libvirt 0.7.1-8 on top of F11 and lost GDM login at all.
Switching /etc/inittab to initdefault 3 also doesn't allow to login in text mode.
Disabling DRM ( rescue mode kernel rebuild) brings things back to usual behaviour. X-Server just starts , no matter of DRM status ( vs Ubuntu 9.04 Server)
Boris.
--- On Sat, 10/3/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote:
From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Jeremy Fitzhardinge" <jeremy@goop.org>
Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com, JBeulich@novell.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Date: Saturday, October 3, 2009, 3:20 AM
Yes, it works.
root@ServerXen35:~# cat /proc/mtrr
reg00: base=0x0d0000000 ( 3328MB), size= 256MB, count=1: uncachable
reg01: base=0x0e0000000 ( 3584MB), size= 512MB, count=1: uncachable
reg02: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
reg03: base=0x200000000 ( 8192MB), size= 512MB, count=1: write-back
reg04: base=0x220000000 ( 8704MB), size= 256MB, count=1: write-back
Boris.
--- On Fri, 10/2/09, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
From: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
To: "Boris
Derzhavets" <bderzhavets@yahoo.com>
Cc: dri-devel@lists.sourceforge.net, xen-devel@lists.xensource.com, JBeulich@novell.com, "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Date: Friday, October 2, 2009, 5:07 PM
On 10/02/09 12:50, Boris Derzhavets wrote:
> Done via "git pull" for another close enough "linux-2.6-xen" clone :-
> # git pull
> # git checkout xen/master
> # git log
>
So you're saying it works? I didn't see anything bad in the dmesg output.
If it is working, what does /proc/mtrr say?
Thanks,
J
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 3778 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-03 9:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 19:50 Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF Boris Derzhavets
2009-10-02 21:07 ` Jeremy Fitzhardinge
2009-10-03 7:20 ` Boris Derzhavets
2009-10-03 9:26 ` Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11 Boris Derzhavets
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.