Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2211041pxb; Wed, 30 Mar 2022 19:27:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYdQH/9O1+YlJxIHYCd6GyhA3dSg2xmbJ72yrn9kBcIQDofDiPcvkdG5UVvIz7oLBrpV9+ X-Received: by 2002:a17:90a:b008:b0:1c7:8810:a08d with SMTP id x8-20020a17090ab00800b001c78810a08dmr3263242pjq.181.1648693665574; Wed, 30 Mar 2022 19:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648693665; cv=none; d=google.com; s=arc-20160816; b=lZsjRRPAM1mLSVA1+Mw762mRyU5c9nOyyourZ5noOcbyLS6294vUAxEk+b4ZCCxq8p 3rtxSEptkgFIVc8mBy/0EEwALXCBIW6VUavrVctRyw6ajWUKBXerh/FIlDChYmwN4IFa OuJM8prKTRXEjdMVwiEhA1v3qNEf9Z7M9eSgKfgT5kOnD2eFPkij/ywkS/nrBJ70rPcy u+7anFElG2EHZVbztWcaYbuLsH4yzwYMxC9jSMHKb5sCtdnwF5K7G+rO6oWxkHL/LJjy kvMzAR7bfFMOq8U7M1S1s3GiO/h14Boct5e4tAoFe0C/bjDZXB0z7pAoq0e1LdX1LEgm 9tGQ== 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; bh=Pf5O9BOMlhExelFqjSBSvB/k0y9judkm70ZQ0BiGJa4=; b=DZ2KaNqOTU1My39P0TuCfeACUZ+Fh0gdVNIsEyAFxGXbcBhGUqoc5Ft5gWSD1stelr bAiT+oEH9TD7I0nJFJ1mNAVWU5VMQMfjHY1POVCuLssv3yHqwTh7ugZ8MaTr2oaNlXbc KQJRKW7LauxVUNEa72cNCFf3wnQNHn0S6S9MM4UJaCBiR9LSbJCbxU+U0EC3up5aMybM 3qDj9oPICWfYbZS/xx7W1RKUBT09Y0IPLcoshdsiKT3uv4FaB2FRM1OgS8rBMQZPOGjX 8pcfGcJK4ebQe7XYd1ExcP7OVl1IiguB85hUNcxpTK7+uzy4Ohc3y7JISmPSvBp3HI4s 9aXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f6-20020a63f746000000b0038230a366f9si23173866pgk.156.2022.03.30.19.27.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3410A70CD7; Wed, 30 Mar 2022 19:26:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244020AbiC3H4b (ORCPT + 99 others); Wed, 30 Mar 2022 03:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244000AbiC3H41 (ORCPT ); Wed, 30 Mar 2022 03:56:27 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A84C3CD8 for ; Wed, 30 Mar 2022 00:54:42 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZT9t-0006Qu-Jg; Wed, 30 Mar 2022 09:54:25 +0200 Received: from pengutronix.de (2a03-f580-87bc-d400-5314-bece-822a-622d.ip6.dokom21.de [IPv6:2a03:f580:87bc:d400:5314:bece:822a:622d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id BC4C956C76; Wed, 30 Mar 2022 07:54:22 +0000 (UTC) Date: Wed, 30 Mar 2022 09:54:22 +0200 From: Marc Kleine-Budde To: Ondrej Ille Cc: Pavel Pisa , linux-can@vger.kernel.org, devicetree@vger.kernel.org, Oliver Hartkopp , Wolfgang Grandegger , David Miller , Rob Herring , mark.rutland@arm.com, Carsten Emde , armbru@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Marin Jerabek , Jiri Novak , Jaroslav Beran , Petr Porazil , Pavel Machek , Drew Fustini Subject: Re: [PATCH v8 0/7] CTU CAN FD open-source IP core SocketCAN driver, PCI, platform integration and documentation Message-ID: <20220330075422.4kxnayrdcxz7o5lo@pengutronix.de> References: <202203220918.33033.pisa@cmp.felk.cvut.cz> <20220322092212.f5eaxm5k45j5khra@pengutronix.de> <202203221419.23089.pisa@cmp.felk.cvut.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cn4afc3s4rdrhxit" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cn4afc3s4rdrhxit Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 30.03.2022 09:46:08, Ondrej Ille wrote: > sorry for the late reply, my work duties are keeping me very busy. Known problem :) > Let me just quickly comment on topics discussed in the emails above. >=20 > *1. Separation of PROP and TSEG1* >=20 > IMHO there is no real benefit. The reason why CTU CAN FD has this > split is legacy. First implementation back in 2015 had this split > since I wanted to follow the standard. In HW, the first thing done in > bit timing logic (prescaler module), these two numbers are added, and > all further resynchronization/hard-synchronization is done with TSEG1 > value... Thanks for the insight. It's not easy to get in touch with the developers of the proprietary IP cores :) Never the less, there's another IP core which has different sizes for the prop and tseg1 register. So an update of the bit timing constant would help both. > *2. Number of TXT Buffers and RX Buffer size:* >=20 > Pavel already replied with TXTB_INFO. The same role has the RX_MEM_INFO > register, when it comes to RX side. Thanks for the clarification. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --cn4afc3s4rdrhxit Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmJEDKsACgkQrX5LkNig 011BUgf+NqPIJ6CCygkw/buy31ULqwkYdG2fEk72GHxm3xFCjGQ7hVGBD5VKA03s t4Phc2iZYEmQhKIOtHRVV73LGLW7lTQoJoMfbrMZNSxZy0JVS+4W5a82U3f5+2BL QW0OHSJ70ChwrMpprbA0Ziko/ij7eSYhliD5gJ5JN4xXNzx4QjGuxKe6s8n4FhUg NA0uZueotu5rWScNkquy9GsE1Va1Nnrc0/a298V3ycjiSKTrWDJ9UXmBNHKyGohr bJNUutzmGSdI9eLQHj/LbvGjPjnPV71maQKG2eGNgr4YNq2dA+cKGxnfoTFFmJOv DjDdy0Mke7BS8jWrTnSpZWOnXXCirw== =g9uh -----END PGP SIGNATURE----- --cn4afc3s4rdrhxit--