Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp524637rwb; Thu, 6 Oct 2022 00:09:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4CZpG7C+b4nTUiKf5ol5E2/Qq9+VgG6vV2ya1L4BheaPNcLOycDg5j4EzGtPETyGb0xQxI X-Received: by 2002:a62:e911:0:b0:555:8c06:c9eb with SMTP id j17-20020a62e911000000b005558c06c9ebmr3735651pfh.52.1665040150636; Thu, 06 Oct 2022 00:09:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665040150; cv=pass; d=google.com; s=arc-20160816; b=veeVE8xZ6Y7HfFVgWs3MaxbhcYYH3psNopD/TOJmFpnpVGeEStyZrxpYUH+4LwDE+A 1eK6sGZeivOxvFY6jffj9GmH0U2Sia+j1Ddii0//TXnUbXBpgPkky01OlNubhazMSYhL uxGjhm93MzZoMvQkH3OjmLt8vT57HQiqitHF/Et/qp29S6KIMKLoFEWI0VXdKQCraRDf BoCt3JSGop59cb5xwMewaztQb5kNAWbqi9cLev/31vDmlUQhesCZrgg6w8Npasj1Fx9L QTIsOYMFrDCFusQCnpK/4MAdymuS28kMVUhb/ADBGcc1uq3HBmNBuUXzfeF/+6sdLHlb /h7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature; bh=rwl/ZxiLawggk4l7vXgWAzg8wJsDlKvVU9K1tQXTcN4=; b=YS8oylsqaWYSdpxxTDB+4nXF9hOUwuO27IOPJ+SgWL271zWfCO5Ej1RVaT3CHWp16t 6MU94wP2ilD+D/jDXNZIpvvGAeiBfNaDzzeuKx0a/BCQynMC+PbANTAsQzSajUmGqV3O +2kkhPlSokXgL1KKB41xLCjwJtm9y69Me6cFRPPO4eGVVvoi+laVXpJQxrhvu4ltinIu 6i5efDKB8kzJfWh+zKVWngPQVkamaI5/FFeGFEwgSjqg1N/T+QHdropvfBs5eX3vW3+K UQHVqoVKZ78cwRVEAyiEpEEau+d/sRk6VDevCdUsrYFbYnJQ6oQKv1Rgs+ZB9SKBIJuq WAWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=caeGs+wj; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c5-20020a654205000000b0041b63205786si17849617pgq.293.2022.10.06.00.08.31; Thu, 06 Oct 2022 00:09:10 -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=@os.amperecomputing.com header.s=selector2 header.b=caeGs+wj; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230036AbiJFGoi (ORCPT + 99 others); Thu, 6 Oct 2022 02:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiJFGog (ORCPT ); Thu, 6 Oct 2022 02:44:36 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2108.outbound.protection.outlook.com [40.107.102.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDA433863; Wed, 5 Oct 2022 23:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fkXRtl3dkUmixOf4jFXxbSRQQ5Vpd5FJgEclpwbCjGP2VjmAsDrCRnt8UQXYaNj4vMKAQN8Fh/quACrRIfx7yxv4yBrmJRvori/IxnMUTyw+DfddfgmAfHGp6eS1VsgLjPY9kV9WQ+R3BNJN/RvsxzeJREvF6rttU27sXwupEjh2BBAoSyqMNpTthMvZ38agnLTXlgOhE61FjgoWairOOYZw9/pPetVr5oYEJvvMyhaOx4eR5pJuR14QW/Bmu0GjzPWV24r7M5aFobOgWCwCU+IuDF9nyrMWD7LtICgmzIYqDMcJ8ioDdUS3rx0hoIWRaVILHhWPm5iCyAkeI4yZWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rwl/ZxiLawggk4l7vXgWAzg8wJsDlKvVU9K1tQXTcN4=; b=iPLi1DaDYs2BysD1SlMx8FigtAo/2ZrAdwna4DFbss6mEwjLcV676TrbLjDQzLrUcNYHRWl7b3ZK0gRmSuV6j7DLJeOeVSFSK5T0TynmR3IV922LZM6dbuylkd4TFj9SO3xMV9o3QsrZ4q/9zi5HP0CrRRFFuOjo/4z0UCY5mlGej9XyIgwFmdyynxp/w5PWC0//D87VBEYYYlULVhT3i1xcyIA4kOGyIjUsA752oig3UO+CUMo37rB5w03ohO0RYA/Tu1yvfQadvsFbStr+RD9R4wKepDy/egn/D583aGbfG2dRML2Ygh6rSzE9cX3oa3jTZLiO7+YQ9SqvwidXDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rwl/ZxiLawggk4l7vXgWAzg8wJsDlKvVU9K1tQXTcN4=; b=caeGs+wjgi2g1hUlAIHRLOvKQGA+YPWqCqKk9dwk9n8VHVII+EeLCCVzTNChX3dSuyBH9vBdLRxu9C1hS7LzHzjQqTmq3d0PoMgX0N7DtZeWcAU/PfDCQyyFjIwm/AhSCBHsdGNS/Mb0qxaxMNNC+qxVELYvdaako83LX1ue3Y4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by MWHPR01MB2608.prod.exchangelabs.com (2603:10b6:300:f4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Thu, 6 Oct 2022 06:44:29 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::7d50:e907:8e2e:1ff0]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::7d50:e907:8e2e:1ff0%3]) with mapi id 15.20.5676.032; Thu, 6 Oct 2022 06:44:28 +0000 Message-ID: Date: Thu, 6 Oct 2022 13:44:18 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v10 3/3] i2c: aspeed: Assert NAK when slave is busy Content-Language: en-CA To: Wolfram Sang , Randy Dunlap , Corey Minyard , Rob Herring , Krzysztof Kozlowski , Brendan Higgins , Benjamin Herrenschmidt , Joel Stanley , Andrew Jeffery , openipmi-developer@lists.sourceforge.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, Open Source Submission , Phong Vo , thang@os.amperecomputing.com References: <20221004093106.1653317-1-quan@os.amperecomputing.com> <20221004093106.1653317-4-quan@os.amperecomputing.com> From: Quan Nguyen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR01CA0177.apcprd01.prod.exchangelabs.com (2603:1096:4:28::33) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR01MB7282:EE_|MWHPR01MB2608:EE_ X-MS-Office365-Filtering-Correlation-Id: b96fa78f-f395-4858-b973-08daa7663780 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ibrn7eWr37fRYMmNH2RTBpWAJobBt4Gl+vD2AAII9bZWnlgr1lTNANoTcSHXaSxt743G5yAqJBRsHOuFH2pJf1RfIrsboW+znrczK0JfAVG7em1wUecr08lBD3SmMXuEruNxx1R0mHOXI82H05vu/xepLlwFoMxtkXPWMTRo3TRJwqBnwpfBnQEJgsNj0qpgP+hZZ98ihbUX2vdbZ1wjr3u3a1YB/uqWmPUyRo8OyU6nBVTQ7A7/9Q2dYLDMwQV+KFrOdm4dkTnlYAJzU1l7vv3FWl16v/2ObwBVGElDbsI005iUqH/ze+ccuXk5yU2Gjnp1X8awIcJDv1+0vj4/KZobC8amekhPACx/MAUik6oR9OXMWPsRo/FcXJ3tVKZXDz+qWbXAUtOLGvKhX54Dk9MVLhCUDBYSEuI0IZaQ634rcDLl/YaqYM4KfH8sr/7SoXU/GS2EURZxRxTC/ZpTxkwbFzFbkObWGIFvvmprVRQ0LHBTbprc3W+LJ28HO7QwiXSsrX8oXNb1JgEsgn7UqqI6/hke+Mjco2DjxXJr06RL7HMLfDl8lSAfnd6FZBp/vOMHEhgRPc3TPqLCTWxjIUffZapRSZviwhz4cl690r3QD7mAlPTXoYf72DqO4pOSkPwMehY3nqSXhnH8RbMlbq566bHc1EoUEGHWL7/CEJWFMIdtkgTLo2QfQe+cCRNonoY3u0dTwkYMCd0GtorEpC2mmABEe/9pi+DhZqzkC7Zi/COIOKmj4iiQrpxhhweiT9YUNdxe1ELEucCurvnV1pgvb3NyzzhLyHHDvZuCJPorae6mzh4LRaA9PT/eV8lH X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39850400004)(136003)(376002)(346002)(366004)(396003)(451199015)(31686004)(8676002)(66556008)(66946007)(38350700002)(86362001)(38100700002)(66476007)(6636002)(110136005)(7416002)(4744005)(316002)(31696002)(921005)(6486002)(478600001)(53546011)(6506007)(52116002)(26005)(6512007)(6666004)(41300700001)(8936002)(5660300002)(2906002)(2616005)(83380400001)(186003)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TXl4ZE93cHZtQjd4eGlQbDdTa0xJeExoNE11Z1dRNUpkTzJ0M1RYZHBDclNM?= =?utf-8?B?WFRwWDBIN0JCc1dPVTc2ZkxYQzJZS29DVzZaRVllRXFuNmczYnJERFVOcVB4?= =?utf-8?B?aUFJTDRYeHdtNDNid3NMSVJqdDhxWC9KeXFmSTNXTUNBcCtKczNQZXd0b1k0?= =?utf-8?B?c1dIejhiZzRzZlYzeCtoRXhPTndjWUdwUzdVRW9qYTVRUzUzZElrNlU5U1Rt?= =?utf-8?B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YUp1djBzYjl6U2w1K01INkFaVFhmaFl1U1Az?= =?utf-8?B?dENnZEQvVlp6UVl1enBWc2pQWWpyUzg0WnFDYXlJaGRyYjA4YngzV2h0SGhi?= =?utf-8?B?UG8vVVRWdHNNR2xOK1hHL2RadWZpQzU4MUh5NlRndit6THlVMDJiQy84dEdV?= =?utf-8?Q?n1BIiSgvKUH3uWrZ4PAUmhM=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: b96fa78f-f395-4858-b973-08daa7663780 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2022 06:44:28.9101 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: a5D8Z4A+5kf4W0HKWz3FYZKVfrsLdqF0G3R3ZOFXgdXEoXapsXI37OZ2UcxTaU8tHRzlxAdgarAOAM5RL5LiQ+WFMJxmTlTAMrheLKvVnUs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR01MB2608 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 Dear Wolfram, Thank you for your patience with me through many versions. Best regards, - Quan On 06/10/2022 02:06, Wolfram Sang wrote: > On Tue, Oct 04, 2022 at 04:31:06PM +0700, Quan Nguyen wrote: >> On I2C_SLAVE_WRITE_REQUESTED event, Slave already ACK'ed on the address >> phase. But as the backend driver is busy and unable to process any >> request from Master, issue RxCmdLast for Slave to auto send NACK on >> next incoming byte. >> >> Signed-off-by: Quan Nguyen > > Applied to for-current, thanks! >