Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp462564imm; Fri, 14 Sep 2018 00:58:21 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdamje792C29D3sg1n0zlYRBuLoJwhmIFBZw5jJUZzBlDjWUT7aj+lK3vHnASoq2LIKEDDnM X-Received: by 2002:a62:8559:: with SMTP id u86-v6mr11256684pfd.32.1536911901094; Fri, 14 Sep 2018 00:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536911901; cv=none; d=google.com; s=arc-20160816; b=xDPp1kHKwCstYLQ9h24+X5tGazvildu+WPAvJtQ3k4lWlc2h3V3fiSu0GdxfdX6Dms J5q7ZWpaN1aD0wsTUtnjOVcMEcPNpIizy8i4WPXvg7LR1RS8rrCZPtsxZ5rLmhMRhX6d EY9lirM544YzOk9hpp4mt7Fd70c5dL06rxGyMdquqPyHG1OCfR2Sq1s5vhhQgX0cyH2W 33FHP7JOAjJsQEuQQXp8zrlLGxG8gUGCYHSHGSxrcT9DK+N+C2D3d/4JnUVaDFFvmlqw sj3A3VA6W9zgdBPNRhwfoF8A7zVDw7lactXIfnp6pDH5+fbdTKk5AMa1wiz/mjVnKPBd c7hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=va3DUBavSnlGt9T47JmWvG2V+VoZHgoc7nBugpTVSU0=; b=QM3jumgryHjFGtFMjhSGQ9vqX2Djr7K+QsQUKAaGRFFHyDHfV6zm9Zz9Lfx+smWR+u qQbkQmuni51gvLoSTXI2TBpWlmJoQdA8J1GywinQj5yk4U9PSqDeR/Eba9S5WPnF7AOQ H1CZ6MuypfyBtZGJzYO6cUYvS0czcYvDV5cQH24BI3+9DDSLNNRySMRIqNiON0HqJsMn y49Etpk2fJgCCNgU2Vp0epa/K4m/KL90oHaO4pZuP/FKXUCD2p19cB3b1gtB+XD07Y8o Ag7GKD2tVXDZ+RRKv3UAR1x3s7A7DYmodq9w62EaZqOFas/Is0wFpl+/XSmNoZS0DlB3 u1Jg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13-v6si6426376pgh.627.2018.09.14.00.57.22; Fri, 14 Sep 2018 00:58:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728071AbeINNFq (ORCPT + 99 others); Fri, 14 Sep 2018 09:05:46 -0400 Received: from mga17.intel.com ([192.55.52.151]:60659 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727011AbeINNFq (ORCPT ); Fri, 14 Sep 2018 09:05:46 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2018 00:52:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,372,1531810800"; d="scan'208";a="80383243" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by FMSMGA003.fm.intel.com with SMTP; 14 Sep 2018 00:52:29 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 14 Sep 2018 10:52:28 +0300 Date: Fri, 14 Sep 2018 10:52:28 +0300 From: Mika Westerberg To: linux-kernel@vger.kernel.org Cc: Andreas Noever , Michael Jamet , Yehezkel Bernat , Lukas Wunner , Lu Baolu Subject: Re: [PATCH 2/2] thunderbolt: Initialize after IOMMUs Message-ID: <20180914075228.GQ14465@lahna.fi.intel.com> References: <20180903132012.23531-1-mika.westerberg@linux.intel.com> <20180903132012.23531-2-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180903132012.23531-2-mika.westerberg@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 03, 2018 at 04:20:12PM +0300, Mika Westerberg wrote: > If IOMMU is enabled and Thunderbolt driver is built into the kernel > image, it will be probed before IOMMUs are attached to the PCI bus. > Because of this DMA mappings the driver does will not go through IOMMU > and start failing right after IOMMUs are enabled. > > For this reason move the Thunderbolt driver initialization happen at > rootfs level. > > Signed-off-by: Mika Westerberg Applied to thunderbolt.git/fixes.