Re: WARNING: CPU: 2 PID: 1 at arch/x86/mm/ioremap.c:171 __ioremap_caller+0x290/0x2fa()

From: Yinghai Lu
Date: Tue Jul 15 2014 - 20:56:08 EST


On Tue, Jul 15, 2014 at 4:54 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 07/15/2014 04:40 PM, Yinghai Lu wrote:

> We could quirk it, but we would have to make bloody darn sure that we
> don't break any systems because of unusual configuration and so on.
>
> I agree that we need to treat fixed resources as equivalent to reserved.
> This is also a BIOS bug (it should reserve the whole region), but that
> happens far too frequently. I don't know if we have any way to do that
> without massive surgery to the current code, though.

Should be similar to early_gart_iommu_check(), even less code.

Yinghai
--
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/