-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'xtensa-next-20140503' of git://github.com/czankel/xtensa-l…
…inux Pull Xtensa fixes from Chris Zankel: - Fixes allmodconfig, allnoconfig builds - Adds highmem support - Enables build-time exception table sorting. * tag 'xtensa-next-20140503' of git://github.com/czankel/xtensa-linux: xtensa: ISS: don't depend on CONFIG_TTY xtensa: xt2000: drop redundant sysmem initialization xtensa: add support for KC705 xtensa: xtfpga: introduce SoC I/O bus xtensa: add HIGHMEM support xtensa: optimize local_flush_tlb_kernel_range xtensa: dump sysmem from the bootmem_init xtensa: handle memmap kernel option xtensa: keep sysmem banks ordered in mem_reserve xtensa: keep sysmem banks ordered in add_sysmem_bank xtensa: split bootparam and kernel meminfo xtensa: enable sorting extable at build time xtensa: export __{invalidate,flush}_dcache_range xtensa: Export __invalidate_icache_range
- Loading branch information
Showing
24 changed files
with
696 additions
and
167 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/dts-v1/; | ||
/include/ "xtfpga.dtsi" | ||
/include/ "xtfpga-flash-128m.dtsi" | ||
|
||
/ { | ||
compatible = "cdns,xtensa-kc705"; | ||
memory@0 { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x08000000>; | ||
}; | ||
}; |
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,28 @@ | ||
/ { | ||
soc { | ||
flash: flash@00000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "cfi-flash"; | ||
reg = <0x00000000 0x08000000>; | ||
bank-width = <2>; | ||
device-width = <2>; | ||
partition@0x0 { | ||
label = "data"; | ||
reg = <0x00000000 0x06000000>; | ||
}; | ||
partition@0x6000000 { | ||
label = "boot loader area"; | ||
reg = <0x06000000 0x00800000>; | ||
}; | ||
partition@0x6800000 { | ||
label = "kernel image"; | ||
reg = <0x06800000 0x017e0000>; | ||
}; | ||
partition@0x7fe0000 { | ||
label = "boot environment"; | ||
reg = <0x07fe0000 0x00020000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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 |
---|---|---|
@@ -1,26 +1,28 @@ | ||
/ { | ||
flash: flash@f8000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "cfi-flash"; | ||
reg = <0xf8000000 0x01000000>; | ||
bank-width = <2>; | ||
device-width = <2>; | ||
partition@0x0 { | ||
label = "boot loader area"; | ||
reg = <0x00000000 0x00400000>; | ||
soc { | ||
flash: flash@08000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "cfi-flash"; | ||
reg = <0x08000000 0x01000000>; | ||
bank-width = <2>; | ||
device-width = <2>; | ||
partition@0x0 { | ||
label = "boot loader area"; | ||
reg = <0x00000000 0x00400000>; | ||
}; | ||
partition@0x400000 { | ||
label = "kernel image"; | ||
reg = <0x00400000 0x00600000>; | ||
}; | ||
partition@0xa00000 { | ||
label = "data"; | ||
reg = <0x00a00000 0x005e0000>; | ||
}; | ||
partition@0xfe0000 { | ||
label = "boot environment"; | ||
reg = <0x00fe0000 0x00020000>; | ||
}; | ||
}; | ||
partition@0x400000 { | ||
label = "kernel image"; | ||
reg = <0x00400000 0x00600000>; | ||
}; | ||
partition@0xa00000 { | ||
label = "data"; | ||
reg = <0x00a00000 0x005e0000>; | ||
}; | ||
partition@0xfe0000 { | ||
label = "boot environment"; | ||
reg = <0x00fe0000 0x00020000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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 |
---|---|---|
@@ -1,18 +1,20 @@ | ||
/ { | ||
flash: flash@f8000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "cfi-flash"; | ||
reg = <0xf8000000 0x00400000>; | ||
bank-width = <2>; | ||
device-width = <2>; | ||
partition@0x0 { | ||
label = "boot loader area"; | ||
reg = <0x00000000 0x003f0000>; | ||
soc { | ||
flash: flash@08000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "cfi-flash"; | ||
reg = <0x08000000 0x00400000>; | ||
bank-width = <2>; | ||
device-width = <2>; | ||
partition@0x0 { | ||
label = "boot loader area"; | ||
reg = <0x00000000 0x003f0000>; | ||
}; | ||
partition@0x3f0000 { | ||
label = "boot environment"; | ||
reg = <0x003f0000 0x00010000>; | ||
}; | ||
}; | ||
partition@0x3f0000 { | ||
label = "boot environment"; | ||
reg = <0x003f0000 0x00010000>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,58 @@ | ||
/* | ||
* fixmap.h: compile-time virtual memory allocation | ||
* | ||
* 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) 1998 Ingo Molnar | ||
* | ||
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 | ||
*/ | ||
|
||
#ifndef _ASM_FIXMAP_H | ||
#define _ASM_FIXMAP_H | ||
|
||
#include <asm/pgtable.h> | ||
#ifdef CONFIG_HIGHMEM | ||
#include <linux/threads.h> | ||
#include <asm/kmap_types.h> | ||
#endif | ||
|
||
/* | ||
* Here we define all the compile-time 'special' virtual | ||
* addresses. The point is to have a constant address at | ||
* compile time, but to set the physical address only | ||
* in the boot process. We allocate these special addresses | ||
* from the end of the consistent memory region backwards. | ||
* Also this lets us do fail-safe vmalloc(), we | ||
* can guarantee that these special addresses and | ||
* vmalloc()-ed addresses never overlap. | ||
* | ||
* these 'compile-time allocated' memory buffers are | ||
* fixed-size 4k pages. (or larger if used with an increment | ||
* higher than 1) use fixmap_set(idx,phys) to associate | ||
* physical memory with fixmap indices. | ||
*/ | ||
enum fixed_addresses { | ||
#ifdef CONFIG_HIGHMEM | ||
/* reserved pte's for temporary kernel mappings */ | ||
FIX_KMAP_BEGIN, | ||
FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS) - 1, | ||
#endif | ||
__end_of_fixed_addresses | ||
}; | ||
|
||
#define FIXADDR_TOP (VMALLOC_START - PAGE_SIZE) | ||
#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | ||
#define FIXADDR_START ((FIXADDR_TOP - FIXADDR_SIZE) & PMD_MASK) | ||
|
||
#include <asm-generic/fixmap.h> | ||
|
||
#define kmap_get_fixmap_pte(vaddr) \ | ||
pte_offset_kernel( \ | ||
pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), \ | ||
(vaddr) \ | ||
) | ||
|
||
#endif |
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.