Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5996042imu; Wed, 30 Jan 2019 07:06:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN4pD748fWg5mAoWKSCsisuWXv/yUAkyIH6YfSKruxgz0TskNWPKvWin9FqEQIfUzlo3d8yv X-Received: by 2002:a63:3e05:: with SMTP id l5mr19978085pga.96.1548860811013; Wed, 30 Jan 2019 07:06:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548860810; cv=none; d=google.com; s=arc-20160816; b=P2d7/ATdNjjW+Zru/AKtiwf6SxShVo6CqmqT0CE1tXfpmfgWVU6P+KMWZgmbZxbch+ Do8T+SQHK+3pRyKDCMXIx++9k+4ZTHZmiuCL4OHOYTFTbHoUS72/WBwYCnqxek5haJjh ztSu4P8a2fytuIwT8Al0IlriVI931+qHB3BDNty+GI7Xs3VhdDWyEjW9k+drzW3orxC7 VYNXd/SQYKIoJ9ByWtGirbOE9fQ01gA7yVEaaiczE/Ykw293XoXDj5RrwK5nyGX/h98b 0xshh+yNYA00oGlR/GNOoW+M/RJyxKHhcZ1T5vzwXYGw5FKaRO+mKebtI36waMcyaf2h wqkQ== 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=+w3wP4Pu7gtN8gfcBV4/2DmEPOmD5QKLlD8UBjw0TZ0=; b=pKI1tcVzhwUUMBKQnTeN/7O60JtaS08Sv//+81B/CAaZEm4b8ff3qNYNq/7ENV6zAq FLSZsim79/xvGCVVm6eMsRhGsu3tA5KAFxH9hzVG5z8Nqu6QkveoG0JZ/MJ9q0VHOZAH eSOThrcU2LI7h/gb7MV/DGS7YcmFXc750TucCvwMazruo10UoxCgOc1ts9JNN6O4Lnb/ Z/FzFgFORa5xwmgvvjIA2Go7Zo8Fs5lLeB4TAigQs+sOtpMP7kfhrrTyH3wyhMzK2QHM 5IQG+OBvINy8GBEGUpNXRBJ4C3H2R02d7X0wjpB5DbomIx9Q9Mtsk6oWxMm/rBTgjvT7 +mkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yXKB+Pgb; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si1620817pgc.236.2019.01.30.07.06.29; Wed, 30 Jan 2019 07:06:50 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=yXKB+Pgb; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731387AbfA3PGS (ORCPT + 99 others); Wed, 30 Jan 2019 10:06:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:54166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727162AbfA3PGS (ORCPT ); Wed, 30 Jan 2019 10:06:18 -0500 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2BAA320989; Wed, 30 Jan 2019 15:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548860777; bh=91akihFMRrpe92l8fZfX0HpMGtuRJLFm6w4kozyFT+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yXKB+PgbsRlZT5qKMU0kzrB4s++v2Q0IV1KgiXJnwMDQ+qLZzVGgAKWtUOltYniMX aK8PIecB8TH5fqOUXyztBsTK3DlfLtdAZSuY4N9uogcbf6TymsFIE5o0Wqy8AKphCU sax+m47zvcxyoW4UlApEP/wWrnJf+JVMDMYSq5tw= Date: Wed, 30 Jan 2019 09:06:15 -0600 From: Bjorn Helgaas To: Aleksey Makarov Cc: netdev@vger.kernel.org, Robert Richter , "Goutham, Sunil" , Richard Cochran , Radoslaw Biernacki , linux-kernel@vger.kernel.org, David Daney , Philippe Ombredanne , Joe Perches , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next v6 1/2] net: add support for Cavium PTP coprocessor Message-ID: <20190130150614.GA229773@google.com> References: <20180115124500.14872-1-aleksey.makarov@cavium.com> <20180115124500.14872-2-aleksey.makarov@cavium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180115124500.14872-2-aleksey.makarov@cavium.com> 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, Jan 15, 2018 at 06:44:56PM +0600, Aleksey Makarov wrote: > +++ b/drivers/net/ethernet/cavium/common/cavium_ptp.c > @@ -0,0 +1,353 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* cavium_ptp.c - PTP 1588 clock on Cavium hardware > + * Copyright (c) 2003-2015, 2017 Cavium, Inc. > + */ > + > +#include > +#include > +#include > +#include > + > +#include "cavium_ptp.h" > + > +#define DRV_NAME "Cavium PTP Driver" This is also unconventional and looks funny, e.g., here: $ ls /sys/bus/pci/drivers/ 8250_mid/ exar_serial/ mei_me/ snd_hda_intel/ agpgart-intel/ i801_smbus/ parport_pc/ snd_soc_skl/ agpgart-sis/ i915/ pcieport/ xen-platform-pci/ agpgart-via/ intel_ish_ipc/ rtsx_pci/ xhci_hcd/ ahci/ intel_pch_thermal/ serial/ 'Cavium PTP Driver'/ iosf_mbi_pci/ shpchp/ e1000e/ iwlwifi/ skl_uncore/