When passing "intel_iommu=on" in boot cmdline there is no display output:
DMAR: No ATSR found DMAR: dmar0: Using Queued invalidation DMAR: dmar1: Using Queued invalidation DMAR: Setting RMRR: WARNING: CPU: 3 PID: 1 at mm/page_alloc.c:4066 __alloc_pages_nodemask+0xe30/0xf80 Modules linked in: CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.19.0-1-MANJARO #1 Hardware name: LENOVO 20JJS0HD00/20JJS0HD00, BIOS R0HET51W (1.31 ) 07/04/2018 RIP: 0010:__alloc_pages_nodemask+0xe30/0xf80 Code: d6 dd ff ff 48 85 c0 0f 85 05 fe ff ff 81 e3 00 00 40 00 89 5c 24 4c e9 5a f6 ff ff f7 44 24 30 00 02 00 00 0f 85 ed f2 ff ff <0f> 0b e9 e6 f2 ff ff 44 8b 64 24 50 41 be 10 00 00 00 e9 df fc ff RSP: 0000:ffffa53200cbbb88 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000b RDX: 0000000000488020 RSI: 0000000000488020 RDI: ffff9347a17fc000 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000787 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000100000 R13: 0000000000000000 R14: 000000000000000b R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff934799580000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010ea0a001 CR4: 00000000003606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ? pci_mmcfg_read+0x89/0xe0 ? pci_read_config_word+0x62/0xa0 intel_pasid_alloc_table+0x118/0x180 dmar_insert_one_dev_info+0x2a2/0x4a0 set_domain_for_dev+0x6f/0x100 iommu_prepare_identity_map+0x4d/0xa0 intel_iommu_init+0xd81/0x118a ? printk+0x58/0x6f ? preempt_count_add+0x68/0xa0 ? free_reserved_area.cold.30+0x18/0x1d ? do_early_param+0x8e/0x8e ? e820__memblock_setup+0x9d/0x9d pci_iommu_init+0x16/0x3f do_one_initcall+0x46/0x1f5 kernel_init_freeable+0x222/0x2b4 ? rest_init+0xc5/0xc5 kernel_init+0xa/0x10d ret_from_fork+0x35/0x40 ---[ end trace 512a682af8e9143d ]--- DMAR: Mapping reserved region failed DMAR: Setting identity map for device 0000:00:14.0 [0x8f49f000 - 0x8f4befff] DMAR: Prepare 0-16MiB unity mapping for LPC DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff] DMAR: Intel(R) Virtualization Technology for Directed I/O DMAR: DRHD: handling fault status reg 2 DMAR: [DMA Write] Request device [00:02.0] fault addr 0 [fault reason 01] Present bit in root entry is clear When passing "intel_iommu=on iommu=pt" - display is working but similar error occurs: DMAR: No ATSR found DMAR: dmar0: Using Queued invalidation DMAR: dmar1: Using Queued invalidation DMAR: Hardware identity mapping for device 0000:00:00.0 WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4066 __alloc_pages_nodemask+0xe30/0xf80 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.0-1-MANJARO #1 Hardware name: LENOVO 20JJS0HD00/20JJS0HD00, BIOS R0HET51W (1.31 ) 07/04/2018 RIP: 0010:__alloc_pages_nodemask+0xe30/0xf80 Code: d6 dd ff ff 48 85 c0 0f 85 05 fe ff ff 81 e3 00 00 40 00 89 5c 24 4c e9 5a f6 ff ff f7 44 24 30 00 02 00 00 0f 85 ed f2 ff ff <0f> 0b e9 e6 f2 ff ff 44 8b 64 24 50 41 be 10 00 00 00 e9 df fc ff RSP: 0000:ffffb27500cbbbb0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000b RDX: 0000000000488020 RSI: 0000000000488020 RDI: ffff93b3617fc000 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000787 R10: 0000000000000002 R11: 0000000000000000 R12: 0000000000100000 R13: 0000000000000000 R14: 000000000000000b R15: 0000000000000100 FS: 0000000000000000(0000) GS:ffff93b359400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001e680a001 CR4: 00000000003606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ? sched_clock+0x5/0x10 ? pci_mmcfg_read+0x89/0xe0 ? pci_read_config_word+0x62/0xa0 intel_pasid_alloc_table+0x118/0x180 dmar_insert_one_dev_info+0x2a2/0x4a0 ? klist_iter_exit+0x17/0x30 domain_add_dev_info+0x50/0x90 dev_prepare_static_identity_mapping+0x30/0x72 intel_iommu_init+0xc7c/0x118a ? printk+0x58/0x6f ? preempt_count_add+0x68/0xa0 ? free_reserved_area.cold.30+0x18/0x1d ? do_early_param+0x8e/0x8e ? e820__memblock_setup+0x9d/0x9d pci_iommu_init+0x16/0x3f do_one_initcall+0x46/0x1f5 kernel_init_freeable+0x222/0x2b4 ? rest_init+0xc5/0xc5 kernel_init+0xa/0x10d ret_from_fork+0x35/0x40 ---[ end trace 706bc7dc523f6c1a ]--- DMAR: Failed to setup IOMMU pass-through DMAR: Initialization failed ============================================================================= BUG iommu_domain (Tainted: G W ): Objects remaining in iommu_domain on __kmem_cache_shutdown() ----------------------------------------------------------------------------- kernel taint INFO: Slab 0x0000000073358ae1 objects=11 used=1 fp=0x00000000c5af0509 flags=0x2ffff0000008100 CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B W 4.19.0-1-MANJARO #1 Hardware name: LENOVO 20JJS0HD00/20JJS0HD00, BIOS R0HET51W (1.31 ) 07/04/2018 Call Trace: dump_stack+0x5c/0x80 slab_err+0xb0/0xd4 ? ksm_migrate_page+0x50/0x60 ? on_each_cpu_cond+0xb9/0xf0 ? __kmalloc+0x1e0/0x220 __kmem_cache_shutdown.cold.43+0x1b/0x1a3 shutdown_cache+0x11/0x140 kmem_cache_destroy+0x1e6/0x210 intel_iommu_init+0xff3/0x118a ? printk+0x58/0x6f ? preempt_count_add+0x68/0xa0 ? free_reserved_area.cold.30+0x18/0x1d ? do_early_param+0x8e/0x8e ? e820__memblock_setup+0x9d/0x9d pci_iommu_init+0x16/0x3f do_one_initcall+0x46/0x1f5 kernel_init_freeable+0x222/0x2b4 ? rest_init+0xc5/0xc5 kernel_init+0xa/0x10d ret_from_fork+0x35/0x40 INFO: Object 0x0000000020568c9c @offset=5632 kmem_cache_destroy iommu_domain: Slab cache still has objects CPU: 0 PID: 1 Comm: swapper/0 Tainted: G B W 4.19.0-1-MANJARO #1 Hardware name: LENOVO 20JJS0HD00/20JJS0HD00, BIOS R0HET51W (1.31 ) 07/04/2018 Call Trace: dump_stack+0x5c/0x80 kmem_cache_destroy+0x204/0x210 intel_iommu_init+0xff3/0x118a ? printk+0x58/0x6f ? preempt_count_add+0x68/0xa0 ? free_reserved_area.cold.30+0x18/0x1d ? do_early_param+0x8e/0x8e ? e820__memblock_setup+0x9d/0x9d pci_iommu_init+0x16/0x3f do_one_initcall+0x46/0x1f5 kernel_init_freeable+0x222/0x2b4 ? rest_init+0xc5/0xc5 kernel_init+0xa/0x10d ret_from_fork+0x35/0x40 PCI-DMA: Using software bounce buffering for IO (SWIOTLB) software IO TLB: mapped [mem 0x75f02000-0x79f02000] (64MB) When passing intel_iommu=on,igfx_off display work, above warnings are gone but there are still some DMAR error: kernel: DMAR: DRHD: handling fault status reg 3 kernel: DMAR: [DMA Write] Request device [00:02.0] fault addr 9a980000 [fault reason 01] Present bit in root entry is clear The graphics card is: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) None of above happened with Linux 4.18 branch. I tested Linux 4.19-rc1, 4.19-rc2 + https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=60c1f89241d49bacf71035470684a8d7b4bb46ea
dmesg-intel_iommu-on
Description: Binary data
dmesg-intel_iommu-on-iommu-pt
Description: Binary data
_______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu