Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp184923ybj; Mon, 4 May 2020 18:55:18 -0700 (PDT) X-Google-Smtp-Source: APiQypJ5qgFeaopcKw5o/3Iu/yPRV1k8cOq+JfJdu1309btN2gVoalMgQtiizEKTRJBjP2qvab7j X-Received: by 2002:a17:906:57d7:: with SMTP id u23mr566287ejr.354.1588643718529; Mon, 04 May 2020 18:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588643718; cv=none; d=google.com; s=arc-20160816; b=Pe0ct4ZYDpbBIIdU6uObg1VDRAa6xitDs7JaMG/fY8A0sjRDRvaSj0rVYK3qSs5hgC 4vEj5JXkhc73VXRRrNa5q0W/nW6NnIgEoZ7MlE6TD/Mp1Rct+gHfsb24sU6hC7GGZmU7 535ebhiPXcg9c/UoMf5SjWz3APrfcIpBsPLUwSK+qusaUE044o5dH5kXyhdLZttsrxrd FqJp5715/MKVw8tRgU/xIgovRsR4ZOmf7+7SevYIHyEet9/MxuoqrHFIxs9K4y2r1x0P 2x5Vg9Zt+kzEkZ1FNx/aY5NcIhbNKnOdM1sP9plxBAulgwwyWrR0Un2SvKCNJQjhtEGj 95Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=PfjLhrL8p1pEtYEtQ4lNhpf5XAjj5X2NjzJZppTO/4o=; b=P6gfkxLOh/TtoD083cKaN7h8oCvmkEAXQzXmlrjlnLD1ZP9gkDi1Zz1zxVnB6jTnY0 vX9rwLSWJ3fN1db9GCp/59D6ga+mm0vtxT1fy6FNWs0FtF4JN1QEIAkTdEPt4Z78iW4B Sja4CwpQyBMJYSuSk9xL7q895YXXSkfcCM+LUvF8x/t60lSeXEonMmnr9VOXI0Q1JWIJ BpAOWi4Tpq0IdkNCGxyMRwWlnt+hYdSsvzK8sCGcRi60px9rYAI8q3YgRe+ZLiueiQEh DZdfDPuXH8cevLb1SDZJO9+lsDXYPJKLwSTK7vH7NjJzfFKm3rO9uOPlzoppvP07Bzlk Aefw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw1si217287ejb.294.2020.05.04.18.54.55; Mon, 04 May 2020 18:55:18 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727784AbgEEBwk (ORCPT + 99 others); Mon, 4 May 2020 21:52:40 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:38961 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbgEEBwj (ORCPT ); Mon, 4 May 2020 21:52:39 -0400 Received: from mail.aspeedtech.com (twmbx02.aspeed.com [192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 0451fnFT030573; Tue, 5 May 2020 09:41:49 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from TWMBX01.aspeed.com (192.168.0.23) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.620.29; Tue, 5 May 2020 09:52:04 +0800 Received: from TWMBX02.aspeed.com (192.168.0.24) by TWMBX01.aspeed.com (192.168.0.23) with Microsoft SMTP Server (TLS) id 15.0.620.29; Tue, 5 May 2020 09:52:02 +0800 Received: from TWMBX02.aspeed.com ([fe80::997d:c0a7:f01f:e1a7]) by TWMBX02.aspeed.com ([fe80::997d:c0a7:f01f:e1a7%12]) with mapi id 15.00.0620.020; Tue, 5 May 2020 09:52:02 +0800 From: Ryan Chen To: Benjamin Herrenschmidt , Wolfram Sang CC: Brendan Higgins , Joel Stanley , Andrew Jeffery , "linux-i2c@vger.kernel.org" , "openbmc@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v0 linux master] i2c/busses: Avoid i2c interrupt status clear race condition. Thread-Topic: [PATCH v0 linux master] i2c/busses: Avoid i2c interrupt status clear race condition. Thread-Index: AQHWHdeQ1mqTBOPAdE+n+yVhmYVsFKiPNOCAgACLErD//4h6gIABsZgAgAfJrwA= Date: Tue, 5 May 2020 01:52:01 +0000 Message-ID: References: <20200429033737.2781-1-ryan_chen@aspeedtech.com> <20200429075357.GA1957@kunai> <56add9c6e6b5410986325a1360466e4b@TWMBX02.aspeed.com> <20200429090355.GA2891@kunai> <232b9fac588beb4d024ab496b118c51af2b0ecba.camel@kernel.crashing.org> In-Reply-To: <232b9fac588beb4d024ab496b118c51af2b0ecba.camel@kernel.crashing.org> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.2.87] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 0451fnFT030573 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+IEFuZCBpcyB0aGVyZSBtYXliZSBhIEZpeGVzOiB0YWcgZm9yIGl0Pw0KPiA+IFtSeWFuIENo ZW5dIFllcyBpdCBpcyBhIGZpeCBwYXRjaC4NCj4gDQo+IEkgbWVhbnQgdGhpcyAoZnJvbSBzdWJt aXR0aW5nLXBhdGNoZXMucnN0KToNCg0KPkl0IGZpeGVzIHRoZSBvcmlnaW5hbCBpbXBsZW1lbnRh dGlvbiBvZiB0aGUgZHJpdmVyIGJhc2ljYWxseS4gSXQncyBqdXN0IGEgY2xhc3NpYyBwb3N0ZWQt d3JpdGUgZml4LiBUaGUgd3JpdGUgdG8gY2xlYXIgdGhlIHBlbmRpbmcgaW50ZXJydXB0IGlzIGFz eW5jaHJvbm91cywgc28geW91IGNhbiBnZXQgc3B1cnJpb3VzIG9uZXMgaWYgeW91IHJldHVybiBm cm9tIHRoZSBoYW5kbGVyIGJlZm9yZSBpdCBoYXMgcGVyY29sYXRlZCB0byB0aGUgSFcuDQoNCj5J IGFzc3VtZSBpdCdzIGp1c3QgbW9yZSB2aXNpYmxlIG9uIHRoZSAyNjAwIGJlY2F1c2Ugb2YgdGhl IGNvcmVzIGFyZSBzaWduaWZpY2FudGx5IGZhc3RlciBidXQgdGhlIElPIGJ1cyBpcyBzdGlsbCBh cyBkdW1iLg0KDQo+UnlhbjogWW91IGNvdWxkIGFsd2F5cyBhZGQgYSBGaXhlZC1ieTogdGFnIHRo YXQgc3BlY2lmaWVzIHRoZSBjb21taXQgdGhhdCBhZGRlZCB0aGUgaW5pdGlhbCBkcml2ZXIuLi4N CltSeWFuIENoZW5dIFRoYW5rcyBCZW4uDQoNCg==