You are not logged in.

#1 2017-06-10 14:51:49

buptwugh
Member
Registered: 2017-06-10
Posts: 9

[solved] IOMMU seem not work on my linux?

Hi all,
my cpu is Intel i7-6700K,
my motherboard is ASUS B150-PLUS.

uname -a 
Linux highspeed 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux

here is lscpi output.

lspci -k
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #11 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #12 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 86c7
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 8694
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3302
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3302
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
	Kernel modules: shpchp
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: ASUSTeK Computer Inc. Device 8677
	Kernel driver in use: r8169
	Kernel modules: r8169

I follow the wiki https://wiki.archlinux.org/index.php/PC … h_via_OVMF .
I add intel_ommu=on to my grub. I can find Virtualization Enable option in my BIOS option, and I enable it. Then
I reboot, and execute

dmesg|grep -e DMAR -e IOMMU
[    0.000000] DMAR: IOMMU enabled

But I can not find nothing is /sys/kernel/iommu_groups/ directory.

Last edited by buptwugh (2017-06-12 14:44:24)

Offline

#2 2017-06-11 18:55:55

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [solved] IOMMU seem not work on my linux?

update your system (AL has been on kernel 4.11.x for a few weeks now) and post lspcu output .

Often there is more then one option related In bios /uefi firmware, is Secure Virtual Machine enabled ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-06-12 14:43:52

buptwugh
Member
Registered: 2017-06-10
Posts: 9

Re: [solved] IOMMU seem not work on my linux?

Lone_Wolf wrote:

update your system (AL has been on kernel 4.11.x for a few weeks now) and post lspcu output .

Often there is more then one option related In bios /uefi firmware, is Secure Virtual Machine enabled ?

Thank you Lone_Wolf, I found another option in my BIOS. now i can find output in  /sys/kernel/iommu_groups/ .

Offline

Board footer

Powered by FluxBB