diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-20 18:16:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-20 18:16:00 -0500 |
commit | d5379e5eddc09f8d172d9d6aa0e5a269a89dc60a (patch) | |
tree | 8b5ea0d52c32d48bb4acda193e5f5d0c378f402e | |
parent | ec92b88c3c05dd9bc75379014858c504ebb9ecbc (diff) | |
parent | 3400606d8ffd64ea7ffb5969f7c96daebeff36f3 (diff) |
Merge tag 'microblaze-4.10-rc1' of git://git.monstr.eu/linux-2.6-microblaze
Pull arch/microblaze updates from Michal Simek:
- wire-up new syscalls
- add new codes and fpga families
- fix a return value
* tag 'microblaze-4.10-rc1' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze: Add new fpga families
microblaze: Add missing release version code v9.6 and v10
microblaze: Add missing syscalls
microblaze: Fix return value from xilinx_timer_init
-rw-r--r-- | arch/microblaze/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/microblaze/include/uapi/asm/unistd.h | 6 | ||||
-rw-r--r-- | arch/microblaze/kernel/cpu/cpuinfo.c | 6 | ||||
-rw-r--r-- | arch/microblaze/kernel/syscall_table.S | 6 | ||||
-rw-r--r-- | arch/microblaze/kernel/timer.c | 2 |
5 files changed, 20 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 805ae5d712e8..032fed71223f 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h | |||
@@ -38,6 +38,6 @@ | |||
38 | 38 | ||
39 | #endif /* __ASSEMBLY__ */ | 39 | #endif /* __ASSEMBLY__ */ |
40 | 40 | ||
41 | #define __NR_syscalls 392 | 41 | #define __NR_syscalls 398 |
42 | 42 | ||
43 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ | 43 | #endif /* _ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h index a8bd3fa28bc7..d8086159d996 100644 --- a/arch/microblaze/include/uapi/asm/unistd.h +++ b/arch/microblaze/include/uapi/asm/unistd.h | |||
@@ -407,5 +407,11 @@ | |||
407 | #define __NR_userfaultfd 389 | 407 | #define __NR_userfaultfd 389 |
408 | #define __NR_membarrier 390 | 408 | #define __NR_membarrier 390 |
409 | #define __NR_mlock2 391 | 409 | #define __NR_mlock2 391 |
410 | #define __NR_copy_file_range 392 | ||
411 | #define __NR_preadv2 393 | ||
412 | #define __NR_pwritev2 394 | ||
413 | #define __NR_pkey_mprotect 395 | ||
414 | #define __NR_pkey_alloc 396 | ||
415 | #define __NR_pkey_free 397 | ||
410 | 416 | ||
411 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ | 417 | #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ |
diff --git a/arch/microblaze/kernel/cpu/cpuinfo.c b/arch/microblaze/kernel/cpu/cpuinfo.c index b70bb538f001..96b3f26d16be 100644 --- a/arch/microblaze/kernel/cpu/cpuinfo.c +++ b/arch/microblaze/kernel/cpu/cpuinfo.c | |||
@@ -49,6 +49,8 @@ const struct cpu_ver_key cpu_ver_lookup[] = { | |||
49 | {"9.3", 0x20}, | 49 | {"9.3", 0x20}, |
50 | {"9.4", 0x21}, | 50 | {"9.4", 0x21}, |
51 | {"9.5", 0x22}, | 51 | {"9.5", 0x22}, |
52 | {"9.6", 0x23}, | ||
53 | {"10.0", 0x24}, | ||
52 | {NULL, 0}, | 54 | {NULL, 0}, |
53 | }; | 55 | }; |
54 | 56 | ||
@@ -75,6 +77,10 @@ const struct family_string_key family_string_lookup[] = { | |||
75 | {"zynq7000", 0x12}, | 77 | {"zynq7000", 0x12}, |
76 | {"UltraScale Virtex", 0x13}, | 78 | {"UltraScale Virtex", 0x13}, |
77 | {"UltraScale Kintex", 0x14}, | 79 | {"UltraScale Kintex", 0x14}, |
80 | {"UltraScale+ Zynq", 0x15}, | ||
81 | {"UltraScale+ Virtex", 0x16}, | ||
82 | {"UltraScale+ Kintex", 0x17}, | ||
83 | {"Spartan7", 0x18}, | ||
78 | {NULL, 0}, | 84 | {NULL, 0}, |
79 | }; | 85 | }; |
80 | 86 | ||
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S index 6b3dd99126d7..6841c2df14d9 100644 --- a/arch/microblaze/kernel/syscall_table.S +++ b/arch/microblaze/kernel/syscall_table.S | |||
@@ -392,3 +392,9 @@ ENTRY(sys_call_table) | |||
392 | .long sys_userfaultfd | 392 | .long sys_userfaultfd |
393 | .long sys_membarrier /* 390 */ | 393 | .long sys_membarrier /* 390 */ |
394 | .long sys_mlock2 | 394 | .long sys_mlock2 |
395 | .long sys_copy_file_range | ||
396 | .long sys_preadv2 | ||
397 | .long sys_pwritev2 | ||
398 | .long sys_pkey_mprotect /* 395 */ | ||
399 | .long sys_pkey_alloc | ||
400 | .long sys_pkey_free | ||
diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c index 5bbf38b916ef..9e954959f605 100644 --- a/arch/microblaze/kernel/timer.c +++ b/arch/microblaze/kernel/timer.c | |||
@@ -259,7 +259,7 @@ static int __init xilinx_timer_init(struct device_node *timer) | |||
259 | int ret; | 259 | int ret; |
260 | 260 | ||
261 | if (initialized) | 261 | if (initialized) |
262 | return; | 262 | return -EINVAL; |
263 | 263 | ||
264 | initialized = 1; | 264 | initialized = 1; |
265 | 265 | ||