From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753258AbYI0LWZ (ORCPT ); Sat, 27 Sep 2008 07:22:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753115AbYI0LWN (ORCPT ); Sat, 27 Sep 2008 07:22:13 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:49174 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753106AbYI0LWM (ORCPT ); Sat, 27 Sep 2008 07:22:12 -0400 Date: Sat, 27 Sep 2008 12:21:45 +0100 From: Alan Cox To: Jeremy Fitzhardinge Cc: Suresh Siddha , jbarnes@virtuousgeek.org, mingo@elte.hu, tglx@linutronix.de, hpa@zytor.com, torvalds@linux-foundation.org, akpm@linux-foundation.org, arjan@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [patch] ioremap sanity check to catch mapping requests exceeding the BAR sizes Message-ID: <20080927122145.49ad0cf4@lxorguk.ukuu.org.uk> In-Reply-To: <48DDDDDE.7060707@goop.org> References: <20080926014334.GF15609@linux-os.sc.intel.com> <48DDDDDE.7060707@goop.org> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Any attempt to use ioremap on memory is a bug, so you should warn about > that too. We use it to ioremap things like the BIOS...