From: Suresh Siddha Date: Fri, 26 Sep 2008 01:43:34 +0000 (-0700) Subject: IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR... X-Git-Tag: v2.6.28-rc1~271^2^4~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379daf6290814e41f14880094b7b773640df2461;p=pandora-kernel.git IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR sizes Go through the iomem resource tree to check if any of the ioremap() requests span more than any slot in the iomem resource tree and do a WARN_ON() if we hit this check. This will raise a red-flag, if some driver is mapping more than what is needed. And hopefully identify possible corruptions much earlier. Signed-off-by: Suresh Siddha Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed