Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933460AbXJPNgb (ORCPT ); Tue, 16 Oct 2007 09:36:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932575AbXJPNgX (ORCPT ); Tue, 16 Oct 2007 09:36:23 -0400 Received: from web8408.mail.in.yahoo.com ([202.43.219.156]:28262 "HELO web8408.mail.in.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932359AbXJPNgX (ORCPT ); Tue, 16 Oct 2007 09:36:23 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W5LZ0qUTvjlay2asfiWZTidrn4J266Mjir6ws3WH60QXjLbPy4wV3ZI4gJ6wlGMCd8uf0OQiXXGJy+quyAlmTeGr6Jzn41Kt5e0pdI/1Z37wImdgRr9U2nlbG13+u4kOLqzduMGgeaSj6BlGEkOhkPbBhoozcgIJAcCgMj5x6zo=; X-YMail-OSG: JLyqRa8VM1ny1uQaCt_bYaOwiFIctXMZVti6uG4JnpXZ8NYIXW2by8XVC.gI9yvxmg-- Date: Tue, 16 Oct 2007 14:36:19 +0100 (BST) From: veerasena reddy Subject: how to use TLB to prevent Linux accessing a particular memory region To: "linux-kernel.org" , linux-mips MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <431051.14949.qm@web8408.mail.in.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 33 Hi, I have a board, which has two processors ( one is MIPS on which Linux-2.6.18 kernel runs and another is DSP based processor) and 32MB DDR. Out of 32MB of DDR 8MB is reserved for use by DSP processor. But the MIPS processor downloads firmware into this reserved memory for the DSP. Now, is it possible to use the TLB to prevent Linux from accessing the reserved memory after the firmware has been downloaded? Also we'd need to remove those TLB entries if the firmware would ever need to be reloaded to the DSP' memory region. What are the APIs to be used to achieve the above? Thanks in advance. Regards, Veerasena. 5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html - 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/