Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbdGYJT6 (ORCPT ); Tue, 25 Jul 2017 05:19:58 -0400 Received: from mga02.intel.com ([134.134.136.20]:6824 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbdGYJT5 (ORCPT ); Tue, 25 Jul 2017 05:19:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,411,1496127600"; d="scan'208";a="996878392" Date: Tue, 25 Jul 2017 12:17:38 +0300 From: Mika Westerberg To: Christian Kellner Cc: Andreas Noever , Greg Kroah-Hartman , Michael Jamet , Yehezkel Bernat , Lukas Wunner , Amir Levy , Andy Lutomirski , Mario.Limonciello@dell.com, Jared.Dominguez@dell.com, Andy Shevchenko , linux-kernel@vger.kernel.org, Peter FP1 Zhang Subject: Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade Message-ID: <20170725091738.GD2369@lahna.fi.intel.com> References: <20170606122519.35401-1-mika.westerberg@linux.intel.com> <1500567109.13885.9.camel@redhat.com> <20170724065255.GJ629@lahna.fi.intel.com> <1500973865.3327.0@smtp.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1500973865.3327.0@smtp.gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 980 Lines: 25 On Tue, Jul 25, 2017 at 11:11:05AM +0200, Christian Kellner wrote: > Hi Mika, > > > > I've seen this once on Alpine Ridge LP (which you have here) where the > > DROM contents of the older NVM image listed too many ports. Can you try > > if the below patch helps? > You were right. Patch works fine, and I indeed see the expected warnings in > the logs: > > [ 102.739663] thunderbolt 0000:03:00.0: 0: DROM has too many entries 6 > (expected 5) > [ 102.739665] thunderbolt 0000:03:00.0: 0: DROM has too many entries 7 > (expected 5) > [ 102.739667] thunderbolt 0000:03:00.0: 0: DROM has too many entries 8 > (expected 5) > [ 102.739668] thunderbolt 0000:03:00.0: 0: DROM has too many entries 9 > (expected 5) > [ 102.739669] thunderbolt 0000:03:00.0: 0: DROM has too many entries 10 > (expected 5) > [ 102.739670] thunderbolt 0000:03:00.0: 0: DROM has too many entries 11 > (expected 5) Thanks for confirming! I will send a proper patch (with slight changes) later today.