Skip to content

Commit 959327c

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents f84ea77 + b835c0f commit 959327c

151 files changed

Lines changed: 1553 additions & 1101 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/kernel-parameters.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
315315
CPU-intensive style benchmark, and it can vary highly in
316316
a microbenchmark depending on workload and compiler.
317317

318-
1: only for 32-bit processes
319-
2: only for 64-bit processes
318+
32: only for 32-bit processes
319+
64: only for 64-bit processes
320320
on: enable for both 32- and 64-bit processes
321321
off: disable for both 32- and 64-bit processes
322322

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,11 @@ tcp_max_ssthresh - INTEGER
295295
Default: 0 (off)
296296

297297
tcp_max_syn_backlog - INTEGER
298-
Maximal number of remembered connection requests, which are
299-
still did not receive an acknowledgment from connecting client.
300-
Default value is 1024 for systems with more than 128Mb of memory,
301-
and 128 for low memory machines. If server suffers of overload,
302-
try to increase this number.
298+
Maximal number of remembered connection requests, which have not
299+
received an acknowledgment from connecting client.
300+
The minimal value is 128 for low memory machines, and it will
301+
increase in proportion to the memory of machine.
302+
If server suffers from overload, try increasing this number.
303303

304304
tcp_max_tw_buckets - INTEGER
305305
Maximal number of timewait sockets held by system simultaneously.

‎Documentation/usb/linux-cdc-acm.inf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ ServiceBinary=%12%\USBSER.sys
9090
[SourceDisksFiles]
9191
[SourceDisksNames]
9292
[DeviceList]
93-
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02
93+
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00
9494

9595
[DeviceList.NTamd64]
96-
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02
96+
%DESCRIPTION%=DriverInstall, USB\VID_0525&PID_A4A7, USB\VID_1D6B&PID_0104&MI_02, USB\VID_1D6B&PID_0106&MI_00
9797

9898

9999
;------------------------------------------------------------------------------

‎arch/arm/kernel/perf_event.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,15 +353,15 @@ validate_group(struct perf_event *event)
353353
fake_pmu.used_mask = fake_used_mask;
354354

355355
if (!validate_event(&fake_pmu, leader))
356-
return -ENOSPC;
356+
return -EINVAL;
357357

358358
list_for_each_entry(sibling, &leader->sibling_list, group_entry) {
359359
if (!validate_event(&fake_pmu, sibling))
360-
return -ENOSPC;
360+
return -EINVAL;
361361
}
362362

363363
if (!validate_event(&fake_pmu, event))
364-
return -ENOSPC;
364+
return -EINVAL;
365365

366366
return 0;
367367
}

‎arch/mips/kernel/perf_event_mipsxx.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static int mipspmu_event_init(struct perf_event *event)
623623
if (!atomic_inc_not_zero(&active_events)) {
624624
if (atomic_read(&active_events) > MIPS_MAX_HWEVENTS) {
625625
atomic_dec(&active_events);
626-
return -ENOSPC;
626+
return -EINVAL;
627627
}
628628

629629
mutex_lock(&pmu_reserve_mutex);
@@ -732,15 +732,15 @@ static int validate_group(struct perf_event *event)
732732
memset(&fake_cpuc, 0, sizeof(fake_cpuc));
733733

734734
if (!validate_event(&fake_cpuc, leader))
735-
return -ENOSPC;
735+
return -EINVAL;
736736

737737
list_for_each_entry(sibling, &leader->sibling_list, group_entry) {
738738
if (!validate_event(&fake_cpuc, sibling))
739-
return -ENOSPC;
739+
return -EINVAL;
740740
}
741741

742742
if (!validate_event(&fake_cpuc, event))
743-
return -ENOSPC;
743+
return -EINVAL;
744744

745745
return 0;
746746
}

‎arch/s390/include/asm/pgtable.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,10 @@ static inline pgste_t pgste_update_all(pte_t *ptep, pgste_t pgste)
599599
skey = page_get_storage_key(address);
600600
bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED);
601601
/* Clear page changed & referenced bit in the storage key */
602-
if (bits) {
603-
skey ^= bits;
604-
page_set_storage_key(address, skey, 1);
605-
}
602+
if (bits & _PAGE_CHANGED)
603+
page_set_storage_key(address, skey ^ bits, 1);
604+
else if (bits)
605+
page_reset_referenced(address);
606606
/* Transfer page changed & referenced bit to guest bits in pgste */
607607
pgste_val(pgste) |= bits << 48; /* RCP_GR_BIT & RCP_GC_BIT */
608608
/* Get host changed & referenced bits from pgste */

‎arch/s390/kernel/ptrace.c‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,6 @@ static int __poke_user(struct task_struct *child, addr_t addr, addr_t data)
296296
((data & PSW_MASK_EA) && !(data & PSW_MASK_BA))))
297297
/* Invalid psw mask. */
298298
return -EINVAL;
299-
if (addr == (addr_t) &dummy->regs.psw.addr)
300-
/*
301-
* The debugger changed the instruction address,
302-
* reset system call restart, see signal.c:do_signal
303-
*/
304-
task_thread_info(child)->system_call = 0;
305-
306299
*(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr) = data;
307300

308301
} else if (addr < (addr_t) (&dummy->regs.orig_gpr2)) {
@@ -614,11 +607,6 @@ static int __poke_user_compat(struct task_struct *child,
614607
/* Transfer 31 bit amode bit to psw mask. */
615608
regs->psw.mask = (regs->psw.mask & ~PSW_MASK_BA) |
616609
(__u64)(tmp & PSW32_ADDR_AMODE);
617-
/*
618-
* The debugger changed the instruction address,
619-
* reset system call restart, see signal.c:do_signal
620-
*/
621-
task_thread_info(child)->system_call = 0;
622610
} else {
623611
/* gpr 0-15 */
624612
*(__u32*)((addr_t) &regs->psw + addr*2 + 4) = tmp;
@@ -905,6 +893,14 @@ static int s390_last_break_get(struct task_struct *target,
905893
return 0;
906894
}
907895

896+
static int s390_last_break_set(struct task_struct *target,
897+
const struct user_regset *regset,
898+
unsigned int pos, unsigned int count,
899+
const void *kbuf, const void __user *ubuf)
900+
{
901+
return 0;
902+
}
903+
908904
#endif
909905

910906
static int s390_system_call_get(struct task_struct *target,
@@ -951,6 +947,7 @@ static const struct user_regset s390_regsets[] = {
951947
.size = sizeof(long),
952948
.align = sizeof(long),
953949
.get = s390_last_break_get,
950+
.set = s390_last_break_set,
954951
},
955952
#endif
956953
[REGSET_SYSTEM_CALL] = {
@@ -1116,6 +1113,14 @@ static int s390_compat_last_break_get(struct task_struct *target,
11161113
return 0;
11171114
}
11181115

1116+
static int s390_compat_last_break_set(struct task_struct *target,
1117+
const struct user_regset *regset,
1118+
unsigned int pos, unsigned int count,
1119+
const void *kbuf, const void __user *ubuf)
1120+
{
1121+
return 0;
1122+
}
1123+
11191124
static const struct user_regset s390_compat_regsets[] = {
11201125
[REGSET_GENERAL] = {
11211126
.core_note_type = NT_PRSTATUS,
@@ -1139,6 +1144,7 @@ static const struct user_regset s390_compat_regsets[] = {
11391144
.size = sizeof(long),
11401145
.align = sizeof(long),
11411146
.get = s390_compat_last_break_get,
1147+
.set = s390_compat_last_break_set,
11421148
},
11431149
[REGSET_SYSTEM_CALL] = {
11441150
.core_note_type = NT_S390_SYSTEM_CALL,

‎arch/s390/kernel/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ static unsigned long __init find_crash_base(unsigned long crash_size,
579579
*msg = "first memory chunk must be at least crashkernel size";
580580
return 0;
581581
}
582-
if (is_kdump_kernel() && (crash_size == OLDMEM_SIZE))
582+
if (OLDMEM_BASE && crash_size == OLDMEM_SIZE)
583583
return OLDMEM_BASE;
584584

585585
for (i = MEMORY_CHUNKS - 1; i >= 0; i--) {

‎arch/s390/kernel/signal.c‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,9 @@ void do_signal(struct pt_regs *regs)
460460
regs->svc_code >> 16);
461461
break;
462462
}
463-
/* No longer in a system call */
464-
clear_thread_flag(TIF_SYSCALL);
465463
}
464+
/* No longer in a system call */
465+
clear_thread_flag(TIF_SYSCALL);
466466

467467
if ((is_compat_task() ?
468468
handle_signal32(signr, &ka, &info, oldset, regs) :
@@ -486,6 +486,7 @@ void do_signal(struct pt_regs *regs)
486486
}
487487

488488
/* No handlers present - check for system call restart */
489+
clear_thread_flag(TIF_SYSCALL);
489490
if (current_thread_info()->system_call) {
490491
regs->svc_code = current_thread_info()->system_call;
491492
switch (regs->gprs[2]) {
@@ -500,9 +501,6 @@ void do_signal(struct pt_regs *regs)
500501
regs->gprs[2] = regs->orig_gpr2;
501502
set_thread_flag(TIF_SYSCALL);
502503
break;
503-
default:
504-
clear_thread_flag(TIF_SYSCALL);
505-
break;
506504
}
507505
}
508506

‎arch/x86/include/asm/intel_scu_ipc.h‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33

44
#include <linux/notifier.h>
55

6-
#define IPCMSG_VRTC 0xFA /* Set vRTC device */
7-
8-
/* Command id associated with message IPCMSG_VRTC */
9-
#define IPC_CMD_VRTC_SETTIME 1 /* Set time */
10-
#define IPC_CMD_VRTC_SETALARM 2 /* Set alarm */
6+
#define IPCMSG_WARM_RESET 0xF0
7+
#define IPCMSG_COLD_RESET 0xF1
8+
#define IPCMSG_SOFT_RESET 0xF2
9+
#define IPCMSG_COLD_BOOT 0xF3
10+
11+
#define IPCMSG_VRTC 0xFA /* Set vRTC device */
12+
/* Command id associated with message IPCMSG_VRTC */
13+
#define IPC_CMD_VRTC_SETTIME 1 /* Set time */
14+
#define IPC_CMD_VRTC_SETALARM 2 /* Set alarm */
1115

1216
/* Read single register */
1317
int intel_scu_ipc_ioread8(u16 addr, u8 *data);

0 commit comments

Comments
 (0)