From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Date: Fri, 04 Sep 2015 04:33:39 +0000 Subject: Re: [PATCH 0/9] i2c: rcar: tackle race conditions in the driver Message-Id: List-Id: References: <1441311613-2681-1-git-send-email-wsa@the-dreams.de> <5464456.UnsMOS3MTx@avalon> <20150903204000.GB1574@katana> In-Reply-To: <20150903204000.GB1574@katana> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Wolfram Sang Cc: Laurent Pinchart , Linux-I2C , SH-Linux , Simon Horman , Geert Uytterhoeven , Kuninori Morimoto , Yoshihiro Kaneko , Sergei Shtylyov Hi Wolfram, On Fri, Sep 4, 2015 at 5:40 AM, Wolfram Sang wrote: > >> > So I refactored the driver to setup new messages in interrupt context, too. >> > This avoids the race for b) because we are now setting up the new message >> > before we release the i2c bus clock (before we released the clock and set up >> > the message in process context). >> >> Could this fix the HDMI EDID read issue on Koelsch ? > > I surely hope so. I can't test because I don't have Koelsch. FYI, I have enabled Koelsch remote access on port 8001 if you want to give it a shot! Cheers, / magnus From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Subject: Re: [PATCH 0/9] i2c: rcar: tackle race conditions in the driver Date: Fri, 4 Sep 2015 13:33:39 +0900 Message-ID: References: <1441311613-2681-1-git-send-email-wsa@the-dreams.de> <5464456.UnsMOS3MTx@avalon> <20150903204000.GB1574@katana> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20150903204000.GB1574@katana> Sender: linux-sh-owner@vger.kernel.org To: Wolfram Sang Cc: Laurent Pinchart , Linux-I2C , SH-Linux , Simon Horman , Geert Uytterhoeven , Kuninori Morimoto , Yoshihiro Kaneko , Sergei Shtylyov List-Id: linux-i2c@vger.kernel.org Hi Wolfram, On Fri, Sep 4, 2015 at 5:40 AM, Wolfram Sang wrote: > >> > So I refactored the driver to setup new messages in interrupt context, too. >> > This avoids the race for b) because we are now setting up the new message >> > before we release the i2c bus clock (before we released the clock and set up >> > the message in process context). >> >> Could this fix the HDMI EDID read issue on Koelsch ? > > I surely hope so. I can't test because I don't have Koelsch. FYI, I have enabled Koelsch remote access on port 8001 if you want to give it a shot! Cheers, / magnus