Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp32920pxb; Wed, 18 Nov 2020 15:42:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwnIrSOfWFHQTikk1tZ5w9GqBlQr8ieEr1AiawLje//9PJgeenpGnWzEUIYg67IjlKXvNBH X-Received: by 2002:a17:906:adcd:: with SMTP id lb13mr24849665ejb.362.1605742956216; Wed, 18 Nov 2020 15:42:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605742956; cv=none; d=google.com; s=arc-20160816; b=yR7bcEMhTqYyqDUkQUYfQ5X1WUpIZxmC2Jz8Ui/bMyNK2eGTjk87fIKXMflgPSJIZz w5Ky4LpALJ0/uX6GesOavdyhBqe7yVzklTkLjYLToVaMEUCLCLE1Diu3YIsSu6pK77rY dE19+vbU5/6yaTDkJ0w/T8xB8PCbT4nCOas0k9WsPqBa83h1alcX8RM1BsPQ/VcKZWFn wppzFQqA3ovE/g5xBWlDl1xCuMJ4A6ymcRlMyubktz/SUdbGqb/MSfCM3685sD42x9UZ u85yUkQv3mEr45R/7SOgIUMyPqw/wD2XuBM5cojGhx3j3wxH/Epp54Vlg/QFJb5n8D77 HQDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dYEg6jWrPkkD53OAHB3soxjlN28LSPDv84400U2paVQ=; b=TBvkTp47KG2En0Ayg7FkV6lj5dwUGAvmFxCZ48qp9pe1xD/ynC/ENjPvrR4eLzpoks VHLeLl0qv6as41iwpJZcz155M3GrZjcNvfJEAgqcjWv0s2WeDoYvMdzEzdzqalpFdhSU YbKqHK+R96ZtWD0lF+7c8iHykEJz1lHwd/JWv0t+HHT/qf2glDWhbezwyo6ft1l2J1FC qUijzs8qvV5nNSUdWDEyw47D/+TgoDfCQ2o5Zhjc6jw+js08GoNONGWLx7MdETlf2XP8 VBgQwF23w1uSQjE21jugXDSkMCvQhmvjsUNuOUAX+uLQ1OnF70WI97VskwPZKzH8YlLX eHBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iIQfwh1L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt4si19540831ejc.439.2020.11.18.15.42.12; Wed, 18 Nov 2020 15:42:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iIQfwh1L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726651AbgKRXkX (ORCPT + 99 others); Wed, 18 Nov 2020 18:40:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgKRXkW (ORCPT ); Wed, 18 Nov 2020 18:40:22 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A6DC0613D4; Wed, 18 Nov 2020 15:40:22 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id o9so5280591ejg.1; Wed, 18 Nov 2020 15:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dYEg6jWrPkkD53OAHB3soxjlN28LSPDv84400U2paVQ=; b=iIQfwh1LxtqMIVtXSq+tbCkZtDnA1zaS9i6mmWLIe8z4ZpHRemHjRNwAFQiIxrUCra NyHaor6DBzYbqNXVKmqNam4tFAjTJ/4m+YZeRAXosZZyLiXF0TlPMDdi+m+laqVk12CF bP3ke4fdLMG+qA5eJ+wzkqkFm7WDTKVMA7ifPImzs9++tFDwkJwyVr5RqMhuFAnm6Nb5 msL9AUcZpilItQ/ZI3W4ccv3GAR9Um7KczBpgP4e9nFM0cJvlIfsy8vZ5ovHtdAtpK5o uGgsWoQWnts/QfdnXI2nfqgM5q5xOqMU8KedqRhTsiKn0uZtFRcNRzG7zmHT2Mx/1OPw 9W1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dYEg6jWrPkkD53OAHB3soxjlN28LSPDv84400U2paVQ=; b=efEY5Ssc1PQL8IMxJkfBae2ICtva4KqN0YlWhttp3a8RHhZ7cRH4uBUTGiz0ynXJLi AtvjFcWGrqgwk7uviU4iqOfigEwjVMi1bsn8/8JBQEUIHB9S/uJY0SSS5N1xgdO5k2vJ IIeV3x4e6Zu3fPlv16C4K2jhmqoQyGOINivM8kk0jVkSi7ENyHta0idgsLROUmAeL7s+ DUMwBWdonDwIQaJhNxXjPIGtJqCHTdmo8wac7k/YD1yQ466eLZVw60TKsgMQh/gpygNy IVLvNmABlVd/mguDsAipI8s9lZMOPn5IbEiNzWSTvd7tRctF/8xPyo4pKLEhKgNy+YDK OEZw== X-Gm-Message-State: AOAM5306ggBLOwBguhDf/eBkvmQnNdWopP6iIfKIo6xV/2mVJkntI/hS q0kRT+4MQx6LsE2Nuc3bhjg= X-Received: by 2002:a17:906:c20f:: with SMTP id d15mr25754407ejz.341.1605742820626; Wed, 18 Nov 2020 15:40:20 -0800 (PST) Received: from skbuf ([188.25.2.177]) by smtp.gmail.com with ESMTPSA id m26sm13518241ejb.45.2020.11.18.15.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 15:40:20 -0800 (PST) Date: Thu, 19 Nov 2020 01:40:18 +0200 From: Vladimir Oltean To: Christian Eggers Cc: Jakub Kicinski , Andrew Lunn , Richard Cochran , Rob Herring , Vivien Didelot , "David S . Miller" , Kurt Kanzenbach , George McCollister , Marek Vasut , Helmut Grohne , Paul Barker , Codrin Ciubotariu , Tristram Ha , Woojung Huh , Microchip Linux Driver Support , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 00/12] net: dsa: microchip: PTP support for KSZ956x Message-ID: <20201118234018.jltisnhjesddt6kf@skbuf> References: <20201118203013.5077-1-ceggers@arri.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201118203013.5077-1-ceggers@arri.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 18, 2020 at 09:30:01PM +0100, Christian Eggers wrote: > This series adds support for PTP to the KSZ956x and KSZ9477 devices. > > There is only little documentation for PTP available on the data sheet > [1] (more or less only the register reference). Questions to the > Microchip support were seldom answered comprehensively or in reasonable > time. So this is more or less the result of reverse engineering. I will not have the time today, and probably not tomorrow, to review this. I want to take some time to get more hands-on with the UDP checksumming issues reported by Christian in the previous version (in order to understand what the problem really is), https://lore.kernel.org/netdev/1813904.kIZFssEuCH@n95hx1g2/ and I will probably only find time for that in the weekend. If anybody feels like reviewing the series in the meantime, of course feel free to do so. One thing that should definitely not be part of this series though is patch 11/12. Christian, given the conversation we had on your previous patch: https://lore.kernel.org/netdev/20201113025311.jpkplhmacjz6lkc5@skbuf/ as well as the documentation patch that was submitted in the meantime: https://lore.kernel.org/netdev/20201117213826.18235-1-a.fatoum@pengutronix.de/ obviously you chose to completely disregard that. May we know why? How are you even making use of the PTP_CLK_REQ_PPS feature?