Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3348222pxu; Sat, 19 Dec 2020 23:16:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDj/vw6mVCEof/+yPDwUiDHcq7sZrnEmBS/lDr9+kXjNnWz8i8UVkNMdbWN64CFwH/6bOt X-Received: by 2002:a17:906:3401:: with SMTP id c1mr11141853ejb.156.1608448575248; Sat, 19 Dec 2020 23:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608448575; cv=none; d=google.com; s=arc-20160816; b=OpXLeWHR3+Lc9asDWyW5X1OVJuRWQxsWnYq03VTQnEHhdDw+jIlyya39mc7Kyijw5Y c/y4fa0DJJz6YobbZcNegcqwsmcXtQ4pBsMg9+drnDJ6/CfetFVy1i0alB6z4bQ4DGiw ZKI4Pc3Lv0TfHogQOY6a6y779vIV2RczyivfJT9o4ZHVstNI+DlvDJO21GqonD2OovIy vFpyPyfUOdV+XcIdcUMiWpnenCMG7BgVqzvgEeQCTCgqWKYrH/X/cPT8ABwlPcgzWxiy f8aQ73LRqAu61PHINuhYZCEgASQcbjlkPKXppD0TG+dMu8ecPfgPHvo8MjMEotHaUMtj kRTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IXhB2SQjJq9b1LPvybeOJjwRbUMk2FUypTPSrUyyhXc=; b=hkVfkmiJBslWu1WJEsm15vQ2G6/oP2ShUARkPILu3sSPslOhlLbi7fPsmvuTp77m8p ocFUmb83OVI1FTXHIfxXqZ6yINA0FEB2vDGufHclTdQKz2oOtq2sOU5AL7voPzrK2Q0W U3tPSJstaoQlbsqgnMhgmFaSwDhhT82yYw861EBJD4c1Vg8M6nPMOY8BEg5PQcqBVT1U X1R4Tzq+fU5qFBM7jGVoogid5vcrtj2tpJ2qJDFYQHO4stlq52sewSvCVvKUwR+3XgR1 o7OSg+22gpZOFnx12WTGaLLuFliGMviLHvBHWDIw9uuemc2V5YcddHHUwTcFVNcX9TS3 5vsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=aoH3aTVs; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 11si6459623ejw.721.2020.12.19.23.15.36; Sat, 19 Dec 2020 23:16:14 -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=@broadcom.com header.s=google header.b=aoH3aTVs; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbgLTHOC (ORCPT + 99 others); Sun, 20 Dec 2020 02:14:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726985AbgLTHOB (ORCPT ); Sun, 20 Dec 2020 02:14:01 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45225C0613CF for ; Sat, 19 Dec 2020 23:13:21 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id h22so6594655lfu.2 for ; Sat, 19 Dec 2020 23:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IXhB2SQjJq9b1LPvybeOJjwRbUMk2FUypTPSrUyyhXc=; b=aoH3aTVsovFSuRxtjUVdA7yyXzVJ72vDLVk5qobSwPRadfPeMx5RkUOIz/wpzXjivQ S7XkxOE1nQGgjY7cHaVJizV63TnBSRQ+wtCGqWtdK70rJA+/9w+g6xY2JRIDG1T0yq0Q vSaRc6C637Eow5d7//UcYnOGBHEiXyyLdkkMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IXhB2SQjJq9b1LPvybeOJjwRbUMk2FUypTPSrUyyhXc=; b=f5VVlcANa59slyIJd7PzB3yuT/8MkYZyTePk5YV5qYlnG5owmK8+F0sLfiUgTGFaoi jxjxXRCuCpUv/Eq8d62MokqnfggeZKPfcjyLcnUbRQxZAKvb4fjvZ41miyV+RWPWTi/f IfVZU+ywKy64n5sPSaOpPo9bREzfDUkh4Si9Y5oLdmDuxDAgvtOCU5GW2mjH7MdEUmb0 /5gwYa/nXvxHmgmKdwHx6tcaAEKjvG9SNcnx+AQSH5GKU/C8jN4b0GD26jyFH+gApdBI fYUOYlC0NzonGaVMkpG62F9BQqeV7kbTcmVz59LGSTP4pWuzAXdAfpixuOGbiG31DT0T c57w== X-Gm-Message-State: AOAM5316WqGGDJOHPedTHak1CKmMwsAXJTU9n6L7mR6ckvBUCTTlqciL lVCbmsEBh1UUsCRdaOUvmCFSQ992b+ZW67mpk0W1+HGGLFaACDT8qF+zy2nOv3et2y/n0Yx+wgL 8PWI3f2VvWtjpGsHlxe2/0Y2X5vKaoXQ= X-Received: by 2002:a05:6512:314c:: with SMTP id s12mr4247282lfi.100.1608448399256; Sat, 19 Dec 2020 23:13:19 -0800 (PST) MIME-Version: 1.0 References: <38a23afc-57da-a01f-286c-15f8b3d61705@broadcom.com> <1605316659-3422-1-git-send-email-dphadke@linux.microsoft.com> <20201202143505.GA874@kunai> <23a2f2e8-06ad-c728-98eb-91b164572ba4@broadcom.com> <35541129-df37-fa6f-5dae-34eb34a78731@broadcom.com> In-Reply-To: <35541129-df37-fa6f-5dae-34eb34a78731@broadcom.com> From: Rayagonda Kokatanur Date: Sun, 20 Dec 2020 12:43:07 +0530 Message-ID: Subject: Re: [PATCH v3 5/6] i2c: iproc: handle master read request To: Ray Jui Cc: Wolfram Sang , Dhananjay Phadke , Andy Shevchenko , BCM Kernel Feedback , Brendan Higgins , Florian Fainelli , linux-arm Mailing List , linux-i2c , Linux Kernel Mailing List , Lori Hikichi , Ray Jui , Scott Branden Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000081e3ac05b6e01318" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --00000000000081e3ac05b6e01318 Content-Type: text/plain; charset="UTF-8" On Fri, Dec 18, 2020 at 12:41 AM Ray Jui wrote: > > > > On 12/16/2020 8:08 PM, Rayagonda Kokatanur wrote: > > On Wed, Dec 2, 2020 at 11:14 PM Ray Jui wrote: > >> > >> > >> > >> On 12/2/2020 6:35 AM, Wolfram Sang wrote: > >>> > >>>> All review comments are scattered now, please let me know what has to be > >>>> done further, > >>>> Are we going to change the tasklet to irq thread ? > >>>> Are we going to remove batching 64 packets if transaction > 64B and use rx > >>>> fifo threshold ? > >>>> > >>>> I don't see any issue with current code but if it has to change we need a > >>>> valid reason for the same. > >>>> If nothing to be done, please acknowledge the patch. > >>> > >>> Valid request. Has there been any news? > >>> > >> > >> Sorry for the delay. I just replied. > > > > This patch is tested and validated with all corner cases and its working. > > Can we merge this and take up any improvement as part of separate patch? > > > > I think that makes sense, and I'm okay with these patches going in as > they are now. > > Acked-by: Ray Jui Thank you. > > But please help to collect precise FIFO access timing (later when you > have time), that would allow us to know if the current defer-to-tasklet > (instead of thread) based approach makes sense or not. > > Thanks, > > Ray > > > Thanks, > > Rayagonda > > > >> > >> > >> Thanks, > >> > >> Ray -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it. --00000000000081e3ac05b6e01318 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQVwYJKoZIhvcNAQcCoIIQSDCCEEQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2sMIIE6DCCA9CgAwIBAgIOSBtqCRO9gCTKXSLwFPMwDQYJKoZIhvcNAQELBQAwTDEgMB4GA1UE CxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMT Ckdsb2JhbFNpZ24wHhcNMTYwNjE1MDAwMDAwWhcNMjQwNjE1MDAwMDAwWjBdMQswCQYDVQQGEwJC RTEZMBcGA1UEChMQR2xvYmFsU2lnbiBudi1zYTEzMDEGA1UEAxMqR2xvYmFsU2lnbiBQZXJzb25h bFNpZ24gMiBDQSAtIFNIQTI1NiAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA tpZok2X9LAHsYqMNVL+Ly6RDkaKar7GD8rVtb9nw6tzPFnvXGeOEA4X5xh9wjx9sScVpGR5wkTg1 fgJIXTlrGESmaqXIdPRd9YQ+Yx9xRIIIPu3Jp/bpbiZBKYDJSbr/2Xago7sb9nnfSyjTSnucUcIP ZVChn6hKneVGBI2DT9yyyD3PmCEJmEzA8Y96qT83JmVH2GaPSSbCw0C+Zj1s/zqtKUbwE5zh8uuZ p4vC019QbaIOb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