From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 267DBC4321E for ; Mon, 10 Sep 2018 14:07:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D22F42087F for ; Mon, 10 Sep 2018 14:07:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D22F42087F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.ee Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728708AbeIJTCD (ORCPT ); Mon, 10 Sep 2018 15:02:03 -0400 Received: from smtp2.it.da.ut.ee ([193.40.5.67]:37025 "EHLO smtp2.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727695AbeIJTCC (ORCPT ); Mon, 10 Sep 2018 15:02:02 -0400 Received: from math.ut.ee (unknown [IPv6:2001:bb8:2002:2400:5054:ff:fe3b:8db9]) by smtp2.it.da.ut.ee (Postfix) with ESMTP id EEF6690170; Mon, 10 Sep 2018 17:07:40 +0300 (EEST) Received: by math.ut.ee (Postfix, from userid 1014) id 01B5B220AA3; Mon, 10 Sep 2018 17:07:38 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by math.ut.ee (Postfix) with ESMTP id EE1DA220A1A; Mon, 10 Sep 2018 17:07:38 +0300 (EEST) Date: Mon, 10 Sep 2018 17:07:38 +0300 (EEST) From: Meelis Roos To: Robin Murphy cc: Christoph Hellwig , iommu@lists.linux-foundation.org, Linux Kernel list Subject: Re: 4.19-rc3: IOMMU PT warnings: WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4065 __alloc_pages_slowpath+0xb7b/0xcd0 In-Reply-To: Message-ID: References: <20180910132304.GA20244@lst.de> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Given the __alloc_pages_slowpath() warning, this looks like it's probably > stemming from the oversized PASID table issue which a few other folks have hit > too. I think this patch is the most up-to-date fix: > > https://www.mail-archive.com/iommu@lists.linux-foundation.org/msg25639.html The warning is gone but there seem to be more warnings about IOMMU_DOMAIN_DMA: [ 0.171992] DMAR: Host address width 39 [ 0.171994] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 0.171998] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e [ 0.171999] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 0.172002] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 0.172004] DMAR: RMRR base: 0x000000ca02f000 end: 0x000000ca04efff [ 0.172005] DMAR: RMRR base: 0x000000cb800000 end: 0x000000cfffffff [ 0.172007] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1 [ 0.172008] DMAR-IR: HPET id 0 under DRHD base 0xfed91000 [ 0.173441] DMAR-IR: Enabled IRQ remapping in xapic mode [...] [ 0.324160] DMAR: No ATSR found [ 0.324175] DMAR: dmar0: Using Queued invalidation [ 0.324229] DMAR: dmar1: Using Queued invalidation [ 0.324453] DMAR: Hardware identity mapping for device 0000:00:00.0 [ 0.324501] DMAR: Hardware identity mapping for device 0000:00:02.0 [ 0.324503] DMAR: Hardware identity mapping for device 0000:00:08.0 [ 0.324505] DMAR: Hardware identity mapping for device 0000:00:14.0 [ 0.324507] DMAR: Hardware identity mapping for device 0000:00:16.0 [ 0.324508] DMAR: Hardware identity mapping for device 0000:00:17.0 [ 0.324510] DMAR: Hardware identity mapping for device 0000:00:1b.0 [ 0.324512] DMAR: Hardware identity mapping for device 0000:00:1b.2 [ 0.324513] DMAR: Hardware identity mapping for device 0000:00:1b.3 [ 0.324515] DMAR: Hardware identity mapping for device 0000:00:1b.4 [ 0.324516] DMAR: Hardware identity mapping for device 0000:00:1c.0 [ 0.324518] DMAR: Hardware identity mapping for device 0000:00:1c.2 [ 0.324520] DMAR: Hardware identity mapping for device 0000:00:1c.4 [ 0.324521] DMAR: Hardware identity mapping for device 0000:00:1d.0 [ 0.324523] DMAR: Hardware identity mapping for device 0000:00:1f.0 [ 0.324524] DMAR: Hardware identity mapping for device 0000:00:1f.2 [ 0.324526] DMAR: Hardware identity mapping for device 0000:00:1f.3 [ 0.324528] DMAR: Hardware identity mapping for device 0000:00:1f.4 [ 0.324529] DMAR: Hardware identity mapping for device 0000:00:1f.6 [ 0.324532] DMAR: Hardware identity mapping for device 0000:09:00.0 [ 0.324533] DMAR: Setting RMRR: [ 0.324535] DMAR: Ignoring identity map for HW passthrough device 0000:00:02.0 [0xcb800000 - 0xcfffffff] [ 0.324536] DMAR: Ignoring identity map for HW passthrough device 0000:00:14.0 [0xca02f000 - 0xca04efff] [ 0.324539] DMAR: Prepare 0-16MiB unity mapping for LPC [ 0.324540] DMAR: Ignoring identity map for HW passthrough device 0000:00:1f.0 [0x0 - 0xffffff] [ 0.324576] DMAR: Intel(R) Virtualization Technology for Directed I/O [ 0.324601] pci 0000:00:00.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324604] iommu: Adding device 0000:00:00.0 to group 0 [ 0.324610] pci 0000:00:02.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324613] iommu: Adding device 0000:00:02.0 to group 1 [ 0.324619] pci 0000:00:08.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324621] iommu: Adding device 0000:00:08.0 to group 2 [ 0.324629] pci 0000:00:14.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324631] iommu: Adding device 0000:00:14.0 to group 3 [ 0.324639] pci 0000:00:16.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324641] iommu: Adding device 0000:00:16.0 to group 4 [ 0.324647] pci 0000:00:17.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324649] iommu: Adding device 0000:00:17.0 to group 5 [ 0.324664] pci 0000:00:1b.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324666] iommu: Adding device 0000:00:1b.0 to group 6 [ 0.324673] pci 0000:00:1b.2: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324675] iommu: Adding device 0000:00:1b.2 to group 7 [ 0.324683] pci 0000:00:1b.3: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324685] iommu: Adding device 0000:00:1b.3 to group 8 [ 0.324693] pci 0000:00:1b.4: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324695] iommu: Adding device 0000:00:1b.4 to group 9 [ 0.324708] pci 0000:00:1c.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324711] iommu: Adding device 0000:00:1c.0 to group 10 [ 0.324718] pci 0000:00:1c.2: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324721] iommu: Adding device 0000:00:1c.2 to group 11 [ 0.324728] pci 0000:00:1c.4: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324730] iommu: Adding device 0000:00:1c.4 to group 12 [ 0.324738] pci 0000:00:1d.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324740] iommu: Adding device 0000:00:1d.0 to group 13 [ 0.324754] pci 0000:00:1f.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324757] iommu: Adding device 0000:00:1f.0 to group 14 [ 0.324763] pci 0000:00:1f.2: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324765] iommu: Adding device 0000:00:1f.2 to group 14 [ 0.324771] pci 0000:00:1f.3: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324773] iommu: Adding device 0000:00:1f.3 to group 14 [ 0.324779] pci 0000:00:1f.4: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324782] iommu: Adding device 0000:00:1f.4 to group 14 [ 0.324788] pci 0000:00:1f.6: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324790] iommu: Adding device 0000:00:1f.6 to group 15 [ 0.324797] pci 0000:02:00.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324800] iommu: Adding device 0000:02:00.0 to group 16 [ 0.324807] pci 0000:09:00.0: failed to allocate default IOMMU domain of type 4; falling back to IOMMU_DOMAIN_DMA [ 0.324810] iommu: Adding device 0000:09:00.0 to group 17 -- Meelis Roos (mroos@linux.ee)