From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB60AC6786E for ; Fri, 26 Oct 2018 16:30:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 972CC20868 for ; Fri, 26 Oct 2018 16:30:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 972CC20868 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727714AbeJ0BIB (ORCPT ); Fri, 26 Oct 2018 21:08:01 -0400 Received: from mail.bootlin.com ([62.4.15.54]:50583 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727562AbeJ0BIA (ORCPT ); Fri, 26 Oct 2018 21:08:00 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 9887F2097B; Fri, 26 Oct 2018 18:30:15 +0200 (CEST) Received: from bbrezillon (unknown [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id CCDA320954; Fri, 26 Oct 2018 18:30:04 +0200 (CEST) Date: Fri, 26 Oct 2018 18:30:04 +0200 From: Boris Brezillon To: vitor Cc: Wolfram Sang , , "Jonathan Corbet" , , 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 , "Kumar Gala" , , , Geert Uytterhoeven , Linus Walleij , Xiang Lin , , Sekhar Nori , Przemyslaw Gaj , Peter Rosin , Mike Shettel , Stephen Boyd Subject: Re: [PATCH v10 0/9] Add the I3C subsystem Message-ID: <20181026183004.4857ce73@bbrezillon> In-Reply-To: <87738b8d-8033-9ef1-b0fb-059b64b0dc96@synopsys.com> References: <20181026144333.12276-1-boris.brezillon@bootlin.com> <20181026181548.53228a4b@bbrezillon> <87738b8d-8033-9ef1-b0fb-059b64b0dc96@synopsys.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.