Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3003087imw; Sun, 17 Jul 2022 23:19:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tFS9ZaCYuFYFS+j/yZmNK/LaKBVXPzhSIbWvGR0jAi5uuFIDWuD44ix/rU0xojcuSuVa8U X-Received: by 2002:a05:6402:950:b0:43a:5194:174c with SMTP id h16-20020a056402095000b0043a5194174cmr35241069edz.145.1658125153376; Sun, 17 Jul 2022 23:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658125153; cv=none; d=google.com; s=arc-20160816; b=sN6ZvfkHJ2vNNQOYQHRHdGmavs2RuZZzDTYBacXfCTymOIIDkuQtUIuAFIUL4kE3j4 kUNKbq59Yj6KJHkDuimb8uB30O/IzD4b+oreIiRKnIRiXfGjI6zcqyk4s2LOMFks3cbq p1ZvSMr4mXWx7O7oPoCKy4U3USLRogO+s/HvTs8wLkaKXz6A6i1RLNgEvLs8YpDHxpAi tembelLmHcIBNOsgSVJR5HX1+Fe5WWlyCdde87K2HOOU1Lc5ZsmkWXsSsOGXWK9tRpmR +b2dOY1jhZQPnSWiflBf8aUtTdyFq51HqNLmI2AYEZLhHJXYI0Q1L1y75zvP6C8UbDV+ aV5A== 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:dkim-signature; bh=cPQgJYmIT5nTjghMA3Y4dWb9BzUbYKLR6Pr1eKtfLkE=; b=ba96w1djAlesQPbRyjtl3G2l4lb3dc60bj4t1RWwdkdde+dx/nVoqe2XJV194gUgar RVwzjusRuoxzA6ii2kqk4wGkUbLiQdSu1XAFcWSSsDbkhcpKpCmsXn8mBkneR+Lp/KyM HJDLuYZwdYsnk231XG72SZTLuVRGBMV9ATBjj4/OllY9bhIlDDWAVvpw/ISIhMH7PHBu c8IXojl9+2LkyQkoVWjURZtwu+snrg+CL/wD7kJSzNZM83hHERN1SJeXc32oqwCncuwp NFiPXLjXJ5Vbs8QElCdliE6J+p0NH8MPztilJwa3W1zy01VRfRx2/g65n/HTfWi8nuLK 7zzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AHCU3z+W; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs7-20020a1709072d0700b0072b95dee668si19858538ejc.489.2022.07.17.23.18.44; Sun, 17 Jul 2022 23:19:13 -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=@kernel.org header.s=k20201202 header.b=AHCU3z+W; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233288AbiGRFgq (ORCPT + 99 others); Mon, 18 Jul 2022 01:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbiGRFgp (ORCPT ); Mon, 18 Jul 2022 01:36:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B726E003; Sun, 17 Jul 2022 22:36:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 368E7611FB; Mon, 18 Jul 2022 05:36:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A9C4C341C0; Mon, 18 Jul 2022 05:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658122603; bh=y8noT6CwOTcKojJQk+6fCk76Eb/AWagYN58luctz8lI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AHCU3z+WbO51OuUHDtbdXuIQ02adOzFh0dmB+M0OudATEYze1+zbE6Ec/l5U1bY8v pe5xxt6tKyn48tZn70v8zfluJQSCukS1jCI3sOLa+r+21S+2pFEGtxZ/sgevIYTS7e w5PditBPl43OyRk6SZNxW2vdTjYHrwAyE5QYlZgh1zzWlYIdA7vwjfWBmLnXPj0t33 i+/UuFQ2KJbx+s2YQTjI4vX4M8W6cQPb61mzP2SLInXRImF1ZHg0A4+CyfGw6YA3lp AtB62TT6ikqQdSHidvtrSMt8bK21/WRX1Y7zyjIvxCl95YozGJbESMyRM/WJIDaQrm F5pPf8809B2ZQ== Date: Mon, 18 Jul 2022 11:06:39 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Konrad Dybcio , Wolfram Sang , linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] i2c: qcom-geni: Propagate GENI_ABORT_DONE to geni_i2c_abort_xfer() Message-ID: References: <20220717035027.2135106-1-bjorn.andersson@linaro.org> <20220717035027.2135106-3-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220717035027.2135106-3-bjorn.andersson@linaro.org> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 On 16-07-22, 20:50, Bjorn Andersson wrote: > Waiting for M_CMD_ABORT_EN in geni_i2c_abort_xfer() races with the > interrupt handler which will read and clear the abort bit, the result is > that every abort attempt takes 1 second and is followed by a message > about the abort having times out. > > Introduce a new state variable to carry the abort_done state from the > interrupt handler back to geni_i2c_abort_xfer(). Reviewed-by: Vinod Koul -- ~Vinod