From: Jayachandran C <jchandra@broadcom.com>
To: <linux-mips@linux-mips.org>, <ralf@linux-mips.org>
Cc: Jayachandran C <jchandra@broadcom.com>
Subject: [PATCH 0/5] Mapped kernel support for Broadcom XLP/XLPII
Date: Fri, 16 Jan 2015 18:08:03 +0530 [thread overview]
Message-ID: <1421411888-3367-1-git-send-email-jchandra@broadcom.com> (raw)
This patchset adds support for loading a XLR/XLP kernel compiled with a
CKSEG2 load address.
The changes are to:
- move the existing MAPPED_KERNEL option from sgi-ip27 to common config
- Add a plat_mem_fixup function to arch_mem_init which will allow
the platform to calculate the kernel wired TLB entries and save
them so that all the CPUs can set them up at boot.
- Update PAGE_OFFSET, MAP_BASE and MODULE_START when mapped kernel
is enabled.
- Update compressed kernel code to generate the final executable in
KSEG0 and map the load address of the embedded kernel before loading
it.
- Use wired entries of sizes 256M/1G/4G to map the available memory on
XLP9xx and XLP2xx
Comments and suggestions welcome.
Ashok Kumar (1):
MIPS: Netlogic: Mapped kernel support
Jayachandran C (4):
MIPS: Make MAPPED_KERNEL config option common
MIPS: Add platform function to fixup memory
MIPS: Compress MAPPED kernels
MIPS: Netlogic: Map kernel with 1G/4G pages on XLPII
arch/mips/Kconfig | 7 +
arch/mips/boot/compressed/calc_vmlinuz_load_addr.c | 9 +
arch/mips/boot/compressed/decompress.c | 6 +-
arch/mips/boot/compressed/head.S | 5 +
.../include/asm/mach-netlogic/kernel-entry-init.h | 50 +++++
arch/mips/include/asm/mach-netlogic/spaces.h | 25 +++
arch/mips/include/asm/netlogic/common.h | 15 ++
arch/mips/include/asm/pgtable-64.h | 4 +
arch/mips/kernel/setup.c | 4 +
arch/mips/mm/tlb-r4k.c | 2 +
arch/mips/netlogic/Platform | 5 +
arch/mips/netlogic/common/Makefile | 1 +
arch/mips/netlogic/common/memory.c | 247 +++++++++++++++++++++
arch/mips/netlogic/common/reset.S | 40 ++++
arch/mips/netlogic/common/smpboot.S | 16 +-
arch/mips/netlogic/xlp/setup.c | 14 --
arch/mips/netlogic/xlr/setup.c | 3 +-
arch/mips/netlogic/xlr/wakeup.c | 7 +-
arch/mips/sgi-ip27/Kconfig | 8 -
19 files changed, 440 insertions(+), 28 deletions(-)
create mode 100644 arch/mips/include/asm/mach-netlogic/kernel-entry-init.h
create mode 100644 arch/mips/include/asm/mach-netlogic/spaces.h
create mode 100644 arch/mips/netlogic/common/memory.c
--
1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Jayachandran C <jchandra@broadcom.com>
To: linux-mips@linux-mips.org, ralf@linux-mips.org
Cc: Jayachandran C <jchandra@broadcom.com>
Subject: [PATCH 0/5] Mapped kernel support for Broadcom XLP/XLPII
Date: Fri, 16 Jan 2015 18:08:03 +0530 [thread overview]
Message-ID: <1421411888-3367-1-git-send-email-jchandra@broadcom.com> (raw)
Message-ID: <20150116123803.NV0Rl9IFUN6XHlmBwqe3eWtgr9PJOfZskMsVimgTlbU@z> (raw)
This patchset adds support for loading a XLR/XLP kernel compiled with a
CKSEG2 load address.
The changes are to:
- move the existing MAPPED_KERNEL option from sgi-ip27 to common config
- Add a plat_mem_fixup function to arch_mem_init which will allow
the platform to calculate the kernel wired TLB entries and save
them so that all the CPUs can set them up at boot.
- Update PAGE_OFFSET, MAP_BASE and MODULE_START when mapped kernel
is enabled.
- Update compressed kernel code to generate the final executable in
KSEG0 and map the load address of the embedded kernel before loading
it.
- Use wired entries of sizes 256M/1G/4G to map the available memory on
XLP9xx and XLP2xx
Comments and suggestions welcome.
Ashok Kumar (1):
MIPS: Netlogic: Mapped kernel support
Jayachandran C (4):
MIPS: Make MAPPED_KERNEL config option common
MIPS: Add platform function to fixup memory
MIPS: Compress MAPPED kernels
MIPS: Netlogic: Map kernel with 1G/4G pages on XLPII
arch/mips/Kconfig | 7 +
arch/mips/boot/compressed/calc_vmlinuz_load_addr.c | 9 +
arch/mips/boot/compressed/decompress.c | 6 +-
arch/mips/boot/compressed/head.S | 5 +
.../include/asm/mach-netlogic/kernel-entry-init.h | 50 +++++
arch/mips/include/asm/mach-netlogic/spaces.h | 25 +++
arch/mips/include/asm/netlogic/common.h | 15 ++
arch/mips/include/asm/pgtable-64.h | 4 +
arch/mips/kernel/setup.c | 4 +
arch/mips/mm/tlb-r4k.c | 2 +
arch/mips/netlogic/Platform | 5 +
arch/mips/netlogic/common/Makefile | 1 +
arch/mips/netlogic/common/memory.c | 247 +++++++++++++++++++++
arch/mips/netlogic/common/reset.S | 40 ++++
arch/mips/netlogic/common/smpboot.S | 16 +-
arch/mips/netlogic/xlp/setup.c | 14 --
arch/mips/netlogic/xlr/setup.c | 3 +-
arch/mips/netlogic/xlr/wakeup.c | 7 +-
arch/mips/sgi-ip27/Kconfig | 8 -
19 files changed, 440 insertions(+), 28 deletions(-)
create mode 100644 arch/mips/include/asm/mach-netlogic/kernel-entry-init.h
create mode 100644 arch/mips/include/asm/mach-netlogic/spaces.h
create mode 100644 arch/mips/netlogic/common/memory.c
--
1.9.1
next reply other threads:[~2015-01-16 12:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 12:38 Jayachandran C [this message]
2015-01-16 12:38 ` [PATCH 0/5] Mapped kernel support for Broadcom XLP/XLPII Jayachandran C
2015-01-16 12:38 ` [PATCH 1/5] MIPS: Make MAPPED_KERNEL config option common Jayachandran C
2015-01-16 12:38 ` Jayachandran C
2015-01-16 12:38 ` [PATCH 2/5] MIPS: Add platform function to fixup memory Jayachandran C
2015-01-16 12:38 ` Jayachandran C
2015-01-16 12:38 ` [PATCH 3/5] MIPS: Netlogic: Mapped kernel support Jayachandran C
2015-01-16 12:38 ` Jayachandran C
2015-01-16 12:38 ` [PATCH 4/5] MIPS: Compress MAPPED kernels Jayachandran C
2015-01-16 12:38 ` Jayachandran C
2015-01-16 12:38 ` [PATCH 5/5] MIPS: Netlogic: Map kernel with 1G/4G pages on XLPII Jayachandran C
2015-01-16 12:38 ` Jayachandran C
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=1421411888-3367-1-git-send-email-jchandra@broadcom.com \
--to=jchandra@broadcom.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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