Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7221538rwr; Tue, 2 May 2023 11:10:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ63iuNXic3HSjFAX70KjBlysoLO0uTxEZujsOpDoRnvTV5Mv0nlkaa9/LAaEOgVotkaB1t+ X-Received: by 2002:a05:6a00:2313:b0:63c:1be4:5086 with SMTP id h19-20020a056a00231300b0063c1be45086mr23675938pfh.6.1683051028823; Tue, 02 May 2023 11:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683051028; cv=none; d=google.com; s=arc-20160816; b=Eagw1ZcwyEGYDEqH0fnEUfYJBJk1N1/QwLQLFo9yCx88iIrA7sKp0UqC5Fgtt6gDlX e6tj8Cck6N/Sl4sIbJbUDZrQkt2tAPEO1EmeN1lMYRyuiVKj1FS234KjWCKJFxRPKd3d jD+Lw0V52M9ALLbfIdXRG3drZXn9DDoOLVtwM2+dC8Mzj2sE1Zwi87IRfJHm6XuwtIyG qqrOvD1lUKLyPjemSUzJ2m8/wHTNFImpirkKQR46lKP4PHZMixvN5D7KCN4R1Vi15U/f r6kB0/6GCEi0kL9GgTjFL7wpBrbGObp8cD+ki5/2TDUj2kx8Bsp89SUYz5gyLvb3UXxd Em7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=57AUrOMbyVCCGvx1oTX7k++sR74io/rLQrdY43bX9yM=; b=nQQ+910e8Yw8/S9J2SN4oYzOeFfQVHWQnXSut0Omp+/1VQnIefxrK2eg4UvVKlCBYP tL1xOeopiTEWVUZ5Kag3rJevfDyGBQnymKoPjwiI2DOocHNRgJZAb6/IdOsMnifMqa6d ZoCNnEdyvFvKq292ntZ/ojns656ccHO6nGArysjV4zE45Ww0vqFpWuw7I7ELYG6LG5ty ts5ljB4id1y3fTaRSpbFEQMuf2IeTaICuMd7n67fQVoVS4N5zasR45UpEUvK0MLEPpgQ 1IyhqXpUahU611+ynfqkRnD2mj6DJhBXZPSEOJZA7cOuvmfopYb5DWytFC7Ywult7vwY SPrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="AR/LAfNK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b005189417e923si31827298pgb.882.2023.05.02.11.10.10; Tue, 02 May 2023 11:10:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="AR/LAfNK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233898AbjEBSJi (ORCPT + 99 others); Tue, 2 May 2023 14:09:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233644AbjEBSJh (ORCPT ); Tue, 2 May 2023 14:09:37 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B604BEE; Tue, 2 May 2023 11:09:34 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 342I92lw033054; Tue, 2 May 2023 13:09:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1683050942; bh=57AUrOMbyVCCGvx1oTX7k++sR74io/rLQrdY43bX9yM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=AR/LAfNKRaeC2FuuLHFOnnSczCZYRfVFVquOLTGm3ZlxwRzO/0BCv2F9EsmBgBqQ3 xYdyiX8UNx/Zq2V9ywJbYhbdoEpO/TmCJc70Ys0F4S1ByiQMRwKCWlT7CxE49JsrdI xy16u6fGz6b9zD/bFze1ETIg1dZ+088UzITSs994= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 342I92KR089102 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 May 2023 13:09:02 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 2 May 2023 13:09:01 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 2 May 2023 13:09:01 -0500 Received: from [128.247.81.95] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 342I91S0052079; Tue, 2 May 2023 13:09:01 -0500 Message-ID: Date: Tue, 2 May 2023 13:09:01 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 2/4] can: m_can: Add hrtimer to generate software interrupt To: Marc Kleine-Budde CC: Chandrasekar Ramakrishnan , Wolfgang Grandegger , Krzysztof Kozlowski , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , , , , Schuyler Patton , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , , , Oliver Hartkopp , Simon Horman References: <20230501224624.13866-1-jm@ti.com> <20230501224624.13866-3-jm@ti.com> <20230502-twiddling-threaten-d032287d4630-mkl@pengutronix.de> Content-Language: en-US From: Judith Mendez In-Reply-To: <20230502-twiddling-threaten-d032287d4630-mkl@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hello Marc On 5/2/23 01:37, Marc Kleine-Budde wrote: > On 01.05.2023 17:46:22, Judith Mendez wrote: >> Add an hrtimer to MCAN class device. Each MCAN will have its own >> hrtimer instantiated if there is no hardware interrupt found and >> poll-interval property is defined in device tree M_CAN node. >> >> The hrtimer will generate a software interrupt every 1 ms. In >> hrtimer callback, we check if there is a transaction pending by >> reading a register, then process by calling the isr if there is. >> >> Signed-off-by: Judith Mendez > > I think this patch is as good as it gets, given the HW and SW > limitations of the coprocessor. > > Some minor nitpicks inline. No need to resend from my point of view, > I'll fixup while applying the patch. Thanks Marc, really appreciate your feedback and attention. Same to everyone who helped make these patches better. (: regards, Judith