Stuart Menefy
7a2eacb759
sh: Provide a 29/32-bit physical hint for bootloaders.
...
Shoves a magic word in to the empty_zero_page section for the
bootloader to work out whether to start the kernel in 29-bit
or 32-bit mode.
[ Renesas CPUs already take care of the initial PMB mappings entirely
in hardware and decide on 29-bit/32-bit physical depending on which
pin powered up the CPU, so this is mostly for ST parts. -- PFM ].
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Stuart Menefy
80a68a43d9
sh: Add a printk() to warn legacy mem= growers.
...
mem= can't be used to grow the size of kernel memory, so provide a
warning to that effect.
Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
74d99a5e26
sh: SH-2A FPU support.
...
Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
a8f67f4b4d
sh: Add SH7263 CPU support.
...
This adds support for the SH7263 (SH-2A) CPU.
This particular CPU is a superset of SH7203, adding some additional
peripheral blocks and hooking up additional (reserved on SH7203)
vectors in the INTC block.
No visibly nasty surprises, yet..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
47a3eb9556
sh: Fix the arch/sh/kernel/traps.c build for sh32.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
6d01f51086
sh: Add SH7203 CPU support.
...
This adds support for the SH7203 (SH-2A) CPU.
Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
ff1b750605
rtc: rtc-sh: SH-2A support.
...
Trivial support for the SH-2A on-chip RTC.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Yuichi Nakamura
1322b9def9
sh: syscall audit support.
...
Support syscall auditing..
Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:57 +09:00
Paul Mundt
12760cb4df
sh: Fix up uname -m matching for native sh64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
03713bd226
sh: Move mach-cayman in with the rest of the boards.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
3e0137f6c7
sh: Kill off the mach-harp and mach-sim machtypes.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
b000659b1c
sh: Fix up bug trap handler build for sh32.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
0dcb957db5
sh: Build fixes for lib32 clear_page.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
35a74499a4
sh: Fix up default zImage target for sh32.
...
This was using the absolute path, which was confusing the make target.
Switch it to just 'zImage', as per powerpc.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:56 +09:00
Paul Mundt
332fd57b92
sh: Bring the SH-5 FPU in line with the SH-4 FPU API.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:55 +09:00
Paul Mundt
b6d7b66609
sh: Get the SH-5 PCI support building.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:55 +09:00
Paul Mundt
d5f68c6dbd
sh: Bump number of quicklists for SH-5.
...
Sync up with the SH definitions.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:55 +09:00
Paul Mundt
29e0d209b3
sh: Add SH-5 subtypes to check_bugs() for utsname.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:55 +09:00
Paul Mundt
b4eaa1cc7c
sh: Kill off the rest of arch/sh64/kernel/.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:55 +09:00
Paul Mundt
18bc81319b
sh: Get the mach-cayman IRQ support building.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
caead5ef34
sh: Kill off the last of the sh64 headers.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
9895f9429c
sh: clear/copy_page renames in lib and lib64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
efddb4c882
sh: Rename the _32 and _64 TLB flush variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
d088f32357
sh: Consolidate sh/sh64 Makefiles.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
c2f1755bec
sh: Tidy up KBUILD_IMAGE for sh64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
e2e96299a7
sh: Remove duplicate SUPERH64 symbol.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
a82d53ec24
sh: Generic BUG only works for sh32.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:54 +09:00
Paul Mundt
0f2c15cece
sh: Add onchip remap prototypes, kill old sh64 io.h.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
1e1ed39fae
sh: Copy over special CFLAGS for SH-5 TLB miss.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
fb8e569c1d
sh: Fix up user_fpu_struct typo for SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
5db141a946
sh: Mark some IRQ debug options sh32 only.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
17bfa63978
sh: Special layout for SH-5 stat.h and user.h.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
c8eef8800f
sh: Purge dead sh64 headers.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
e150e7f25f
sh: Kill off arch/sh64/mm.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
df0fb25628
sh: Fix up proc ASIDs for CPU-local ASID cache accessors.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:53 +09:00
Paul Mundt
60b2249d45
sh: Move over SH-5 TLB and cache support code.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
8214d52ace
sh: Merge sh64 Kconfig.debug options.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
ddf7f1d339
sh: Kill off a stray proc tlb reference in fault_64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
7137306806
sh: Merge the sh64 zImage bits.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
55183e9bb2
sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
c96bcf958c
sh: Use existing CONFIG_CACHE_xx options in head_64.S.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
0b2328bbc0
sh: Fix up generic BUG build for SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
ea0e1a9a3d
sh: Consolidate Kconfig.sh/Kconfig.sh64.
...
Fold in the sh64-specific bits in to the main Kconfig.sh, and move
this back as arch/sh/Kconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
711fe4369c
sh: Bump the MEMORY_SIZE default to something reasonable.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:52 +09:00
Paul Mundt
f137c319db
sh: Kill off some dead sh64 kconfig symbols.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00
Paul Mundt
36763b22be
sh: Switch SH-5 to use CONFIG_PAGE_OFFSET.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00
Paul Mundt
6deb6f9129
sh: Move PXSEG comments to addrspace.h.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00
Paul Mundt
caff44e7db
sh: Set HPAGE_SHIFT for 512MB hugetlb pages.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00
Paul Mundt
9ad3d336a2
sh: Update cayman defconfig.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00
Paul Mundt
ffd25eb6cd
sh: Stubs for fpu disabled on SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:51 +09:00