[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1249348807.24238.24.camel@yhuang-dev.sh.intel.com>
Date: Tue, 04 Aug 2009 09:20:07 +0800
From: Huang Ying <ying.huang@...el.com>
To: "mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>,
"paulus@...ba.org" <paulus@...ba.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tglx@...utronix.de" <tglx@...utronix.de>
Cc: "linux-tip-commits@...r.kernel.org"
<linux-tip-commits@...r.kernel.org>
Subject: Re: [tip:x86/urgent] x86: Make 64-bit efi_ioremap use ioremap on
MMIO regions
On Tue, 2009-08-04 at 01:12 +0800, tip-bot for Paul Mackerras wrote:
> Commit-ID: 19157af82cf0575032386f60378527904dbb7b8f
> Gitweb: http://git.kernel.org/tip/19157af82cf0575032386f60378527904dbb7b8f
> Author: Paul Mackerras <paulus@...ba.org>
> AuthorDate: Mon, 3 Aug 2009 22:38:10 +1000
> Committer: H. Peter Anvin <hpa@...or.com>
> CommitDate: Mon, 3 Aug 2009 08:09:59 -0700
>
> x86: Make 64-bit efi_ioremap use ioremap on MMIO regions
>
> Booting current 64-bit x86 kernels on the latest Apple MacBook
> (MacBook5,2) via EFI gives the following warning:
>
> [ 0.182209] ------------[ cut here ]------------
> [ 0.182222] WARNING: at arch/x86/mm/pageattr.c:581 __cpa_process_fault+0x44/0xa0()
This patch does not really fix the issue. __cpa_process_fault will warn
if target memory area is beyond max_pfn_mapped. EFI runtime RAM area
beyond max_pfn_mapped will trigger the warning too.
To fix the issue. I think we can loose the restriction of
__cpa_process_fault a little. Add a global variable max_pfn, which is
max pfn of all memory type (including RAM, RESERVED, etc, mapped or
unmapped), and __cpa_process_fault warns for memory area beyond max_pfn
only.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists