Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp185455pxh; Tue, 9 Nov 2021 09:07:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUFeMd1Jo1oov1RPsUmmEIvP1jaKIbBL2bu5kkXCgkjh4zKWmoYP+dvB+8wYsw+bKhr3UF X-Received: by 2002:a05:6e02:1ba6:: with SMTP id n6mr6667187ili.254.1636477656754; Tue, 09 Nov 2021 09:07:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636477656; cv=none; d=google.com; s=arc-20160816; b=f5ylW7an0P8mE5Qv5faQBShTHQaG4xTvTsnUFk3sSvcd3SANs1Gxj7ueHo99zml46d BGYMfvOtdK1wPi7F3EHEUmkcuJelcUZmCck7cQA5BldQbBLwVHMtm//WYFmjq9aReYHA Y4jwV7CLdqPIUfvm+MHJ/jfzr55+IOD70wrwFMXgLiMMde1shIoAClXNx0rMjMhq52ft mil/8499QtP3Z7jk4PEPReDc55wJKbpxyY6YF8zXOr/2gdnmAwks4bJI9QHCibd6rukm 2Z7OcFEb7824Zu/OrDbmFHfEz8cjwlAa24M6XiM2D4Wp3Uo4MducbulwZNGP3DaV2M1i pcFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=XB/jnYZ0uAToeYDc7Y7hi585Z8EzRcsq8mXeI7xQiTE=; b=uj7YPlE6GtRmTW7qPp4h31nkE4jMMcIR+JCyNzlpiQQbc0uT8tgeqKBHVUUtnamxyo +dlBVWFfY6YhVHULJgp53gCqSnZXEMlcqm5UFGJ7x9BivFemDEeisGz0Hvc2/HBlZN5M e4iXp/5iejPsw2qaO09nrs4CSnKI/rkKxfg7ef9D1nSrSBXLbbKQIdpwZAIhRn8F5xX+ F+wmyA2+CPcym4tsTgvYzvpLkVa8rYvoXwitf6apNs98f6I57V5BRLTFyNdozR0MAj8s BZdlZS9T5ZspIXwRopL+IQfsE+9WJYbGxEFfgdU395yjXJJ7uzpwltsPhTwQO+1yozF8 FuPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xLh65Aos; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q2si36511227ilv.130.2021.11.09.09.07.18; Tue, 09 Nov 2021 09:07: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=@linutronix.de header.s=2020 header.b=xLh65Aos; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243999AbhKIIXo (ORCPT + 99 others); Tue, 9 Nov 2021 03:23:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239953AbhKIIXm (ORCPT ); Tue, 9 Nov 2021 03:23:42 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62B0AC061764; Tue, 9 Nov 2021 00:20:57 -0800 (PST) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1636446055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XB/jnYZ0uAToeYDc7Y7hi585Z8EzRcsq8mXeI7xQiTE=; b=xLh65Aosy0wl+keM6T5b2UegXmKcoboE5B+wmF8R7inWqAc1nCgGHHEUrufdnempYhnM/5 X5p0xVaec+ULF5b5q/X2i/gzDXbZ5XOT5Hqh41KoTYln9KerxDb5oTSr3Uy3VUETQyK0yh VlAeLPlF+Hd/Fv1OGqB2qS5EYqOz8aXGFRcp2JnVVTRNL+Jw7vCyDXtZ8KJ321joa21j6Q svJS/GZszig+ZI0GXN4NMKsoipn0jhgXpVvgcpyJI0nojXn6P13N/UMRJJtB3i0pppTFBh dWsUABHSK1Ar5+fDlUPU915/j7YKFvNhY8uRfZxRhN07H3rqtxMQjVbSBB4AKg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1636446055; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XB/jnYZ0uAToeYDc7Y7hi585Z8EzRcsq8mXeI7xQiTE=; b=b2/KdFGJzTuZQm1oEiRtYg5xGPVDKtF4nRMqhODSq10mZ15j1APcTZ/rxCeq+Go+Plie2Q InEqAb+8v7hwY9Bg== To: Vladimir Oltean , netdev@vger.kernel.org Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Jakub Kicinski , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xiaoliang Yang , Yannick Vignon Subject: Re: [PATCH net] net: stmmac: allow a tc-taprio base-time of zero In-Reply-To: <20211108202854.1740995-1-vladimir.oltean@nxp.com> References: <20211108202854.1740995-1-vladimir.oltean@nxp.com> Date: Tue, 09 Nov 2021 09:20:53 +0100 Message-ID: <87bl2t3fkq.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Hi Vladimir, On Mon Nov 08 2021, Vladimir Oltean wrote: > Commit fe28c53ed71d ("net: stmmac: fix taprio configuration when > base_time is in the past") allowed some base time values in the past, > but apparently not all, the base-time value of 0 (Jan 1st 1970) is still > explicitly denied by the driver. > > Remove the bogus check. > > Fixes: b60189e0392f ("net: stmmac: Integrate EST with TAPRIO scheduler API") > Signed-off-by: Vladimir Oltean I've experienced the same problem and wanted to send a patch for it. Thanks! Reviewed-by: Kurt Kanzenbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJSBAEBCgA8FiEEooWgvezyxHPhdEojeSpbgcuY8KYFAmGKL2UeHGt1cnQua2Fu emVuYmFjaEBsaW51dHJvbml4LmRlAAoJEHkqW4HLmPCm/PoP/27bUDpdMEQXWqTt MeXl0o1uh6dc4KXB1elbTcoN+eJscsgO4uex5zH6atF6xlEtAjfmigT1APc1imvH +1wwP1gaDLc7csegFvuKzfDSGfX6sWwsx4Z5rrfhTzv1COU4WMGspg3gFC/vh8Tk vrUJFvwFv7uq0YLEaqbwMUF0wwKs0wxO4uMSpSjjTzPUAL1dQBQAXzlR8TrFZBn0 WLC4jTmDZhd+9aNtgQYJel9F/mkTAyGn0e9T69ysO1mLv3v0V8OTnvYdVFOZlpc5 voyNTZwxYNR5oaAbHfhDzG37neCjqou/BWTJt3P8BZzUZENT1B6x74OxIpntGaxV TJ2tvnfFtCb2aikxCUTwBqYZDvufYfXduIYCrwp6ub0LavLMdsJycZhRf7S4Jpp0 rDLFGFd8k4b4x5FeXS6cx7nS8pT8KHwbII92+HEKm9083KlbrS7dxAKgNRSV11k0 2sdUlC2Z3Am4vYC+mtHF/A1neozXymiRiN67upmdnKz04uhokeUsVjQnaJAmZQ+H gY15SKiujkxUjFhVfw5bG5Fe9Zoh13YQnpOMDpjtGkf7aRYsuksTBQCLgdvgF0Ww GrHLPbxGhm0UdKnsEYYhB1p5cdaFU0tbjO2Q+F9FYTJETweXtq8wgm/pjkVy2hVH dw3uQ6RDYBLDCiH5Nt0ZXAMe5kyX =zNUQ -----END PGP SIGNATURE----- --=-=-=--