Boris Derzhavets
2009-Oct-02 19:50 UTC
Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2009-Oct-02 21:07 UTC
Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
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
Boris Derzhavets
2009-Oct-03 07:20 UTC
Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . Test commited for JF
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Oct-03 09:26 UTC
Re: [Xen-devel] Re: ATI radeon fails with "iommu=soft swiotlb=force" (seen on RV730/RV740 and RS780/RS800) . DRM for Radeon 4650 on F11
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel