cyring / CoreFreq

CoreFreq : CPU monitoring and tuning software designed for 64-bit processors.
https://www.cyring.fr
GNU General Public License v2.0
2k stars 126 forks source link

[AMD][Family 17h][Zen] IOMMU Enablement State #193

Closed cyring closed 3 years ago

cyring commented 4 years ago

CoreFreq version [1.79.5]

Git branch availability [master]

olejon commented 4 years ago

Yes. Don't know where you found that option, since you searched in UEFI. But on my Motherboard it's called SR-IOV and it's the only Setting under some Section in Advanced. A drop-down.

Default = Disabled and no Auto option...

00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:1481]

Screenshot_20200701-160917__01

cyring commented 4 years ago

Thanks for your test but if the device shows up in lspci then it has to be enabled or auto in BIOS. Meanwhile I will check my BIOS if SR-IOV and IOMMU are or not separated options ?

olejon commented 4 years ago

It's enabled. Only other option is disabled (no Auto). I've been through ALL Settings 100 times and NOWHERE have I've seen IOMMU... As I understand it it's the same as VT-d on Intel (a website said so).

I can try searching...

I read this: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/html/hardware_considerations_for_implementing_sr-iov/index

olejon commented 4 years ago

Found it!

# lspci -nn
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:1481]

IOMMU

cyring commented 4 years ago

Thanks for your efforts.

So do you mean you get a match between the BIOS state and the CoreFreq state ?

IOMMU disabled in both ? IOMMU enabled in both ?

olejon commented 4 years ago

Default is SR-IOV = Disabled and IOMMU = Auto. Which seems to disable AMD-V.

cyring commented 4 years ago

IOMMU state confirmed with Ryzen 2700X https://github.com/cyring/CoreFreq/issues/54#issuecomment-652788534

olejon commented 4 years ago

You got it right? Just SR-IOV = Enabled and let IOMMU = Auto and it enables it, according to lspci -nn and CoreFreq > Technologies. I guess you can reproduce that. You have ASUS too.