From patchwork Thu Dec 10 09:09:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58193 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp364953lbb; Thu, 10 Dec 2015 01:09:34 -0800 (PST) X-Received: by 10.98.11.29 with SMTP id t29mr5132130pfi.97.1449738574188; Thu, 10 Dec 2015 01:09:34 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 83si19063658pfl.23.2015.12.10.01.09.33; Thu, 10 Dec 2015 01:09:34 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751118AbbLJJJ3 (ORCPT + 28 others); Thu, 10 Dec 2015 04:09:29 -0500 Received: from mail-ob0-f174.google.com ([209.85.214.174]:36472 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754004AbbLJJJO (ORCPT ); Thu, 10 Dec 2015 04:09:14 -0500 Received: by obcse5 with SMTP id se5so55247920obc.3 for ; Thu, 10 Dec 2015 01:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4XC1ICHjQLkWGF5uYykF5M384XcZh7rlqbZ47HZdHUg=; b=NuD6q6LoEwZSeOHb9r8+s8yjcfu0yXPWAmdHbf6v8jRviW6LDbVOAOmev05s5OrU6D dLQR9wC/4Gsg370oDo1L+XPylYsWPLFM4z79ZWyfuI5vEtkS7rnulk6XRyDg+YOCtOTd vgAZ+hewKNvnGm6pHjYGK3urwnMu3Njsg/7sUAOhCoylEpXyfy2d6J2kI1eyq+SnSGfy B7CX3V9HVVe7gYUneVZeqqzzR2O/Uk6Rf1a/7BAGuSi1AlaPd7YfiazaGNYY78eFXWTa S5AqBvIHFTCd6Mv8wLyoSjUf2lq9f5Hf1CIE5mvLAVyh+LQFMxtYD7Fzh80Q8f8kQblU Ldug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4XC1ICHjQLkWGF5uYykF5M384XcZh7rlqbZ47HZdHUg=; b=dTTgMQZF2F2tcWfhDJ8WLA8qKBx6PjM4ECQEpkeKZ0M4Z6glk/mr3M0sRRHDK+TIas Yiy7zfhQwxDNVfKlrgVaZT7+vckSZoC/4WCaYMo4aeUZpii11h/1gUz8+NL5m3n0osn0 HgVNAjTeGwCk10aYPdg5c++eKrOa61mCAM4GMJ5/K6OHrr/sNq5ltqTrKL2SkGyBgOJ3 lJKyby7GG83bstdsxACF0OQaWwhd+i6EIDdU3jZ98DA8kiJn9exIwJlFx3ankT+xTMR8 HwyyYEdKK+mArJywvbiMyMv4dUX5Nzs5tV48EJBvU7DVPwoAI7n01oDj1ad0vFIIaa+T h1ag== X-Gm-Message-State: ALoCoQmsS3pPNvoNNKXOPiDvVB5GtPm9eM4q38tsbyTCu4fkSONPdFpK3DB9r5Pc+Xdb9NhDufCY1Z7V3D09acx3J1NxmapmxpLCAg9ILxAOfjuLIQIJn3c= MIME-Version: 1.0 X-Received: by 10.60.98.33 with SMTP id ef1mr4909292oeb.62.1449738553420; Thu, 10 Dec 2015 01:09:13 -0800 (PST) Received: by 10.182.32.70 with HTTP; Thu, 10 Dec 2015 01:09:13 -0800 (PST) In-Reply-To: <1448469143-447355-6-git-send-email-arnd@arndb.de> References: <1448469143-447355-1-git-send-email-arnd@arndb.de> <1448469143-447355-6-git-send-email-arnd@arndb.de> Date: Thu, 10 Dec 2015 10:09:13 +0100 Message-ID: Subject: Re: [PATCH 05/10] ARM: realview: remove private barrier implementation From: Linus Walleij To: Arnd Bergmann Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Russell King , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 25, 2015 at 5:32 PM, Arnd Bergmann wrote: > The realview barrier implementation tries to avoid calling outer_sync in order > to not lock up as a result of a bug in the l220 cache controller. > > This gets in the way of the multiplatform support, but we can still remove > it if we make sure that the outer_sync function never gets called, by replacing > the function pointer with NULL, right after initialization. > > Signed-off-by: Arnd Bergmann > Acked-by: Linus Walleij When testing I see that this patch does not compile, but later patches remove the offending code so it compiles again. It needs this: I've fixed it up in my tree, but I don't know yet if I'm getting anywhere with this as my PB11MPCore refuse to boot with these patches. I'm trying to find the problem... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 4d29535abeba..1a2a89708fb7 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index f9817bb5d8fa..5bb460300b6a 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include