Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] RealView: Add sparsemem support for the RealView PBX platform
Date: Sun, 8 Nov 2009 17:45:03 +0000	[thread overview]
Message-ID: <20091108174503.GB28368@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20091015122209.739.42849.stgit@pc1117.cambridge.arm.com>

On Thu, Oct 15, 2009 at 01:22:09PM +0100, Catalin Marinas wrote:
> diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig
> index dfc9b0b..ba548ab 100644
> --- a/arch/arm/mach-realview/Kconfig
> +++ b/arch/arm/mach-realview/Kconfig
> @@ -70,12 +70,14 @@ config MACH_REALVIEW_PBX
>  	bool "Support RealView/PBX platform"
>  	select ARM_GIC
>  	select HAVE_PATA_PLATFORM
> +	select ARCH_SPARSEMEM_ENABLE if CPU_V7
> +	select ZONE_DMA if SPARSEMEM
>  	help
>  	  Include support for the ARM(R) RealView PBX platform.
>  
>  config REALVIEW_HIGH_PHYS_OFFSET
>  	bool "High physical base address for the RealView platform"
> -	depends on MMU && !MACH_REALVIEW_PB1176
> +	depends on MMU && !MACH_REALVIEW_PB1176 && !SPARSEMEM
>  	default y
>  	help
>  	  RealView boards other than PB1176 have the RAM available at
> @@ -84,4 +86,8 @@ config REALVIEW_HIGH_PHYS_OFFSET
>  	  memory to be accessed contiguously at the high physical
>  	  offset.
>  
> +config ARCH_FLATMEM_ENABLE
> +	bool
> +	default y if ARCH_SPARSEMEM_ENABLE
> +

I seem to have missed this.  Why do we want to enable flatmem support for
_everything_ which enables sparsemem?

In fact, why do you even have this at all?

Not pulling your latest pull request due to this.

  parent reply	other threads:[~2009-11-08 17:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 12:21 [PATCH 0/4] RealView patches for 2.6.33 Catalin Marinas
2009-10-15 12:21 ` [PATCH 1/4] RealView: Add default memory configuration Catalin Marinas
2009-10-15 12:21 ` [PATCH 2/4] RealView: Remove duplicated #define REALVIEW_SYS_FLAGS* statements Catalin Marinas
2009-10-15 12:22 ` [PATCH 3/4] Revert 75f4aa1 (unconditionally define __virt_to_phys and __phys_to_virt) Catalin Marinas
2009-10-19 15:34   ` Russell King - ARM Linux
2009-10-19 15:46     ` Catalin Marinas
2009-10-19 15:54       ` Russell King - ARM Linux
2009-10-15 12:22 ` [PATCH 4/4] RealView: Add sparsemem support for the RealView PBX platform Catalin Marinas
2009-10-19 15:46   ` Russell King - ARM Linux
2009-10-19 16:03     ` Catalin Marinas
2009-11-08 17:45   ` Russell King - ARM Linux [this message]
2009-11-09  9:51     ` Catalin Marinas
2009-11-09 10:18       ` Russell King - ARM Linux
2009-11-09 10:34         ` Catalin Marinas
2009-11-09 10:39           ` Russell King - ARM Linux
2009-11-09 10:53             ` Catalin Marinas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091108174503.GB28368@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox