From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbbIQT4y (ORCPT ); Thu, 17 Sep 2015 15:56:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41245 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750974AbbIQT4x (ORCPT ); Thu, 17 Sep 2015 15:56:53 -0400 Date: Thu, 17 Sep 2015 12:56:51 -0700 From: Andrew Morton To: Stephen Boyd Cc: Andy Gross , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-soc@vger.kernel.org, linux-mips@linux-mips.org, Hauke Mehrtens , Paul Walmsley , =?UTF-8?Q?Rafa=C5=82_?= =?UTF-8?Q?Mi=C5=82ecki?= , Bjorn Andersson Subject: Re: [PATCH v2 0/3] Add __ioread32_copy() and use it Message-Id: <20150917125651.d7ab504539016a149ea871e6@linux-foundation.org> In-Reply-To: <1442516531-16071-1-git-send-email-sboyd@codeaurora.org> References: <1442516531-16071-1-git-send-email-sboyd@codeaurora.org> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Sep 2015 12:02:08 -0700 Stephen Boyd wrote: > The SMD driver is reading and writing chunks of data to iomem, > and there's an __iowrite32_copy() function for the writing part, but > no __ioread32_copy() function for the reading part. This series > adds __ioread32_copy() and uses it in two places. Andrew is on Cc in > case this should go through the -mm tree. Otherwise the target > of this patch series is SMD, so I've sent it to Andy. > > Note this patch series relies on a previous patch on the list that > changes the readl() to __raw_readl() in the smd driver[1]. Well that's awkward. "[PATCH v2 6/8] soc: qcom: smd: Handle big endian CPUs" is one patch in an eight-patch series. My usual approach would be to suck in the whole series, stage it behind linux-next, drop patches if/when others merge them into subsystem trees and thus retain all the dependencies for this patch series in a maintainable-by-me fashion. But that 8-patch series doesn't apply: checking file drivers/soc/qcom/smd.c Hunk #6 FAILED at 360. Hunk #15 FAILED at 733. Hunk #16 FAILED at 741. 3 out of 19 hunks FAILED Failed to apply soc-qcom-smd-handle-big-endian-cpus ho hum. I think I'll go with plan B: merge just "lib: iomap_copy: Add __ioread32_copy()" and send that into Linus promptly. That way you guys can sort out the driver patches in the usual fashion.