forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.10-fixes' into mips-for-linux-next
This that should have been fixed but weren't, way to much, intrusive and late.
- Loading branch information
Showing
45 changed files
with
507 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
* Copyright (C) 2008, 2009 Wind River Systems | ||
* written by Ralf Baechle <[email protected]> | ||
*/ | ||
#include <linux/compiler.h> | ||
#include <linux/init.h> | ||
#include <linux/kernel.h> | ||
#include <linux/console.h> | ||
|
@@ -694,7 +695,7 @@ void __init prom_init(void) | |
if (cvmx_read_csr(CVMX_L2D_FUS3) & (3ull << 34)) { | ||
pr_info("Skipping L2 locking due to reduced L2 cache size\n"); | ||
} else { | ||
uint32_t ebase = read_c0_ebase() & 0x3ffff000; | ||
uint32_t __maybe_unused ebase = read_c0_ebase() & 0x3ffff000; | ||
#ifdef CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB | ||
/* TLB refill */ | ||
cvmx_l2c_lock_mem_region(ebase, 0x100); | ||
|
@@ -978,7 +979,7 @@ void __init plat_mem_setup(void) | |
cvmx_bootmem_unlock(); | ||
/* Add the memory region for the kernel. */ | ||
kernel_start = (unsigned long) _text; | ||
kernel_size = ALIGN(_end - _text, 0x100000); | ||
kernel_size = _end - _text; | ||
|
||
/* Adjust for physical offset. */ | ||
kernel_start &= ~0xffffffff80000000ULL; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
* | ||
* Copyright (C) 2012 Cavium, Inc. | ||
*/ | ||
#ifndef _ASM_MACH_CAVIUM_OCTEON_SPACES_H | ||
#define _ASM_MACH_CAVIUM_OCTEON_SPACES_H | ||
|
||
#include <linux/const.h> | ||
|
||
#ifdef CONFIG_64BIT | ||
/* They are all the same and some OCTEON II cores cannot handle 0xa8.. */ | ||
#define CAC_BASE _AC(0x8000000000000000, UL) | ||
#define UNCAC_BASE _AC(0x8000000000000000, UL) | ||
#define IO_BASE _AC(0x8000000000000000, UL) | ||
|
||
|
||
#endif /* CONFIG_64BIT */ | ||
|
||
#include <asm/mach-generic/spaces.h> | ||
|
||
#endif /* _ASM_MACH_CAVIUM_OCTEON_SPACES_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.