Commit 8c57a8fa authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  MIPS: IP27: Enable RAID5 module
  MIPS: TXx9: update defconfigs
  MIPS: NEC VR5500 processor support fixup
  MIPS: Fix build of non-CONFIG_SYSVIPC version of sys_32_ipc
parents 0789d8fc 0a7c808f
...@@ -512,7 +512,7 @@ CONFIG_MD_LINEAR=m ...@@ -512,7 +512,7 @@ CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=y CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y CONFIG_MD_RAID1=y
CONFIG_MD_RAID10=m CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m CONFIG_MD_RAID456=y
CONFIG_MD_RAID5_RESHAPE=y CONFIG_MD_RAID5_RESHAPE=y
CONFIG_MD_MULTIPATH=m CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m CONFIG_MD_FAULTY=m
......
This diff is collapsed.
This diff is collapsed.
...@@ -138,7 +138,8 @@ do { \ ...@@ -138,7 +138,8 @@ do { \
__instruction_hazard(); \ __instruction_hazard(); \
} while (0) } while (0)
#elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON) #elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON) || \
defined(CONFIG_CPU_R5500)
/* /*
* R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer. * R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer.
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* Pref_WriteBackInvalidate is a nop and Pref_PrepareForStore is broken in * Pref_WriteBackInvalidate is a nop and Pref_PrepareForStore is broken in
* current versions due to erratum G105. * current versions due to erratum G105.
* *
* VR7701 only implements the Load prefetch. * VR5500 (including VR5701 and VR7701) only implement load prefetch.
* *
* Finally MIPS32 and MIPS64 implement all of the following hints. * Finally MIPS32 and MIPS64 implement all of the following hints.
*/ */
......
...@@ -149,6 +149,7 @@ void __init check_wait(void) ...@@ -149,6 +149,7 @@ void __init check_wait(void)
case CPU_R4650: case CPU_R4650:
case CPU_R4700: case CPU_R4700:
case CPU_R5000: case CPU_R5000:
case CPU_R5500:
case CPU_NEVADA: case CPU_NEVADA:
case CPU_4KC: case CPU_4KC:
case CPU_4KEC: case CPU_4KEC:
......
...@@ -235,7 +235,7 @@ SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third, ...@@ -235,7 +235,7 @@ SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third,
#else #else
SYSCALL_DEFINE6(32_ipc, u32, call, int, first, int, second, int, third, SYSCALL_DEFINE6(32_ipc, u32, call, int, first, int, second, int, third,
u32, ptr, u32 fifth) u32, ptr, u32, fifth)
{ {
return -ENOSYS; return -ENOSYS;
} }
......
...@@ -172,8 +172,9 @@ static void __cpuinit set_prefetch_parameters(void) ...@@ -172,8 +172,9 @@ static void __cpuinit set_prefetch_parameters(void)
*/ */
cache_line_size = cpu_dcache_line_size(); cache_line_size = cpu_dcache_line_size();
switch (current_cpu_type()) { switch (current_cpu_type()) {
case CPU_R5500:
case CPU_TX49XX: case CPU_TX49XX:
/* TX49 supports only Pref_Load */ /* These processors only support the Pref_Load. */
pref_bias_copy_load = 256; pref_bias_copy_load = 256;
break; break;
......
...@@ -318,6 +318,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l, ...@@ -318,6 +318,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,
case CPU_BCM4710: case CPU_BCM4710:
case CPU_LOONGSON2: case CPU_LOONGSON2:
case CPU_CAVIUM_OCTEON: case CPU_CAVIUM_OCTEON:
case CPU_R5500:
if (m4kc_tlbp_war()) if (m4kc_tlbp_war())
uasm_i_nop(p); uasm_i_nop(p);
tlbw(p); tlbw(p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment