From patchwork Wed Jan 5 21:25:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guzman Lugo, Fernando" X-Patchwork-Id: 455121 X-Patchwork-Delegate: omar.ramirez@ti.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p05LQQNs020898 for ; Wed, 5 Jan 2011 21:26:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663Ab1AEVZp (ORCPT ); Wed, 5 Jan 2011 16:25:45 -0500 Received: from na3sys009aog112.obsmtp.com ([74.125.149.207]:55259 "EHLO na3sys009aog112.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751369Ab1AEVZp (ORCPT ); Wed, 5 Jan 2011 16:25:45 -0500 Received: from source ([74.125.83.41]) by na3sys009aob112.postini.com ([74.125.148.12]) with SMTP ID DSNKTSTh2FDkRPWsjAXe6uMvkZhpLuqyz/sQ@postini.com; Wed, 05 Jan 2011 13:25:45 PST Received: by gwj22 with SMTP id 22so7380684gwj.14 for ; Wed, 05 Jan 2011 13:25:44 -0800 (PST) Received: by 10.150.57.4 with SMTP id f4mr24120089yba.285.1294262743173; Wed, 05 Jan 2011 13:25:43 -0800 (PST) Received: from localhost.localdomain (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id b7sm1783423ybn.11.2011.01.05.13.25.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 13:25:42 -0800 (PST) From: Fernando Guzman Lugo To: Cc: , , , , "Guzman Lugo, Fernando" , Felipe Contreras Subject: [PATCHv2] staging: tidspbridge: configure full L1 MMU range Date: Wed, 5 Jan 2011 15:25:33 -0600 Message-Id: <1294262733-9585-1-git-send-email-fernando.lugo@ti.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 05 Jan 2011 21:26:27 +0000 (UTC) diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c index cacd30e..7608822 100644 --- a/drivers/staging/tidspbridge/core/tiomap3430.c +++ b/drivers/staging/tidspbridge/core/tiomap3430.c @@ -784,10 +784,7 @@ static int bridge_dev_create(struct bridge_dev_context pt_attrs = kzalloc(sizeof(struct pg_table_attrs), GFP_KERNEL); if (pt_attrs != NULL) { - /* Assuming that we use only DSP's memory map - * until 0x4000:0000 , we would need only 1024 - * L1 enties i.e L1 size = 4K */ - pt_attrs->l1_size = 0x1000; + pt_attrs->l1_size = SZ_16K; /* 4096 entries of 32 bits */ align_size = pt_attrs->l1_size; /* Align sizes are expected to be power of 2 */ /* we like to get aligned on L1 table size */