Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2959244pxb; Fri, 5 Nov 2021 07:30:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhXDA9sjc6coS4C2b2WqhmjbfmQMge9gqlvo1AB9fhQ9PhDUxJa5igngCAgthyrgiGZ0X6 X-Received: by 2002:a05:6e02:8a3:: with SMTP id a3mr37949572ilt.88.1636122650759; Fri, 05 Nov 2021 07:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636122650; cv=none; d=google.com; s=arc-20160816; b=CPh+Y5oumr+W8GYJsUspXs2mmkkkFgspwPEK/ezmlpVxNpJuxnqrX+Rr1Iq/D2bfEH DA/xfmGz98B0BUsUv3i9xUPFe7ieWQPFsLz4S/jvP980IoVQRNvCpdQEQfeQkUWygdwe 2nuDPIKTalvCrOQrkRGJk2POFqkTxsnp36WO7z3ODcZuyw9gNhzIhnBunb+Za1SsNZJA zmWAX0xTc4IZga6CAluD80XGzkKabHlYi3hKLpw9MLt6PPzzD3Fg4ub+21dWLOyCxaIO Yy4CNEPoLar3YJCsvrRkIm0LUCBUxk2mbAHDRJC049wXdyBcsHYwlMGnf0lwofkG5uqY A/iA== 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=4wnFihb9FXtR0j6s/uHUquZ5b5gAn6PDUylWYZcjqls=; b=P62Gsvpxt/aFflWA93DPNBN18tZxPZgHVldvkTDhw6F22YuFlJYwmsCvTN6OuzWBLu XDLbkYx/26btDdV0gkn8XPu3KKnLVqL0W6yz72lX7D5m5iItMNi5yBZ98nlwpK9Bc4O5 CooMdqPsQGo5JIODKCjDfFdEaB6rqiBPFhNfOMc7pG/OMHgP+PfyVtVc91LHBE0lidoe qR1Qmkyj7ItVTQk+94GbVLlB18P1+0S6SZGYk+g1tk/r9wAj8q0c8uUrQCF4oYifec10 pTVhWnnuja/SKNYJAeusBRZKxD44nLsVKrkUKqMnlBeGhmrfIUqg4crS4fn1dCzw/6Mc gQ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Fa8cnWlb; 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 v5si17148324jas.94.2021.11.05.07.30.34; Fri, 05 Nov 2021 07:30:50 -0700 (PDT) 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=20210112 header.b=Fa8cnWlb; 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 S233228AbhKEObR (ORCPT + 99 others); Fri, 5 Nov 2021 10:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233216AbhKEObQ (ORCPT ); Fri, 5 Nov 2021 10:31:16 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 189D7C061714; Fri, 5 Nov 2021 07:28:37 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id w1so33988028edd.10; Fri, 05 Nov 2021 07:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=4wnFihb9FXtR0j6s/uHUquZ5b5gAn6PDUylWYZcjqls=; b=Fa8cnWlbD+FnsaVmc4oZuliRtAF2sAimCkPYZgkPfLWzR1sVJEzyBnMWn7xH4KPXRQ nqUrFV3GAL2IiZrccmCnHGpmpQebHOiwGj3YewDXD8yRf70wk1zzkRRHMcQVTBDvehjU 9JHdETwTUarCRH3tbqiJ6Po8uSMXDNANppF+1JXFlgDguApnhIQZvOH73hy9XHlWcwPM PPoi3wN0nEMPFiFpd742jd0hIswMbOuNzFo7P0s52hm4pnFE/qzuWsSAHK53VJ8fMsKh CVz8LOPwpeUrt4K7KXYvVwHMn74IxnrwSxRAOXw7lDfrjjsVhiMB+me5dlAQBZoDVRjP ROAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4wnFihb9FXtR0j6s/uHUquZ5b5gAn6PDUylWYZcjqls=; b=NmurOGwjp8x9pgs8BRkme9tTKVeJLXI2LW2vuLEorXyp3befuUjVQ7GducvFGaUl3J SD4Z77NtRyZl5fe8QMo4njGwynR9ZWkXU8HfAme6yWCbFv9QzlxOlGQOwwrmo4lmarrd PxU8mhP7lIlIxndbnk4ovpbVrfuIYqaciQTl/feI9WdqkDTRQM+Kh95wwn0aK7kjzJn0 3Vk0d6U26Pg+KEqSW6BiLDy/L1wJcy2AHQ82Njcu7tFspgwZZkoYwwnPT1EWBP3hAsyR QmLhl9i4qnwpLgQsXcZZAlj/u7zaEBKPRgXoXURFH3EvgkNRe70tBiK+C1pjhKqci81Z CwTg== X-Gm-Message-State: AOAM530hJgAm9wrSzmvfXq85p4j3fKy/+IxyNihTbDJjyukF4eyAiX5g n5uPE/McsicQTVhosSZJyys= X-Received: by 2002:a17:907:720d:: with SMTP id dr13mr45995011ejc.153.1636122515666; Fri, 05 Nov 2021 07:28:35 -0700 (PDT) Received: from skbuf ([188.25.175.102]) by smtp.gmail.com with ESMTPSA id m9sm4100187eje.102.2021.11.05.07.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 07:28:35 -0700 (PDT) Date: Fri, 5 Nov 2021 16:28:33 +0200 From: Vladimir Oltean To: Richard Cochran Cc: Martin Kaistra , Florian Fainelli , Andrew Lunn , Vivien Didelot , Kurt Kanzenbach , "David S. Miller" , Jakub Kicinski , John Stultz , Thomas Gleixner , Stephen Boyd , Russell King , Marc Kleine-Budde , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 7/7] net: dsa: b53: Expose PTP timestamping ioctls to userspace Message-ID: <20211105142833.nv56zd5bqrkyjepd@skbuf> References: <20211104133204.19757-1-martin.kaistra@linutronix.de> <20211104133204.19757-8-martin.kaistra@linutronix.de> <20211104174251.GB32548@hoboy.vegasvil.org> <20211105141319.GA16456@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211105141319.GA16456@hoboy.vegasvil.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 05, 2021 at 07:13:19AM -0700, Richard Cochran wrote: > On Fri, Nov 05, 2021 at 02:38:01PM +0100, Martin Kaistra wrote: > > Ok, then I will remove HWTSTAMP_FILTER_PTP_V2_(EVENT|SYNC|DELAY_REQ) from > > this list, what about HWTSTAMP_FILTER_ALL? > > AKK means time stamp every received frame, so your driver should > return an error in this case as well. What is the expected convention exactly? There are other drivers that downgrade the user application's request to what they support, and at least ptp4l does not error out, it just prints a warning.