Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751333AbdFDPEh (ORCPT ); Sun, 4 Jun 2017 11:04:37 -0400 Received: from mga14.intel.com ([192.55.52.115]:1867 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbdFDPEb (ORCPT ); Sun, 4 Jun 2017 11:04:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,296,1493708400"; d="scan'208";a="976628641" Date: Sun, 4 Jun 2017 18:00:02 +0300 From: Mika Westerberg To: Lukas Wunner Cc: Greg Kroah-Hartman , Andreas Noever , Michael Jamet , Yehezkel Bernat , Amir Levy , Andy Lutomirski , Mario.Limonciello@dell.com, Jared.Dominguez@dell.com, Andy Shevchenko , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 06/27] thunderbolt: Rework capability handling Message-ID: <20170604150002.GG3454@lahna.fi.intel.com> References: <20170602140524.23367-1-mika.westerberg@linux.intel.com> <20170602140524.23367-7-mika.westerberg@linux.intel.com> <20170604135229.GB7207@wunner.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170604135229.GB7207@wunner.de> 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: 793 Lines: 15 On Sun, Jun 04, 2017 at 03:52:29PM +0200, Lukas Wunner wrote: > On Fri, Jun 02, 2017 at 05:05:03PM +0300, Mika Westerberg wrote: > > Organization of the capabilities in switches and ports is not so random > > after all. Rework the capability handling functionality so that it > > follows how capabilities are organized and provide two new functions > > (tb_switch_find_vsec_cap() and tb_port_find_cap()) which can be used to > ^^^^^^^^ > > I assume VSEC is the same acronym as in the PCIe spec, so this naming > scheme results in "vendor specific extended capability capability", > which is maybe a bit odd. AFAIK it comes from Vendor SpEcifiC but I'm not 100% sure ;-) The Alpine Ridge datasheet calls it also VSEC capability which is why we chose the naming accordingly.