summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* sh: Add support for SH7721 CPU subtype.Yoshihiro Shimoda2008-01-287-9/+16
| | | | | Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Always use CONFIG_HZ for HZ.Paul Mundt2008-01-281-5/+1
| | | | | | | | | | | Currently the wdt forces HZ=1000 and sidesteps CONFIG_HZ completely. This is a remnant from when HZ was hardcoded and before CONFIG_HZ was introduced. Additionally, not all of the timers have this requirement these days, so it's also an artificial limitation. Just kill it off and use CONFIG_HZ directly. Reported-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: include/asm-sh/: Spelling fixes.Joe Perches2008-01-283-17/+17
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up binfmt_flat compile warnings.Paul Mundt2008-01-281-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off pgtable.h from scatterlist.h.Paul Mundt2008-01-281-1/+0
| | | | | | Fixes up the mmc build. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up switch_to() type casts.Paul Mundt2008-01-281-47/+47
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Stub in page_table_range_init() on nommu.Paul Mundt2008-01-281-0/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off superfluous __KERNEL__ check in asm/elf.h.Paul Mundt2008-01-281-3/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Provide the FPSCR init through AT_FPUCW.Paul Mundt2008-01-283-2/+17
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Use utsname()->machine for ELF_PLATFORM.Paul Mundt2008-01-281-6/+8
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Encode L1/L2 cache shape in auxvt.Paul Mundt2008-01-283-4/+29
| | | | | | | | | This adds in the L1I/L1D/L2 cache shape support to their respective entries in the ELF auxvt, based on the Alpha implementation. We use this on the userspace libc side for calculating a tightly packed SHMLBA amongst other things. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Support denormalization on SH-4 FPU.Stuart Menefy2008-01-281-0/+32
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: get_user fixes and nommu consolidation.Stuart Menefy2008-01-281-155/+98
| | | | | | | | | | | | | | | | When a get_user(to, from++) is called the pointer increment is performed after its first usage, in the specific after the __add_ok invokation. This causes a wrong get_user return value, putting a wrong character in the destination variable. This patch solves the problem using a new temporary pointer. Additionally this reworks the use of the register banks, allowing for consolidation between the MMU and nommu implementations. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com> Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Document PTEL 31:29 use on PTEA-wielding parts.Stuart Menefy2008-01-281-2/+3
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Clean up places that make 29-bit physical assumptions.Stuart Menefy2008-01-287-33/+60
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Preparation for uncached jumps through PMB.Stuart Menefy2008-01-285-20/+27
| | | | | | | | | | | | Presently most of the 29-bit physical parts do P1/P2 segmentation with a 1:1 cached/uncached mapping, jumping between the two to control the caching behaviour. This provides the basic infrastructure to maintain this behaviour on 32-bit physical parts that don't map P1/P2 at all, using a shiny new linker section and corresponding fixmap entry. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: GUSA atomic rollback support.Stuart Menefy2008-01-288-123/+557
| | | | | | | | | | This implements kernel-level atomic rollback built on top of gUSA, as an alternative non-IRQ based atomicity method. This is generally a faster method for platforms that are lacking the LL/SC pairs that SH-4A and later use, and is only supportable on legacy cores. Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: comment tidying for sh64->sh migration.Paul Mundt2008-01-289-76/+63
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* rtc: rtc-sh: Split out the CPU defs to asm/cpu/.Paul Mundt2008-01-286-0/+42
| | | | | | | | | | | With all of the different CPU types this was getting a but unwieldly. Since sh64 is now integrated, we don't have to worry about multiple architectures caring about the header definitions. Split out the defs for each asm/cpu/ to make rtc-sh slightly less visually offensive. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: CCR1->CCR renaming for SH-2 parts.Paul Mundt2008-01-282-7/+2
| | | | | | | | | | | | | | | | | | | | | Avoid namespace collision with a CCR1 definition. The general SH code always expects CCR anyways, so there's no point in keeping the CCR1 naming around. Fixes up synclink collisions: drivers/char/pcmcia/synclink_cs.c:283:1: warning: "CCR1" redefined In file included from include/asm/cache.h:13, from include/asm/processor_32.h:15, from include/asm/processor.h:60, from include/linux/prefetch.h:14, from include/linux/list.h:8, from include/linux/module.h:9, from drivers/char/pcmcia/synclink_cs.c:38: include/asm/cpu/cache.h:21:1: warning: this is the location of the previous definition Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Bump up ARCH_KMALLOC_MINALIGN for DMA cases.Paul Mundt2008-01-281-13/+9
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Invalidate the TLB after applying PMB mappings.Stuart Menefy2008-01-281-0/+2
| | | | | Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-2A FPU support.Paul Mundt2008-01-283-1/+6
| | | | | Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH7263 CPU support.Paul Mundt2008-01-282-2/+2
| | | | | | | | | | | | 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>
* sh: Add SH7203 CPU support.Paul Mundt2008-01-283-4/+2
| | | | | | | 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>
* sh: syscall audit support.Yuichi Nakamura2008-01-281-0/+2
| | | | | | | Support syscall auditing.. Signed-off-by: Yuichi Nakamura <ynakam@hitachisoft.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up bug trap handler build for sh32.Paul Mundt2008-01-281-1/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Bring the SH-5 FPU in line with the SH-4 FPU API.Paul Mundt2008-01-284-43/+45
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Get the SH-5 PCI support building.Paul Mundt2008-01-281-1/+4
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add SH-5 subtypes to check_bugs() for utsname.Paul Mundt2008-01-281-3/+10
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Get the mach-cayman IRQ support building.Paul Mundt2008-01-282-91/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Kill off the last of the sh64 headers.Paul Mundt2008-01-288-305/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add onchip remap prototypes, kill old sh64 io.h.Paul Mundt2008-01-282-197/+16
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up user_fpu_struct typo for SH-5.Paul Mundt2008-01-281-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Special layout for SH-5 stat.h and user.h.Paul Mundt2008-01-282-1/+69
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Purge dead sh64 headers.Paul Mundt2008-01-2878-2873/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: SH-5 uses a 64-bit PTE_MAGNITUDE, as X2 TLB.Paul Mundt2008-01-281-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up generic BUG build for SH-5.Paul Mundt2008-01-281-5/+0
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move PXSEG comments to addrspace.h.Paul Mundt2008-01-282-16/+8
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Set HPAGE_SHIFT for 512MB hugetlb pages.Paul Mundt2008-01-281-0/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Stubs for fpu disabled on SH-5.Paul Mundt2008-01-281-0/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move quad-word real-address I/O defs to io.h.Paul Mundt2008-01-281-0/+5
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Share bug/debug traps across _32 and _64.Paul Mundt2008-01-283-7/+26
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Tidy up various clear_page()/copy_page() definitions.Paul Mundt2008-01-281-10/+2
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Plug in the SHmedia ELF relocations.Paul Mundt2008-01-281-1/+29
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Tidy up lib64 udelay impl.Paul Mundt2008-01-281-2/+6
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out pgtable.h in to _32 and _64 variants.Paul Mundt2008-01-284-697/+511
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Move over the SH-5 entry.S.Paul Mundt2008-01-281-5/+12
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out syscall ABI for _32 and _64 variants.Paul Mundt2008-01-283-375/+380
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Split out checksum.h in to _32 and _64 variants.Paul Mundt2008-01-283-215/+218
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
OpenPOWER on IntegriCloud