Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932916AbaGPA4F (ORCPT ); Tue, 15 Jul 2014 20:56:05 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:38290 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932295AbaGPA4D (ORCPT ); Tue, 15 Jul 2014 20:56:03 -0400 MIME-Version: 1.0 In-Reply-To: <53C5BF46.3070604@zytor.com> References: <20140710200527.GA15190@google.com> <3524198.dm6HbYTJqK@calvin> <53C5BF46.3070604@zytor.com> Date: Tue, 15 Jul 2014 17:56:02 -0700 X-Google-Sender-Auth: 2zFiHl64h8gIk-UuZOGuca0sFao Message-ID: Subject: Re: WARNING: CPU: 2 PID: 1 at arch/x86/mm/ioremap.c:171 __ioremap_caller+0x290/0x2fa() From: Yinghai Lu To: "H. Peter Anvin" Cc: Bjorn Helgaas , Fabio Coatti , Stephane Eranian , Peter Zijlstra , Greg Kroah-Hartman , LKML , Ingo Molnar , Arnaldo Carvalho de Melo , "ak@linux.intel.com" , "Yan, Zheng" , "Rafael J. Wysocki" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 15, 2014 at 4:54 PM, H. Peter Anvin 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/