Re: [PATCH 1/5] resources: add arch hook for preventing allocation in reserved areas

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Barnes
Date: Friday, December 10, 2010 - 1:30 pm

On Wed, 08 Dec 2010 14:36:06 -0700
Bjorn Helgaas <bjorn.helgaas@hp.com> wrote:


Hm, this is bigger than the simple change of just avoiding the high 2M;
Linus have you checked it out yet?  It's nicer than simply adjusting
PCIBIOS_MAX_MEM since it will affect all resource callers rather than
just PCI, but it's definitely bigger.

If you want just the simple change for 2.6.37 I can push that, but
we'll need to get a tested-by from Matthew:

  diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h
  index ca0437c..aef9f77 100644
  --- a/arch/x86/include/asm/pci.h
  +++ b/arch/x86/include/asm/pci.h
  @@ -141,7 +141,7 @@ void dma32_reserve_bootmem(void);

   /* generic pci stuff */
   #include <asm-generic/pci.h>
  -#define PCIBIOS_MAX_MEM_32 0xffffffff
  +#define PCIBIOS_MAX_MEM_32 0xfff00000

   #ifdef CONFIG_NUMA
   /* Returns the node based on pci bus */

and I'll queue up this set for 2.6.38.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/5] PNP: add framework for platform PNP quirks, Bjorn Helgaas, (Wed Dec 8, 2:36 pm)
Re: [PATCH 1/5] resources: add arch hook for preventing al ..., Jesse Barnes, (Fri Dec 10, 1:30 pm)
Re: [PATCH 1/5] resources: add arch hook for preventing al ..., Rafael J. Wysocki, (Sun Dec 12, 6:20 am)