Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2786162imm; Mon, 10 Sep 2018 06:31:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaR+PtzaAprNsOH8F1dIpCqPJO7KTMEmzEQzHVXBGDG6lurVKz9Y/3E6mMlUia5zFRxn2Jz X-Received: by 2002:a63:9a02:: with SMTP id o2-v6mr22589843pge.440.1536586298920; Mon, 10 Sep 2018 06:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536586298; cv=none; d=google.com; s=arc-20160816; b=bhetrX2W1erOtdVAMe8hTmGzy4y1CIlaC+lcoNdROBCaRnFjSdWH1RrBCcaIvVm2aR OUOlW8CN81V/H/x/4TcfNDlcmCtaH+WcIS9oMcQ0sijO2qZge9hcOl8UDBLwLTLMsa7C Qx+osGhkOeQJ1CHVpK35QvX7E00nPP8+edbLcodFcL8LGsq0Fxn/qj83l93ExuH5s7Fi 6h8GbEfakuiyQL6MWSBBKbyNIE0Yj0cV5uFWLYkdTERktEXZ+TViz81ZKTogvshPKVTi GWLxQHusrtKZwheF65VAn3+yqxNQiz2BqBcYlN4s6W6sZdjVcOFGABiC3IfAaLwlQRoN 9lfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=m6Uj6M6JIhX38a2FuZ9Ww98LtKpVvZFrzlnEqybY87I=; b=m8ErNhIQQy5xPa5RLd9TUDpS/S3EfhrPCUuAbvaBJovc4kWF0xez31HcZwn1pWPDxR t69wFHitDjYzg/vE2SAsU2mMZVfhCUR+Fn/n8C92FrwV5iDltErVsLqvyopCtCtiZ6Cm yw9LlZdzXzNCpDVH32GcRcNz5UlF5p7PGGlvaurXHlW+tKYzDKUmrY1DM3swmPehvStk iwnIht5UaXhmkod8VZlsopgSQ3c5Xf6vcMUYFEksaAwQrkOdHPRTq+AiGi86fdGEj5Bv uCLuhbAyT4zDrl96TE18NIxen8Czi2OYtQleCPBme5mJWw+m2sinT0Bpulx21UfzH81/ jFlQ== 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 t9-v6si17623427pfj.338.2018.09.10.06.30.54; Mon, 10 Sep 2018 06:31:38 -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 S1728541AbeIJSUi (ORCPT + 99 others); Mon, 10 Sep 2018 14:20:38 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57490 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727970AbeIJSUh (ORCPT ); Mon, 10 Sep 2018 14:20:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 88D5C80D; Mon, 10 Sep 2018 06:26:32 -0700 (PDT) Received: from [10.4.12.131] (e110467-lin.emea.arm.com [10.4.12.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BEB683F557; Mon, 10 Sep 2018 06:26:31 -0700 (PDT) Subject: Re: 4.19-rc3: IOMMU PT warnings: WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:4065 __alloc_pages_slowpath+0xb7b/0xcd0 To: Christoph Hellwig , Meelis Roos Cc: iommu@lists.linux-foundation.org, Linux Kernel list References: <20180910132304.GA20244@lst.de> From: Robin Murphy Message-ID: Date: Mon, 10 Sep 2018 14:26:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180910132304.GA20244@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/09/18 14:23, Christoph Hellwig wrote: > On Mon, Sep 10, 2018 at 11:16:12AM +0300, Meelis Roos wrote: >> In 4.19-rc1, I found that to keep Intel integrated graphics working when >> VT-d is on, I need to have IOMMU passthough on or GPU init would fail >> with DMAR error and the screen would display static gibberish. So I >> turned IOMMU PT on by default in kernel config. It worked, also in rc2. >> >> Now with rc3, it still works but I get some warning splats in dmesg >> about IOMMU passthrough: > > Any chance you could bisect this down to a specific commit? For > a start it might be worth if it is reproducable with: > > git://git.infradead.org/users/hch/dma-mapping.git dma-mapping-4.19-2 > > which were the only dma-mapping changes post -rc2. 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 Robin.