Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2836046imm; Mon, 10 Sep 2018 07:12:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdazVw3LpIVkS2yhc9btAM4M6slZ0bJ5IPQKxombEUD3JM5+wn78S+SARWpO1wmwgl+qB8Q7 X-Received: by 2002:a17:902:543:: with SMTP id 61-v6mr22455526plf.126.1536588738158; Mon, 10 Sep 2018 07:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536588738; cv=none; d=google.com; s=arc-20160816; b=WNO3JK86TuI0W04Hq+a1KNqDj5+unJRsrQJ2Na2h0wH+xeMr3bUmhYfNitqWqagrgV 3j1NXfvK/xHmqEI/GcLvdwRgsnXI5kbrvJEBgJK9xetg+fjn24NE82+a3v46VzDBRgj7 SF56FDUWYMvyLjb0UzDxgFiMmDOpTlsFy7zzfxWyyOMOkvsi5raAOJqa9oQiG8YMJX0O 6wcjC8b9Zs5/Bh+etnltRPK0Jg661tjXH179Wi/FLzA6QCoskV+TZQfNrJsCVqFygwfr bIOaTpoVP+8MfPbDtCDNeL5C2kTo/yhpf6liZjw3mGm2YTOV44RXQHAbZtys/y++pRAT Sl9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=/rJKiKWTKvg4Ch8SibrI8iRBFB3meq0zUfFwjyyQmHs=; b=Ks6nd1T/Xq9sXaK9OB+XP7P0f/JZSNFCCwYnfOiQ7oV3LCbN+0AZdAmMWQObBfUKk+ CCIAlaiCb1tZVQkibYx1xwecTypqybQgwpOCUY7N+nhKteF7dEus9JLd13KI7Qur+RbX e/N3lEXHm44UbEg+QjluHKWEV7NWZLdbE2VOov6qJEAIBtHQgnC48sr6DFphB42CR+Mp u5pQK17+VH+QqrxSFMM6c8Rr5nXIYaVbCXgqYwKOTUhHND9/OURAG2Wsc7TRs+hiutwU wNv/UjHOk0oowUYBWinq1sHue3ntMuQP7BwyHDtKxUmf9shdug6sji1sw4twrlttLvC5 Gyzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g131-v6si16929086pgc.204.2018.09.10.07.12.02; Mon, 10 Sep 2018 07:12:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728689AbeIJTCD (ORCPT + 99 others); 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)