Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2022-01-09 Thread Yann Dirson
Alex wrote: > On Thu, Jan 6, 2022 at 10:38 AM Yann Dirson wrote: > > > > Alex wrote: > > > > How is the stolen memory communicated to the driver ? That > > > > host > > > > physical > > > > memory probably has to be mapped at the same guest physical > > > > address > > > > for > > > > the magic t

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2022-01-06 Thread Alex Deucher
On Thu, Jan 6, 2022 at 10:38 AM Yann Dirson wrote: > > Alex wrote: > > > How is the stolen memory communicated to the driver ? That host > > > physical > > > memory probably has to be mapped at the same guest physical address > > > for > > > the magic to work, right ? > > > > Correct. The driver

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2022-01-06 Thread Yann Dirson
Alex wrote: > > How is the stolen memory communicated to the driver ? That host > > physical > > memory probably has to be mapped at the same guest physical address > > for > > the magic to work, right ? > > Correct. The driver reads the physical location of that memory from > hardware registers

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Alex Deucher
gt; > > > > > > > > > > > > > > - Mail original - > > > > > > De: "Alex Deucher" > > > > > > À: "Yann Dirson" > > > > > > Cc: "Christian König" , > &g

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Yann Dirson
t; > > > De: "Alex Deucher" > > > > > À: "Yann Dirson" > > > > > Cc: "Christian König" , > > > > > "amd-gfx list" > > > > > Envoyé: Mardi 21 Décembre 2021 23:31:01 >

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Alex Deucher
> > À: "Yann Dirson" > > > > Cc: "Christian König" , > > > > "amd-gfx list" > > > > Envoyé: Mardi 21 Décembre 2021 23:31:01 > > > > Objet: Re: Various problems trying to vga-passthrough a Renoir > > > > iGPU to a x

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-29 Thread Yann Dirson
-gfx list" > > > Envoyé: Mardi 21 Décembre 2021 23:31:01 > > > Objet: Re: Various problems trying to vga-passthrough a Renoir > > > iGPU to a xen/qubes-os hvm > > > > > > On Tue, Dec 21, 2021 at 5:12 PM Yann Dirson > > > wrote: > > &

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-22 Thread Alex Deucher
On Tue, Dec 21, 2021 at 6:09 PM Yann Dirson wrote: > > > > - Mail original - > > De: "Alex Deucher" > > À: "Yann Dirson" > > Cc: "Christian König" , "amd-gfx list" > > > > Envoyé: Mardi 21 Décembre 202

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-21 Thread Yann Dirson
- Mail original - > De: "Alex Deucher" > À: "Yann Dirson" > Cc: "Christian König" , "amd-gfx list" > > Envoyé: Mardi 21 Décembre 2021 23:31:01 > Objet: Re: Various problems trying to vga-passthrough a Renoir iGPU to a &g

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-21 Thread Alex Deucher
On Tue, Dec 21, 2021 at 5:12 PM Yann Dirson wrote: > > > Alex wrote: > > > > On Sun, Dec 19, 2021 at 11:41 AM Yann Dirson wrote: > > > > > > Christian wrote: > > > > Am 19.12.21 um 17:00 schrieb Yann Dirson: > > > > > Alex wrote: > > > > >> Thinking about this more, I think the problem might be r

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-21 Thread Yann Dirson
Alex wrote: > > On Sun, Dec 19, 2021 at 11:41 AM Yann Dirson wrote: > > > > Christian wrote: > > > Am 19.12.21 um 17:00 schrieb Yann Dirson: > > > > Alex wrote: > > > >> Thinking about this more, I think the problem might be related > > > >> to > > > >> CPU > > > >> access to "VRAM". APUs don'

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-21 Thread Alex Deucher
On Sun, Dec 19, 2021 at 11:41 AM Yann Dirson wrote: > > Christian wrote: > > Am 19.12.21 um 17:00 schrieb Yann Dirson: > > > Alex wrote: > > >> Thinking about this more, I think the problem might be related to > > >> CPU > > >> access to "VRAM". APUs don't have dedicated VRAM, they use a > > >> r

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-19 Thread Yann Dirson
Christian wrote: > Am 19.12.21 um 17:00 schrieb Yann Dirson: > > Alex wrote: > >> Thinking about this more, I think the problem might be related to > >> CPU > >> access to "VRAM". APUs don't have dedicated VRAM, they use a > >> reserved > >> carve out region at the top of system memory. For CPU a

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-19 Thread Christian König
Am 19.12.21 um 17:00 schrieb Yann Dirson: Alex wrote: Thinking about this more, I think the problem might be related to CPU access to "VRAM". APUs don't have dedicated VRAM, they use a reserved carve out region at the top of system memory. For CPU access to this memory, we kmap the physical ad

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-19 Thread Yann Dirson
Alex wrote: > Thinking about this more, I think the problem might be related to CPU > access to "VRAM". APUs don't have dedicated VRAM, they use a > reserved > carve out region at the top of system memory. For CPU access to this > memory, we kmap the physical address of the carve out region of >

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-15 Thread Alex Deucher
Thinking about this more, I think the problem might be related to CPU access to "VRAM". APUs don't have dedicated VRAM, they use a reserved carve out region at the top of system memory. For CPU access to this memory, we kmap the physical address of the carve out region of system memory. You'll n

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-13 Thread Alex Deucher
On Sun, Dec 12, 2021 at 5:19 PM Yann Dirson wrote: > > Alex wrote: > > On Mon, Dec 6, 2021 at 4:36 PM Yann Dirson wrote: > > > > > > Hi Alex, > > > > > > > We have not validated virtualization of our integrated GPUs. I > > > > don't > > > > know that it will work at all. We had done a bit of te

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-12 Thread Yann Dirson
Alex wrote: > On Mon, Dec 6, 2021 at 4:36 PM Yann Dirson wrote: > > > > Hi Alex, > > > > > We have not validated virtualization of our integrated GPUs. I > > > don't > > > know that it will work at all. We had done a bit of testing but > > > ran > > > into the same issues with the PSP, but never

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-09 Thread Alex Deucher
On Wed, Dec 8, 2021 at 5:50 PM Yann Dirson wrote: > > Hi Alex, > > > > > On Mon, Dec 6, 2021 at 4:36 PM Yann Dirson wrote: > > > > > > Hi Alex, > > > > > > > We have not validated virtualization of our integrated GPUs. I > > > > don't > > > > know that it will work at all. We had done a bit of

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-08 Thread Yann Dirson
Hi Alex, > > On Mon, Dec 6, 2021 at 4:36 PM Yann Dirson wrote: > > > > Hi Alex, > > > > > We have not validated virtualization of our integrated GPUs. I > > > don't > > > know that it will work at all. We had done a bit of testing but > > > ran > > > into the same issues with the PSP, but neve

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-06 Thread Alex Deucher
On Mon, Dec 6, 2021 at 4:36 PM Yann Dirson wrote: > > Hi Alex, > > > We have not validated virtualization of our integrated GPUs. I don't > > know that it will work at all. We had done a bit of testing but ran > > into the same issues with the PSP, but never had a chance to debug > > further bec

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-06 Thread Yann Dirson
Hi Alex, > We have not validated virtualization of our integrated GPUs. I don't > know that it will work at all. We had done a bit of testing but ran > into the same issues with the PSP, but never had a chance to debug > further because this feature is not productized. ... > You need a functiona

Re: Various problems trying to vga-passthrough a Renoir iGPU to a xen/qubes-os hvm

2021-12-06 Thread Alex Deucher
On Sat, Nov 27, 2021 at 11:28 AM wrote: > > Hello, > > Xen passthrough of a boot GPU those days (at least in the small QubesOS world) > is mostly tested/documented for Intel iGPUs (or I missed something). > I've been trying to do that with a Renoir GPU (for context, the goal is > to have a xen dom