Hi all,

Attached are the HCL results of my Ryzen system.

It did NOT work out of the box on Qubes - IOMMU was not available. However, 
Ubuntu stated it's working (BIOS IOMMU looks great) so I played around a bit.

Basically, two things are needed for working IOMMU in Xen used by Qubes:
1) Update Xen with an IOMMU patch from AMD
2) Update Xen with family 17h == Ryzen

For step 1): Apply this patch (part or Xen 4.8.0): 
https://patchwork.kernel.org/patch/9145119/

For step 2): xen/arch/x86/oprofile/nmi_int.c - Create a "case 0x17:" entry 
which is the same as "case 0x15:"

I installed Qubes, then proceeded as described to compile Qubes from scratch. 
Before I did "make vmm-xen" I changed the above files within the xen*.gz file. 
After that, I moved the files to dom0 and forced a reinstall of the RPM files.

Rebooted and voila, you can see the resul in the files :) Now I can get a TPM I 
guess ;)

I posted this nmi_int.c patch also on the xen-devel mailing list, let's see if 
it's enough for them.

Maybe these two patches can be added to Qubes 3.2 (if they work properly). Not 
sure if there is anything else I can do to test if IOMMU is working properly, 
if something is there to test that please let me know!

Cheers,
Bjoern

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/94d517e5-11fa-4941-98f6-18e9195af9e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: Qubes-HCL-ASRock-X370_Gaming_K4-20170515-204244.cpio.gz
Description: Binary data

Attachment: Qubes-HCL-ASRock-X370_Gaming_K4-20170515-204244.yml
Description: Binary data

Reply via email to