Re: [stable] [PATCH stable] resources: skip sanity check of busyresources

From: Greg KH
Date: Wed Jan 28 2009 - 20:04:09 EST


On Tue, Jan 27, 2009 at 11:10:07AM -0500, Kyle McMartin wrote:
> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
>
> Impact: reduce false positives in iomem_map_sanity_check()
>
> Some drivers (vesafb) only map/reserve a portion of a resource.
> If then some other driver comes in and maps the whole resource,
> the current code WARN_ON's. This is not the intent of the checks
> in iomem_map_sanity_check(); rather these checks want to
> warn when crossing *hardware* resources only.
>
> This patch skips BUSY resources as suggested by Linus.
>
> Note: having two drivers talk to the same hardware at the same
> time is obviously not optimal behavior, but that's a separate story.
>
> Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxx>
> ---
>
> Bug fix for 2.6.28-stable only (relevant iomem_map_sanity_check hadn't
> been added to 2.6.27.) This resolves a fairly nasty boot time WARN
> in acpi ec seen on a number of systems. (RH #480700)

Thanks for the patch. Next time, if you could let us know what the git
commit id is for the patch in Linus's tree, it would save me having to
dig to find it :)

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/