2008-02-03 23:31:18

by Yinghai Lu

[permalink] [raw]
Subject: about x86: relax RAM check in ioremap

wonder if you still need that patch after following patch is a applied.

YH

diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c
index 608152a..f645413 100644
--- a/arch/x86/kernel/aperture_64.c
+++ b/arch/x86/kernel/aperture_64.c
@@ -278,7 +278,7 @@ void __init early_gart_iommu_check(void)
last_aper_enabled = aper_enabled;
}

- if (!fix && !aper_enabled)
+ if (!fix /* && !aper_enabled*/)
return;

if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL)


2008-02-04 02:52:21

by Yinghai Lu

[permalink] [raw]
Subject: Re: about x86: relax RAM check in ioremap

On Feb 3, 2008 3:38 PM, Yinghai Lu <[email protected]> wrote:
> wonder if you still need that patch after following patch is a applied.
>
> YH
>
> diff --git a/arch/x86/kernel/aperture_64.c b/arch/x86/kernel/aperture_64.c
> index 608152a..f645413 100644
> --- a/arch/x86/kernel/aperture_64.c
> +++ b/arch/x86/kernel/aperture_64.c
> @@ -278,7 +278,7 @@ void __init early_gart_iommu_check(void)
> last_aper_enabled = aper_enabled;
> }
>
> - if (!fix && !aper_enabled)
> + if (!fix /* && !aper_enabled*/)
> return;
>
> if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL)
> --

forget about it, it seem kevin is using 32 bit kernel.

YH