Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp356482imd; Fri, 26 Oct 2018 09:32:25 -0700 (PDT) X-Google-Smtp-Source: AJdET5cTqQQ4rG8IB0jNGjhal/Us+Q5oSFUFyEIWIhZZW+JRDSocu7o8fYDLqTBKotIgDtqZY0yU X-Received: by 2002:a17:902:263:: with SMTP id 90-v6mr4173828plc.190.1540571545438; Fri, 26 Oct 2018 09:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540571545; cv=none; d=google.com; s=arc-20160816; b=t0U4BsO+78poZdmD4Y/vKA/Sj2r5KuQkiQbtQfOn8pitRaL+pGvnerdUwWvULzZr3Q 78OH3yhYOnE0FSRrAsrzkCI+bPrp1K9BMNRaBcKTPPvIa0rIbImSnBp6ohRjdA/bsoUt Xl9iLrIHnKXuqQDRFRspKIdSuO8eV99He7blOzRZNSbdSKkZCqtdi2B5nkFMTYWLY5Dn 1ydOLmEOg/b8dm0b7EbSXHZJ9fV6seezT0o+jYVNzuITcsPF4lKrOGqwD/8TTI8MxkSU uKuBAEyxSQ+sB8pa/WfM/T7qqEK4J+Ri6e3JeEAi/FfzdN+Dg2ubIb4V7IDJGRvaeKy7 rQoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=S7S200H2r9I77j3SCWKTvVFjdZcMW4GrLWjkNDKIymU=; b=H5gxiMl+JMlL/tirO4yMuTSowsxK52Ezw3UhgVByLjdsnL1Ulh+ROFF3AYNc6JGdi0 i2qu5lGqUcder+KIDXdWlrhPdmVyPVIa/J+IxFuAiJ7yH4RBIPDnT8AduDRR7yOVocz1 ALuo+kv4J9YkmNE8zOWyUJDzRXZomf8ZymVkvzdgRH7NJ1f4TFPHyxBBt2TvoS/LBwMp gc8ZlJJjJ8yk9BtPxnzxAyNp7n2fgM5xAZUlRsUy9iP7NuFBJkfldbSwz3WJk2LqzlZp isFx4jemqmLDhm/YJZJIzhEthCb0eKRJCo94Fj9BXzoXYUXNnMwBya5y1W8PPm/2DdMW CgfA== 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 y7-v6si12136176pgi.256.2018.10.26.09.32.09; Fri, 26 Oct 2018 09:32:25 -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 S1727702AbeJ0BIA (ORCPT + 99 others); Fri, 26 Oct 2018 21:08:00 -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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 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.