From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@st.com (Viresh Kumar) Date: Thu, 29 Mar 2012 16:14:46 +0530 Subject: [PATCH V2 5/7] ARM: SPEAr3xx: Add device-tree support to SPEAr3xx architecture In-Reply-To: <201203290753.04758.arnd@arndb.de> References: <201203281227.32299.arnd@arndb.de> <4F740386.2080509@st.com> <201203290753.04758.arnd@arndb.de> Message-ID: <4F743D1E.9030209@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 3/29/2012 1:23 PM, Arnd Bergmann wrote: > That should not really be a concern, you only waste a little bit of > the vmalloc space that you gained recently when ioremap was changed. > Nothing should ever be able to get to those pointers other than by > calling ioremap, so it doesn't hurt to have them mapped, except for > the very unlikely scenario that you get a wild pointer dereference > in the kernel that would otherwise result in an oops. Ok. I will create two 16M mappings for now: PHYSICAL VIRTUAL 0xD0000000 - 0xD1000000 0xFD000000 0xFC000000 - 0xFD000000 0xFC000000 -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH V2 5/7] ARM: SPEAr3xx: Add device-tree support to SPEAr3xx architecture Date: Thu, 29 Mar 2012 16:14:46 +0530 Message-ID: <4F743D1E.9030209@st.com> References: <201203281227.32299.arnd@arndb.de> <4F740386.2080509@st.com> <201203290753.04758.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201203290753.04758.arnd-r2nGTMty4D4@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Arnd Bergmann Cc: "devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org" , spear-devel , "viresh.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "sr-ynQEQJNshbs@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On 3/29/2012 1:23 PM, Arnd Bergmann wrote: > That should not really be a concern, you only waste a little bit of > the vmalloc space that you gained recently when ioremap was changed. > Nothing should ever be able to get to those pointers other than by > calling ioremap, so it doesn't hurt to have them mapped, except for > the very unlikely scenario that you get a wild pointer dereference > in the kernel that would otherwise result in an oops. Ok. I will create two 16M mappings for now: PHYSICAL VIRTUAL 0xD0000000 - 0xD1000000 0xFD000000 0xFC000000 - 0xFD000000 0xFC000000 -- viresh