From patchwork Tue Oct 16 03:01:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10642641 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D0F5214E2 for ; Tue, 16 Oct 2018 03:02:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDFB929E87 for ; Tue, 16 Oct 2018 03:02:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1DC629EBF; Tue, 16 Oct 2018 03:02:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1487329E97 for ; Tue, 16 Oct 2018 03:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=iBn5ukckAUICoXOXubG3wjA9OehGhsascU2JHXO2fdA=; b=Rhx SbDeglV1fMoALoiFS9I94jVPYS5xzeZHO6VTNlR/AAqsbx/BDRcUjULXIWEFwYlq/yuamj8wQG2Bn 9Qutzef/FMx9o3ofilKrjuXUy+kTR3CN1JR3s8EPeqTOLMqASd3yo4LdUVJwPR9hkRfrKBcil5opD tSAVRptsFYpLdPcZFemREOzTm24PJdeCgA+luLIFHKvomDnAu5UXqBgd5c9kn4CR0wpqbOZV/kAYw f4yIkWoBrKELxUkdXgqiBrFWefZo9OYThkC3imwAfSZdeulwzyYS+ifJfAIXVDC22ELnRM6axsprV dmBsmtBOUtyKhPhULuk+SCAeq2oScMA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCFcj-00081E-F9; Tue, 16 Oct 2018 03:02:21 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCFce-0007xU-Ne for linux-arm-kernel@lists.infradead.org; Tue, 16 Oct 2018 03:02:18 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id w9G31q7D017707; Tue, 16 Oct 2018 12:01:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w9G31q7D017707 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1539658912; bh=3+DBLGjXkF5C+3nNMUWftHyifNeqRg+ws54R/o/LmFI=; h=From:To:Cc:Subject:Date:From; b=Lj6IzaRS5k0pgs+K6UN86QcA/6xfOfBfsdMM6hl5Hjh0K3ySgLHSF0fGSG5IAfcjC zLvpaDGrgZ2+FW0cRoGkcZns2APbGa6LEtZo5g+zV3Jn4J5rwQU+jxzK2vcZJ9i8DT P+rY13oHjtf1u6xdUgjK8SwsRYGJXOCJCQ+Hyvd4ABvJJJuWhmuUBQg7EWhu8tE7+W 72Mqy4FN2QdmmBIbnHCj7FF7TzrPTUWgoB5+aNyILNiU2pTVh1fxpESip+UGKHXpsv ZNLFlg4KedvJ4HIVkAq/41J/ul/RA+oD24bbnvpaaTuqBqayeqvFonlL8gs7DoR6jE kOZxi8Ar0K/0Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Wolfram Sang , linux-i2c@vger.kernel.org Subject: [PATCH 0/3] i2c: uniphier-f: fix concurrency issues and race conditions Date: Tue, 16 Oct 2018 12:01:46 +0900 Message-Id: <1539658909-26691-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_200217_133216_7606BEFB X-CRM114-Status: UNSURE ( 5.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Currently, this driver has issues that rarely happen. With this patch series, long-run tests passed. Masahiro Yamada (3): i2c: uniphier-f: make driver robust against concurrency i2c: uniphier-f: fix occasional timeout error i2c: uniphier-f: fix race condition when IRQ is cleared drivers/i2c/busses/i2c-uniphier-f.c | 59 +++++++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 13 deletions(-)