Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3735598ybi; Fri, 19 Jul 2019 08:10:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvoqK6bCUN/DARCKZ1osr+izgWDo+tmAogGDrjwjYcLXppBH0hp+OWjTDjuj/Ih0gciLGi X-Received: by 2002:a17:902:a03:: with SMTP id 3mr56736195plo.302.1563549021377; Fri, 19 Jul 2019 08:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563549021; cv=none; d=google.com; s=arc-20160816; b=zBj0Y3LxaYVA6pquB5NR2AbLSMeiH0P8Fs+lp55I7OWrJ8/z4rg6gahEXIOj3B3sI3 QZIje57avW6BrnYGfNAqB+AbA4AcmeKEnnHfSm22sPD08o9Btky8qgU+w1fTCe2fevzo uYKvHfSwC0NGFu6OvW7FGxRQZ5qFEYivU39kSKyTREENXjCzNvGo9bLxDlTi9U9bM40t kP2OxZzsoa4SfvzRvppevONCjFpmjy9RHi15t8hFZhR4UmIngRCq2S0WcQmp3DU71iRA lC9YdG2Iwme+HUx8DvqbVrqTJUc8J3kT+XvXR0kGl4FotKcuCFWYPi6AbezMnIp1Fwom ZUcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fGhjbD/ZLaMc/EQxPrDyzowQW6tcfV37E12zWwbgM6s=; b=w0A7Fhyyeom1ZSbqVGcaIlFpDvmL+gcDnv2WIcJK3XKe24zR97GATV0P/31el1YJIc SHZS0H4H1UB3tn7csSo12CVK/QM5ODLCS4aeqcHAy4c0BYopNovgmb1NP0Wm2WLQtsbu UWjSIwKpTFjnQL/pES3Wd0lSSCp0T1g2No17vkNPzXS/cajvpC7h67Ba0WzItY02IS4k 4CCyp2ownCT3In99b17040y/2P5ZRcKKEZB13DwXBJSHNn6987N8Ge8dPcXJr19BA1tV Gs6S5L5LWHFtzJQ9eJjvSdijvGwt+Sw9FHRXKFgDD3iDBpMjI1GGwLE37CzOKpWcmTz9 wQZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=CM6jDDiX; 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 k190si1830376pge.308.2019.07.19.08.10.05; Fri, 19 Jul 2019 08:10: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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=CM6jDDiX; 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 S1728651AbfGSNUh (ORCPT + 99 others); Fri, 19 Jul 2019 09:20:37 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:52142 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727984AbfGSNUh (ORCPT ); Fri, 19 Jul 2019 09:20:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fGhjbD/ZLaMc/EQxPrDyzowQW6tcfV37E12zWwbgM6s=; b=CM6jDDiXi2sJnGUhAsCmIDEblF 5TpzgPV/rrlWNatzmxJq5lDPUsMbeAbNPHvmBAPjLu3YAMDk39HmCkFNKkyZHXsfAEYwu3awMPcss +1dY/VWVpodHJX9EinVcRvwYIEk7F4vhdHRicxYZiYocIESZPM4eh3qX1mAj2KnwXtGg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hoSo9-0006eT-9B; Fri, 19 Jul 2019 15:20:21 +0200 Date: Fri, 19 Jul 2019 15:20:21 +0200 From: Andrew Lunn To: Felipe Balbi Cc: Richard Cochran , netdev@vger.kernel.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, "Christopher S . Hall" Subject: Re: [RFC PATCH 0/5] PTP: add support for Intel's TGPIO controller Message-ID: <20190719132021.GC24930@lunn.ch> References: <20190716072038.8408-1-felipe.balbi@linux.intel.com> <20190718195040.GL25635@lunn.ch> <87h87isci5.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h87isci5.fsf@linux.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 19, 2019 at 10:35:14AM +0300, Felipe Balbi wrote: > > Hi, > > Andrew Lunn writes: > > On Tue, Jul 16, 2019 at 10:20:33AM +0300, Felipe Balbi wrote: > >> TGPIO is a new IP which allows for time synchronization between systems > >> without any other means of synchronization such as PTP or NTP. The > >> driver is implemented as part of the PTP framework since its features > >> covered most of what this controller can do. > > > > Hi Felipe > > > > Given the name TGPIO, can it also be used for plain old boring GPIO? > > not really, no. This is a misnomer, IMHO :-) We can only assert output > pulses at specified intervals or capture a timestamp of an external > signal. Hi Felipe So i guess Intel Marketing wants to call it a GPIO, but between engineers can we give it a better name? > > Also, is this always embedded into a SoC? Or could it actually be in a > > discrete NIC? > > Technically, this could be done as a discrete, but it isn't. In any > case, why does that matter? From a linux-point of view, we have a device > driver either way. I've seen a lot of i210 used with ARM SoCs. How necessary is the tsc patch? Is there an architecture independent alternative? Andrew