From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 63DA4383323 for ; Fri, 12 Jun 2026 18:16:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781288183; cv=none; b=AU7shU0o5GAX6FjWSWuU1KcGbU7bXkBB+nkCUuREcHtLbm7olP3HEU/HFnnsDEuyaj9DHTK+DqIlIB2B9zXPM8NYvZq5VFUbX85ivykqQiADF7A3EshOCGvqhocDOxdbbEbb+FlPpyC+KSKvLQXaZKyFJntSLqZ6UXwD/9cwFHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781288183; c=relaxed/simple; bh=kJHBC7zOJdFr54Q1tOf/VVgkT3wW/KkqDJx6n438ZAw=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=q81nl/tEUWbi/9r9pwWT88ALYp+JZf7Jf9iLMHeIk1/YOX2Z4INInLqqpqO+vuUh1bIYNvkz/ReBeGKjohZPlz6VdSpaSK97/p/hv1ICPZ9XlkhwSfh7bUgfBy2JwK+pNlZejI0B3AKQrxoh6uLvR0zdKk9GdeY8JFSXyhut7mA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BsJklsM9; arc=none smtp.client-ip=209.85.208.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BsJklsM9" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-396669329fbso20349991fa.0 for ; Fri, 12 Jun 2026 11:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781288180; x=1781892980; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=C79CBR33drE1u/8t77KlECapusXxwvj3erPrWmd11zE=; b=BsJklsM97uWb5/Yd/LKpJ53g5+L83kZNY2cQoltQA3/UI3ntneSswSqg20EEGvg26o sl1YBOxujamZ/frUn95glStwnHfJsGSATnWOb8PkGT5T1t3Ezo4PyC8A8HPChzQBafHB Nz0h7LSjO0PJ39HnxynYCqovKQA7PN8gFjY0Ul5/kJBVQQJZmJrCIXXqHk69Zin5b4hG zOsu0rYChmIYMLJMKx9d1P7z1uFO608krapDzpW+OihYZeAmq1XtwRWWTBUl6up+uIVg jkVXd58MtVxUtAKwok9fzwlE2ouQtrmOs3taJizVP0ZmzquGI1cfp1NfF8xcJ1gSjI1C iwxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781288180; x=1781892980; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C79CBR33drE1u/8t77KlECapusXxwvj3erPrWmd11zE=; b=QeGN9vgc2G/sjVCze3TpsI0OKTiRR6mDP8RNN6PBZjlTfaaK7lbbKYPt3Q+0vigJII B9BFRBzPRlvnju3omC6uXCc/qyP2gqwTdIEcrqQN/3QsDYmcqDMIeeLQmVVTI55itjuI nFIfJeRcq194ZZs+dyQWhNkXGw8s2GPk7GMPpZ9spbeBHYyBdxxkr7NuPEXBdZDesUji 4+/tNZTNCkf/Pj+ktXcL3ak98dvfBYWSDq+SOJV3S/264vlV2MShodLdU2RQscjsuc44 ARqJj8VStK5u6U/jROFeza+bt5U2o6SJ4yDZ3JJdaxJAPpt/jV6ELJu+YYqBbmJzoD/m D4OA== X-Forwarded-Encrypted: i=1; AFNElJ/hDPT8Xa0qMdbWEtzoTbJa7+E1rgYBppEpqLAxd6/pcj5csl1H4rUWlAW6rBQ4USm63qKyvWrmQ8fkZ10=@vger.kernel.org X-Gm-Message-State: AOJu0YwD9+dJ9vn9uSBrzZ9s2iHWKv3EubCi5Vdx0nm8lnC433LK9Sny jUiczL1Ki4qo2ZgkNtDvQA8ADNOdWRoRnYM5AhicSKLiJB3muACKHGyo X-Gm-Gg: Acq92OEqnenVRZQsSTIMlviaEHokuOEZ6N/zrDry1sss1tZpSDDp5MZ2Z47AxBMwNgX loKZAWWs1VL7QwJ6BEKRmk3TjKxjhM3YnHmEBivaFmHtfdFR62985rMeMjZa4IyoIAOjt4aWfp6 lqmK7jQBD90UQRMemyyHhChlFdHjzw3MYtt+SFFC4o0YbwZSYNKkJ2uinIaRYvLVpkTDtz8OggY 6XJgSl8gDnwYRopHSdYiGNFcN6lLZ8w4VH7u0idhzXIPfX0ozZHWADh/H1JY2+j9BmGTeGzbkAf acEXmTB3Lm0y/Q3R+y0xgALpnolQvwqpAAehlKjd71MUcIQ1mNfZZ2zX01bv5b8sSmEcTESle5M z9oQLUTXniXB0x/vKL7NKBsLKjWf+fLH8vGBY8oC5KoF3zIxCRP2merpv9PvG5G5gWzVv9KLgOA QfSRN5atuxubMykmz02aNhID3885WabZruWo0EKyI27TcPhL0wXAIkR1xFeAhMQpwYs2aV8WAj8 3uF4stgY1ujQw== X-Received: by 2002:a05:651c:3253:b0:396:a647:76f5 with SMTP id 38308e7fff4ca-39929b48892mr11943051fa.5.1781288179270; Fri, 12 Jun 2026 11:16:19 -0700 (PDT) Received: from ?IPV6:2a00:1fa0:742:25a:e03e:6c9c:49d8:2fee? ([2a00:1fa0:742:25a:e03e:6c9c:49d8:2fee]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-39929c29687sm7844271fa.4.2026.06.12.11.16.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2026 11:16:18 -0700 (PDT) Message-ID: <44f779a2-74dd-4488-8338-4cb9e2dcdc59@gmail.com> Date: Fri, 12 Jun 2026 21:16:15 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [net-next 2/9] net: ethernet: ravb: Move programming of gPTP timer interval To: =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Paul Barker , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Geert Uytterhoeven , Magnus Damm , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260610102432.3538432-1-niklas.soderlund+renesas@ragnatech.se> <20260610102432.3538432-3-niklas.soderlund+renesas@ragnatech.se> Content-Language: en-US From: Sergey Shtylyov In-Reply-To: <20260610102432.3538432-3-niklas.soderlund+renesas@ragnatech.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 6/10/26 1:24 PM, Niklas Söderlund wrote: > Commit f384ab481cab ("net: ravb: Split GTI computation and set > operations") broke apart the operations of computing the timer interval > and programming of it. However it kept the programming of the interval > in the RAVB main logic. > > Having split the two apart this can be improved further by moving the > programming to the gPTP initialization function, as the first action of > the gPTP init function is to wait for the timer interval programming to > be acknowledge by the hardware. > > As an added bonus the interaction with the gPTP registers for the > programming can then also be done while holding the gPTP registers lock. > > Signed-off-by: Niklas Söderlund Reviewed-by: Sergey Shtylyov [...] MBR, Sergey