From patchwork Sun Sep 26 15:38:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 65792 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id E3196B70E2 for ; Mon, 27 Sep 2010 01:38:52 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OztJM-00037r-8O; Sun, 26 Sep 2010 16:38:44 +0100 Received: from mail-qy0-f195.google.com ([209.85.216.195]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OztJK-00037b-Tc for kernel-team@lists.ubuntu.com; Sun, 26 Sep 2010 16:38:43 +0100 Received: by mail-qy0-f195.google.com with SMTP id 30so918814qyk.2 for ; Sun, 26 Sep 2010 08:38:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.124.106 with SMTP id t42mr965422vcr.249.1285515521987; Sun, 26 Sep 2010 08:38:41 -0700 (PDT) Received: by 10.220.74.147 with HTTP; Sun, 26 Sep 2010 08:38:41 -0700 (PDT) In-Reply-To: References: <1285298463-2764-1-git-send-email-bryan.wu@canonical.com> <20100924034529.GA24581@evatp> <20100924060409.GB24581@evatp> <20100926060553.GA17124@evatp> Date: Sun, 26 Sep 2010 23:38:41 +0800 X-Google-Sender-Auth: vmDMnnxNJHHHO0i7gt8Q9N89Kv0 Message-ID: Subject: Re: [Maverick] [ti-omap4] SRU: A workaround for highmem issue on OMAP4 platform From: Bryan Wu To: Nicolas Pitre Cc: ogra@canonical.com, kernel-team@lists.ubuntu.com, ricardo.salveti@canonical.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com On Sun, Sep 26, 2010 at 11:01 PM, Nicolas Pitre wrote: > On Sun, 26 Sep 2010, Ricardo Salveti de Araujo wrote: > >> On Fri, Sep 24, 2010 at 03:04:10AM -0300, Ricardo Salveti de Araujo wrote: >> > Will also test it with only one cpu to see if this could be realted with SMP >> > issues. >> >> Ok, tested the same kernel but running with only one CPU, for 40 hours (what gave me >> 15 builds), and went all fine, without any errors at both userspace and kernelspace. >> >> So it seems that this data abort exception could be related with concurrency and >> SMP support at our kernel. > > Right.  So I'd suggest you keep highmem off, and 2g:2g on (with the > VMALLOC_END fix), then try to reliably reproduce the issue with that > configuration and fix it before involving highmem again.  While highmem > may make the problem more visible, it also brings a set of added > complexity of its own which would make the tracking of the issue much > harder. > > > Nicolas > I disabled CONFIG_CACHE_L2X0 L2 cache controller for omap4. So far for the SMP kernel with mem=1G, kernel building is running correctly. I will test more. It looks like L2 cache controlling has some issue. From 0743374a52900030b54f643820dc8f8f71e98651 Mon Sep 17 00:00:00 2001 From: Bryan Wu Date: Sun, 26 Sep 2010 20:35:48 +0800 Subject: [PATCH] UBUNTU: [Config] Disable L2 cache for OMAP4 Signed-off-by: Bryan Wu --- debian.ti-omap4/config/config.common.ubuntu | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/debian.ti-omap4/config/config.common.ubuntu b/debian.ti-omap4/config/config.common.ubuntu index 8d46b55..8f5b7e9 100644 --- a/debian.ti-omap4/config/config.common.ubuntu +++ b/debian.ti-omap4/config/config.common.ubuntu @@ -320,8 +320,7 @@ CONFIG_C2PORT=m CONFIG_CACHEFILES=m # CONFIG_CACHEFILES_DEBUG is not set # CONFIG_CACHEFILES_HISTOGRAM is not set -CONFIG_CACHE_L2X0=y -CONFIG_CACHE_PL310=y +# CONFIG_CACHE_L2X0 is not set # CONFIG_CAIF is not set CONFIG_CAN=m CONFIG_CAN_BCM=m @@ -928,6 +927,7 @@ CONFIG_HID_WACOM=m CONFIG_HID_ZEROPLUS=m # CONFIG_HID_ZYDACRON is not set CONFIG_HIGHMEM=y +# CONFIG_HIGHPTE is not set CONFIG_HIGH_RES_TIMERS=y CONFIG_HOSTAP=m # CONFIG_HOSTAP_FIRMWARE is not set @@ -1928,8 +1928,6 @@ CONFIG_OMFS_FS=m CONFIG_OPROFILE=y CONFIG_OSF_PARTITION=y # CONFIG_OTUS is not set -CONFIG_OUTER_CACHE=y -CONFIG_OUTER_CACHE_SYNC=y CONFIG_P54_COMMON=m CONFIG_P54_LEDS=y CONFIG_P54_SPI=m @@ -1970,7 +1968,6 @@ CONFIG_PHONET=m CONFIG_PHYLIB=y # CONFIG_PHYS_ADDR_T_64BIT is not set CONFIG_PID_NS=y -# CONFIG_PL310_ERRATA_588369 is not set # CONFIG_PLAT_SPEAR is not set CONFIG_PLIP=m # CONFIG_PM is not set