linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] change ARM linux memory layout to support 32 CPUs
@ 2014-04-11  8:00 Liu Hua
  2014-04-11  8:00 ` [PATCH v2 1/2] ARM : DMA : remove useless information about DMA Liu Hua
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Liu Hua @ 2014-04-11  8:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Nicolas or Russell,

This patch series change fixmap mapping region to suppport 32 CPUs.
Because the "top_pmd" covers 0xfffe0000 - 0xffffffff(2M). And part 
is used by vector table. So I move this region down to 0xffc00000
 - 0xffdffff. 


I have tested the patches on arma9(2 CPUs) and arma15(16 CPUs) platforms

BTW, As we know we can configure NR_CPUS up to 32. So we need 2048K 
at most. But for ARM systems with less cpus, there is a waste 
of virtual address. So should we change its size according to
NR_CPUS, as what MIPS linux does ?

Changes from v1:
---------------
- changed documentation for ARM linux memory layout.
- moved fixmap mapping region, not just extended.

Liu Hua (2):
  ARM : DMA : remove useless information about DMA
  ARM : extend fixmap mapping region to support 32 CPUs

 Documentation/arm/memory.txt   |  8 ++------
 arch/arm/include/asm/fixmap.h  |  4 ++--
 arch/arm/include/asm/highmem.h |  1 +
 arch/arm/include/asm/memory.h  |  2 --
 arch/arm/mm/highmem.c          | 10 +++++-----
 arch/arm/mm/mm.h               |  7 +++++++
 arch/arm/mm/mmu.c              |  4 ++++
 mm/highmem.c                   |  1 +
 8 files changed, 22 insertions(+), 15 deletions(-)

-- 
1.9.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-04-15 11:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11  8:00 [PATCH v2 0/2] change ARM linux memory layout to support 32 CPUs Liu Hua
2014-04-11  8:00 ` [PATCH v2 1/2] ARM : DMA : remove useless information about DMA Liu Hua
2014-04-11 10:39   ` Marek Szyprowski
2014-04-12  3:12   ` Nicolas Pitre
2014-04-12  3:31     ` Nicolas Pitre
2014-04-12  4:25     ` Liu hua
2014-04-12 14:32       ` Nicolas Pitre
2014-04-13 12:10         ` Liu hua
2014-04-13 16:42           ` Nicolas Pitre
2014-04-11  8:00 ` [PATCH v2 2/2] ARM : change fixmap mapping region to support 32 CPUs Liu Hua
2014-04-12  3:26   ` Nicolas Pitre
2014-04-13 13:25     ` Liu hua
2014-04-13 17:34       ` Nicolas Pitre
2014-04-14 12:28         ` Liu hua
2014-04-14 13:50           ` Nicolas Pitre
2014-04-15 11:04             ` Liu hua
2014-04-12  3:29 ` [PATCH v2 0/2] change ARM linux memory layout " Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).