From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH v10 0/9] Add the I3C subsystem Date: Fri, 26 Oct 2018 18:30:04 +0200 Message-ID: <20181026183004.4857ce73@bbrezillon> References: <20181026144333.12276-1-boris.brezillon@bootlin.com> <20181026181548.53228a4b@bbrezillon> <87738b8d-8033-9ef1-b0fb-059b64b0dc96@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87738b8d-8033-9ef1-b0fb-059b64b0dc96@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org To: vitor Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell List-Id: devicetree@vger.kernel.org On Fri, 26 Oct 2018 17:20:42 +0100 vitor wrote: > On 26/10/18 17:15, Boris Brezillon wrote: > > On Fri, 26 Oct 2018 16:22:06 +0100 > > vitor wrote: > > > >> Can you update the i3c/next tree? > > Done. > > Thanks. > > I will apply the driver and them I give you feedback. Great! Note that the bug in the ->send_ccc_cmd() path should be fixed, but you might have issues with i2c transfers as msg->buf is not guaranteed to be aligned on 32-bit. Don't know if you've followed the discussion with Arnd, but it seems some (most?) archs are making sure writesl()/readsl() work for unaligned bufs. Maybe we should fix that for ARC. The other solution is to use i2c_get_dma_safe_msg_buf() to get something aligned on a cache-line and by extension aligned on 32bits.