Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp10301img; Wed, 27 Mar 2019 15:42:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDeXQ5f6AnAGExx5QpegH0ww3QPetUtZnCB+CzY7EyFyRQOkuBxTTngU0e2z5RHWiQbT7N X-Received: by 2002:a17:902:20e8:: with SMTP id v37mr26851822plg.168.1553726568208; Wed, 27 Mar 2019 15:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553726568; cv=none; d=google.com; s=arc-20160816; b=gcQFxuhFjNbE77IYvIT/7ARhzq8o3qB4h1r/UqurCBGvuwY9GkgR+4RCDpVzFzw0of d+mt+fCjC7Opors9cdSSE4AwIvLBMyxMkiSsaLbJezuFppzY4Gz6lsSfFMbRThqPHd6T CAMSwBDqlfr2n0P8b6NcNAjOAzW2MWQjHz78p8Z4VTt6SjMzJU2VgB9uUdQO8YGoNf6g +wTTkQjN73R2FaBI2ort9ge7ls2hQUYlRE6Pce72cqOYsOymkkvRsEjX5/cFPApVQflp vllr2OYHwD1klbinDW3PqUNH57aRD90nuUwmxPIlvGygVvFN2a36J3556JNmQZC10d6M lXEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Dc0kzrLEVWmWNmEWUP8i9abwocB4x6hOG/MMA+NIao0=; b=OJkMJGX/f/bZh7snVXTqlwOG9HmlO/FIGZqk5jpQLtcjBR+z2EMP3WRiNxZeQLCtA9 Zn8I2DGT1u3Fk7sEQlpZNShVTssdF/R75LPnoKB9EHKvdr9cBUDlNsQo2yileEkWd2L7 Hr1yGKy8WohJ2z12aHugIRwuPrwDM5J6Mx/6AXhBGcGKYsNrrBAD8Ys0GAeRFzS0UIB3 MRQuwxSsrrMl0rOwFDHDKC3VBmDmNxvwAmFOQGQbQpO53iCAHKTQbC/axpw8Zwog0I5D AKoUAKuxlSVgfgh4GprOP77AGKvGFxeK7CpdWYMc7sBhjx7GQNuj3HSP59rMXa4KwyC3 //IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si18775355pgr.456.2019.03.27.15.42.31; Wed, 27 Mar 2019 15:42:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727909AbfC0Wly (ORCPT + 99 others); Wed, 27 Mar 2019 18:41:54 -0400 Received: from sauhun.de ([88.99.104.3]:39626 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbfC0Wly (ORCPT ); Wed, 27 Mar 2019 18:41:54 -0400 Received: from localhost (p5486CE6B.dip0.t-ipconnect.de [84.134.206.107]) by pokefinder.org (Postfix) with ESMTPSA id 825872E35A2; Wed, 27 Mar 2019 23:41:52 +0100 (CET) Date: Wed, 27 Mar 2019 23:41:52 +0100 From: Wolfram Sang To: Ray Jui Cc: Rob Herring , Mark Rutland , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Rayagonda Kokatanur , Shreesha Rajashekar , Michael Cheng Subject: Re: [PATCH v5 2/8] i2c: iproc: Add slave mode support Message-ID: <20190327224152.GA19245@kunai> References: <20190214175725.60462-1-ray.jui@broadcom.com> <20190214175725.60462-3-ray.jui@broadcom.com> <20190327221452.GA15396@kunai> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20190327221452.GA15396@kunai> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > + /* flush TX/RX FIFOs */ > > + val =3D (BIT(S_FIFO_RX_FLUSH_SHIFT) | BIT(S_FIFO_TX_FLUSH_SHIFT)); > > + writel(val, iproc_i2c->base + S_FIFO_CTRL_OFFSET); >=20 > Will flushing FIFOs work when a slave is register while a master > transfer is on-going at the same time? Sorry, my bad, this can't happen. Registering a slave is protected by the adapter lock. --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlyb/DAACgkQFA3kzBSg KbZN8Q//eSDQHv6MeKmwMRekegPzcadxm/hDQDIQUXHCjJ9CvIxQVtlU7qLmmMdv zeN78fBCGvLGuKXg+zWWEl/E/7Grp4V9SsAw03/fd3P0t8YfyHEy6qPCkTj12vyW di04vwF1BMPRTK2aBYukG+PsyadGkGpusS9foTFGue/53lcksx7g6IgG3jknwSEJ RHmbHwMBI3WllQWQp3gcpOudmglHZuqmXbOTkf2BrrMPZ2DqO/GZa0Nv7nlyE7St vag7Nbho9kisogNiVUEPC9TT0xYCTGVYBGVeXep5o85zcKacNCow5SAOUoFeIZuP 3XFGjkxnIIyXlBRR0PIL6KFxRXyN7y2HYfU4qeA8Xet8oHcdfqcRXsSJUGcREo4M 6VBtZjslLywN92cub+rZkJQ5Kd+5dauPDjYFRyZfUnB5R6kbOK1BOb3B8HjEESEl oOSUxAudMSmCSqeqKNP0qTOX8vFXMG9MU71QBpet37OUeHVpjgrw0VNb1BenA61x dphA5IB/H8Fi1GIEI5mjl61BgnICJZjPYdqS8hXeB2aQsYr/fhUax7R47FXmESfQ kd6N2BW7wZ69HotE7YP3jMc9gJMtjq5oN0/OcLEZVQPR0/hLR3VALb61F7w6Errw 6kCRUU75IpN2bJKzAej3cf2vAVD1t4hx70F0xuiDQjPzwoHJ/b8= =k9RI -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--