Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp13661lqh; Fri, 3 May 2024 11:46:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0f1euWQsvSR4sxSyUiOohwRxckBVlzJxjeOw1O7DE9D7WUrSfhSYZixOqskgSco+zGCOsOx/7mvvITv2xkz7tqsadlLhID4qUqpyPhQ== X-Google-Smtp-Source: AGHT+IG4x5MgjkKBDT9fKn5av7i67gzv8ZV01A97kvJoXqsenBlHpToOHNEbtMO/TVAEgLpHKpXn X-Received: by 2002:a05:6a20:2a09:b0:1a7:9e85:c28f with SMTP id e9-20020a056a202a0900b001a79e85c28fmr3397301pzh.48.1714762006289; Fri, 03 May 2024 11:46:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714762006; cv=pass; d=google.com; s=arc-20160816; b=qMWpcTwCI5jOHwOmwMojWj4E7JOpUOBU5ftL8in/6OcBFgEyrdj4jYGaEBKW2onNf/ G96m8Xd2UtMbLH4kygwC6Hg00vUenyvIUZJW4jCIty7QD+wdwQ7H3jQUHz2OLMF0JqTd v5kxgOeuWSR6jqfWCsblIzrZddHB8xD05xNAf16QReYhZqx7qhAHI3dAGyPJ9S1Quz0A QB9hc56kptdNfpgxZsT5loVrt0fZe9PFABEyhfc9k+frEaN8VDOwBStDtUJSHLt/7b0o ixC6y3LmLM/5Zs9PGpWpiRwE/x6ID9vHE3Hbb9PBx88tfXPucteouuL7mdH8jk41pxKq RZ2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ih+e76ruZ/f4LGK1sUH/dk4Ah49JBe3vpLGTtHlshBU=; fh=TcyaR8klfpTB5DCGADpGwFbLbSihC4wekxMS4zguoHs=; b=A2DYmP8qBQPktqjdon0r6IZHxmgQSVOm1/mbju2GjvtME6p3l1eL3Bc9BK2LdRHtHL 5vsAg1XM22ziw8zFicLd0b+FAhGl7gFtqS1Jfgc0vLyOj/ci7hNw4p1Y/pInLxOBoNR4 xYysgAn4qHAU7w7R4pO1wcn+NldBt2oncmsqN9LHY/eI5/qV/LcKqERKHp9rYX1d7FuP KKb/RzGUgJhXc1vhMQ3QsFkPdrrx8p3urpwoBMvVQSPEMygv4u0m2GSpkpTXwEcyqLfP 85bvnPu/Rj368eHfbhow5CmkLTLdCc+seuqDCoqwjeIa+jNAB4ydjhI7T0VuvOzc32GI 0wSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LZui5+Gb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id a13-20020a170902eccd00b001ecc6bade44si3490563plh.13.2024.05.03.11.46.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LZui5+Gb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0DDADB21C71 for ; Fri, 3 May 2024 18:46:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BC5812F38F; Fri, 3 May 2024 18:46:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LZui5+Gb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FB96D51A; Fri, 3 May 2024 18:46:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714761991; cv=none; b=KlbJcVIHleOILW7QydbSryKmfEnk+ziHdlnRI8n5oDgZynZblv6ixBFFXMtH8I2DyYrsAdedakCZXibRtzkgpIvPIIGF4j79qi6N2gjszxKcVz+BdIg2igUxUDw1EYHxvelmhY00zPW1wmyVD6iFn/txlKs30XBp1YmzpxmuwtY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714761991; c=relaxed/simple; bh=JN/gs0/Qe33+SX0hwKyUGA39LsR6bkgl+VsLQ+TeMBM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RcUnq1nvop8SvGbwAcQpOefrw+X/3csXM0sUurNsW7TbRrxTQ4yIqxZT/4P6XYpgXHXIU3oc+P9r38lvjS2o4eydhzdn5NSziTdiTvEmjViXe+f3/0gC6EJPVTjowWzeQxu3jC4jiZVJ21H/x4wx8m7Goet9nB7rJc1GQ6XDagU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LZui5+Gb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C8FEC116B1; Fri, 3 May 2024 18:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714761990; bh=JN/gs0/Qe33+SX0hwKyUGA39LsR6bkgl+VsLQ+TeMBM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LZui5+GbD4E6SzA1y3Rj0d+mgSc6mcKRqNsfjUgLa3ya/JUK6skEln68/qwBiLwDn 3WeUeo+tQJXVCHBZzg4ckdRgG3NCDRphrBAcutUFa500Msf+cCUW1AnX2pwf/TnKms UiKJ5ffQ6xUeO5B3WQzXsPSa0nkfgTHIwA53KRzgFKmQSE8QUolj/t/VwcTibU8Y8r oWj0kyc436SFTRWdSxxPJms90FmsXG9ihqfHW41Dz2pCyz4r1jkvn1spXw3uu/Fl8W RbMtXm18PhuVaR7oXgkIAf8mqT1DhOSh0y/JpkQu9Dmm2Uxiu1UeM4tyehKlXXAfut k9rSGZE4TF6Bg== Date: Fri, 3 May 2024 20:46:26 +0200 From: Andi Shyti To: Sai Pavan Boddu Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Simek , Lars-Peter Clausen , Wolfram Sang Subject: Re: [PATCH v2] i2c: cadence: Avoid fifo clear after start Message-ID: References: <20240503094208.296834-1-sai.pavan.boddu@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240503094208.296834-1-sai.pavan.boddu@amd.com> Hi Sai Pavan, On Fri, May 03, 2024 at 03:12:08PM +0530, Sai Pavan Boddu wrote: > The Driver unintentionally programs ctrl reg to clear the fifo, which > happens after the start of transaction. Previously, this was not an issue > as it involved read-modified-write. However, this issue breaks i2c reads > on QEMU, as i2c-read is executed before guest starts programming control > register. > > Fixes: ff0cf7bca630 ("i2c: cadence: Remove unnecessary register reads") > Signed-off-by: Sai Pavan Boddu > Acked-by: Michal Simek pushed to i2c/i2c-host-fixes. I will send it for pull request next week as this week is already too late and I want to see a few rounds of tests before asking Wolfram to take it. Thanks, Andi