From patchwork Wed Aug 29 00:23:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 1383371 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7A927DFFCF for ; Wed, 29 Aug 2012 00:23:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529Ab2H2AXh (ORCPT ); Tue, 28 Aug 2012 20:23:37 -0400 Received: from filtteri6.pp.htv.fi ([213.243.153.189]:36838 "EHLO filtteri6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753515Ab2H2AXb (ORCPT ); Tue, 28 Aug 2012 20:23:31 -0400 Received: from localhost (localhost [127.0.0.1]) by filtteri6.pp.htv.fi (Postfix) with ESMTP id 28DBE56E63D; Wed, 29 Aug 2012 03:23:30 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp6.welho.com ([213.243.153.40]) by localhost (filtteri6.pp.htv.fi [213.243.153.189]) (amavisd-new, port 10024) with ESMTP id w+NrJlQSrFWE; Wed, 29 Aug 2012 03:23:29 +0300 (EEST) Received: from harshnoise (212-149-209-232.bb.dnainternet.fi [212.149.209.232]) by smtp6.welho.com (Postfix) with SMTP id 065385BC003; Wed, 29 Aug 2012 03:23:28 +0300 (EEST) Received: by harshnoise (sSMTP sendmail emulation); Wed, 29 Aug 2012 03:23:03 +0300 Date: Wed, 29 Aug 2012 03:23:03 +0300 From: Aaro Koskinen To: "Shilimkar, Santosh" Cc: tony@atomide.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm: omap: ratelimit omap_l3_smx error log spam Message-ID: <20120829002256.GE783@harshnoise.musicnaut.iki.fi> References: <1346101403-5882-1-git-send-email-aaro.koskinen@iki.fi> <20120827220254.GA783@harshnoise.musicnaut.iki.fi> <20120827232613.GB783@harshnoise.musicnaut.iki.fi> <20120828122042.GC783@harshnoise.musicnaut.iki.fi> <20120828230917.GD783@harshnoise.musicnaut.iki.fi> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Tue, Aug 28, 2012 at 04:38:24PM -0700, Shilimkar, Santosh wrote: > On Tue, Aug 28, 2012 at 4:09 PM, Aaro Koskinen wrote: > > On Tue, Aug 28, 2012 at 07:19:38AM -0700, Shilimkar, Santosh wrote: > >> Or the PPA has resized the secure area of 16K. As you have seen the issue > >> on one OMAP3 device, it makes sense to takeout that 16K from the public > >> SRAM map. > >> > >> Can you send the patch with fixed base address fir PUB SRAM ? > > > > Maybe I'm missing something, but I tried the following and now something > > else got broken: > > > > save_secure_sram() returns 0000ff02 > > > Damn. Looks like, you are running short of memory now for sram_push stuff. No, it's not that, because the below version works and that leaves as little memory for the sram_push code: A. --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c index 766181c..a91e7ad 100644 --- a/arch/arm/plat-omap/sram.c +++ b/arch/arm/plat-omap/sram.c @@ -47,7 +47,7 @@ #define OMAP5_SRAM_PA 0x40300000 #if defined(CONFIG_ARCH_OMAP2PLUS) -#define SRAM_BOOTLOADER_SZ 0x00 +#define SRAM_BOOTLOADER_SZ (cpu_is_omap34xx() ? SZ_16K : 0) #else #define SRAM_BOOTLOADER_SZ 0x80 #endif