Skip to content

Commit 4f1c6ed

Browse files
author
Zhili Yang
authored
Merge pull request #1 from torvalds/master
sync 20170427
2 parents 1bf4b12 + f832460 commit 4f1c6ed

210 files changed

Lines changed: 2078 additions & 872 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/devicetree/bindings/pci/hisilicon-pcie.txt‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,19 @@ Hip05 Example (note that Hip06 is the same except compatible):
4444
};
4545

4646
HiSilicon Hip06/Hip07 PCIe host bridge DT (almost-ECAM) description.
47+
48+
Some BIOSes place the host controller in a mode where it is ECAM
49+
compliant for all devices other than the root complex. In such cases,
50+
the host controller should be described as below.
51+
4752
The properties and their meanings are identical to those described in
4853
host-generic-pci.txt except as listed below.
4954

5055
Properties of the host controller node that differ from
5156
host-generic-pci.txt:
5257

53-
- compatible : Must be "hisilicon,pcie-almost-ecam"
58+
- compatible : Must be "hisilicon,hip06-pcie-ecam", or
59+
"hisilicon,hip07-pcie-ecam"
5460

5561
- reg : Two entries: First the ECAM configuration space for any
5662
other bus underneath the root bus. Second, the base
@@ -59,7 +65,7 @@ host-generic-pci.txt:
5965

6066
Example:
6167
pcie0: pcie@a0090000 {
62-
compatible = "hisilicon,pcie-almost-ecam";
68+
compatible = "hisilicon,hip06-pcie-ecam";
6369
reg = <0 0xb0000000 0 0x2000000>, /* ECAM configuration space */
6470
<0 0xa0090000 0 0x10000>; /* host bridge registers */
6571
bus-range = <0 31>;

‎MAINTAINERS‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2585,12 +2585,26 @@ F: include/uapi/linux/if_bonding.h
25852585

25862586
BPF (Safe dynamic programs and tools)
25872587
M: Alexei Starovoitov <ast@kernel.org>
2588+
M: Daniel Borkmann <daniel@iogearbox.net>
25882589
L: netdev@vger.kernel.org
25892590
L: linux-kernel@vger.kernel.org
25902591
S: Supported
2592+
F: arch/x86/net/bpf_jit*
2593+
F: Documentation/networking/filter.txt
2594+
F: include/linux/bpf*
2595+
F: include/linux/filter.h
2596+
F: include/uapi/linux/bpf*
2597+
F: include/uapi/linux/filter.h
25912598
F: kernel/bpf/
2592-
F: tools/testing/selftests/bpf/
2599+
F: kernel/trace/bpf_trace.c
25932600
F: lib/test_bpf.c
2601+
F: net/bpf/
2602+
F: net/core/filter.c
2603+
F: net/sched/act_bpf.c
2604+
F: net/sched/cls_bpf.c
2605+
F: samples/bpf/
2606+
F: tools/net/bpf*
2607+
F: tools/testing/selftests/bpf/
25942608

25952609
BROADCOM B44 10/100 ETHERNET DRIVER
25962610
M: Michael Chan <michael.chan@broadcom.com>
@@ -8761,6 +8775,7 @@ W: http://www.linuxfoundation.org/en/Net
87618775
Q: http://patchwork.ozlabs.org/project/netdev/list/
87628776
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
87638777
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
8778+
B: mailto:netdev@vger.kernel.org
87648779
S: Maintained
87658780
F: net/
87668781
F: include/net/
@@ -12464,7 +12479,6 @@ F: drivers/clk/ti/
1246412479
F: include/linux/clk/ti.h
1246512480

1246612481
TI ETHERNET SWITCH DRIVER (CPSW)
12467-
M: Mugunthan V N <mugunthanvnm@ti.com>
1246812482
R: Grygorii Strashko <grygorii.strashko@ti.com>
1246912483
L: linux-omap@vger.kernel.org
1247012484
L: netdev@vger.kernel.org

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 4
22
PATCHLEVEL = 11
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc6
4+
EXTRAVERSION = -rc8
55
NAME = Fearless Coyote
66

77
# *DOCUMENTATION*

‎arch/arc/Kconfig‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,14 @@ config ARC_HAS_DIV_REM
406406
bool "Insn: div, divu, rem, remu"
407407
default y
408408

409+
config ARC_HAS_ACCL_REGS
410+
bool "Reg Pair ACCL:ACCH (FPU and/or MPY > 6)"
411+
default n
412+
help
413+
Depending on the configuration, CPU can contain accumulator reg-pair
414+
(also referred to as r58:r59). These can also be used by gcc as GPR so
415+
kernel needs to save/restore per process
416+
409417
endif # ISA_ARCV2
410418

411419
endmenu # "ARC CPU Configuration"

‎arch/arc/include/asm/atomic.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
#include <asm/barrier.h>
1818
#include <asm/smp.h>
1919

20+
#define ATOMIC_INIT(i) { (i) }
21+
2022
#ifndef CONFIG_ARC_PLAT_EZNPS
2123

2224
#define atomic_read(v) READ_ONCE((v)->counter)
23-
#define ATOMIC_INIT(i) { (i) }
2425

2526
#ifdef CONFIG_ARC_HAS_LLSC
2627

‎arch/arc/include/asm/entry-arcv2.h‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
;
1717
; Now manually save: r12, sp, fp, gp, r25
1818

19+
#ifdef CONFIG_ARC_HAS_ACCL_REGS
20+
PUSH r59
21+
PUSH r58
22+
#endif
23+
1924
PUSH r30
2025
PUSH r12
2126

@@ -75,6 +80,11 @@
7580
POP r12
7681
POP r30
7782

83+
#ifdef CONFIG_ARC_HAS_ACCL_REGS
84+
POP r58
85+
POP r59
86+
#endif
87+
7888
.endm
7989

8090
/*------------------------------------------------------------------------*/

‎arch/arc/include/asm/ptrace.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ struct pt_regs {
8686

8787
unsigned long r12, r30;
8888

89+
#ifdef CONFIG_ARC_HAS_ACCL_REGS
90+
unsigned long r58, r59; /* ACCL/ACCH used by FPU / DSP MPY */
91+
#endif
92+
8993
/*------- Below list auto saved by h/w -----------*/
9094
unsigned long r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11;
9195

‎arch/arc/kernel/setup.c‎

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ static char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len)
319319
static void arc_chk_core_config(void)
320320
{
321321
struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];
322-
int fpu_enabled;
322+
int saved = 0, present = 0;
323+
char *opt_nm = NULL;;
323324

324325
if (!cpu->extn.timer0)
325326
panic("Timer0 is not present!\n");
@@ -346,17 +347,28 @@ static void arc_chk_core_config(void)
346347

347348
/*
348349
* FP hardware/software config sanity
349-
* -If hardware contains DPFP, kernel needs to save/restore FPU state
350+
* -If hardware present, kernel needs to save/restore FPU state
350351
* -If not, it will crash trying to save/restore the non-existant regs
351-
*
352-
* (only DPDP checked since SP has no arch visible regs)
353352
*/
354-
fpu_enabled = IS_ENABLED(CONFIG_ARC_FPU_SAVE_RESTORE);
355353

356-
if (cpu->extn.fpu_dp && !fpu_enabled)
357-
pr_warn("CONFIG_ARC_FPU_SAVE_RESTORE needed for working apps\n");
358-
else if (!cpu->extn.fpu_dp && fpu_enabled)
359-
panic("FPU non-existent, disable CONFIG_ARC_FPU_SAVE_RESTORE\n");
354+
if (is_isa_arcompact()) {
355+
opt_nm = "CONFIG_ARC_FPU_SAVE_RESTORE";
356+
saved = IS_ENABLED(CONFIG_ARC_FPU_SAVE_RESTORE);
357+
358+
/* only DPDP checked since SP has no arch visible regs */
359+
present = cpu->extn.fpu_dp;
360+
} else {
361+
opt_nm = "CONFIG_ARC_HAS_ACCL_REGS";
362+
saved = IS_ENABLED(CONFIG_ARC_HAS_ACCL_REGS);
363+
364+
/* Accumulator Low:High pair (r58:59) present if DSP MPY or FPU */
365+
present = cpu->extn_mpy.dsp | cpu->extn.fpu_sp | cpu->extn.fpu_dp;
366+
}
367+
368+
if (present && !saved)
369+
pr_warn("Enable %s for working apps\n", opt_nm);
370+
else if (!present && saved)
371+
panic("Disable %s, hardware NOT present\n", opt_nm);
360372
}
361373

362374
/*

‎arch/arm/boot/dts/am335x-baltos.dtsi‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@
371371

372372
phy1: ethernet-phy@1 {
373373
reg = <7>;
374+
eee-broken-100tx;
375+
eee-broken-1000t;
374376
};
375377
};
376378

‎arch/arm/boot/dts/am335x-evmsk.dts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@
672672
ti,non-removable;
673673
bus-width = <4>;
674674
cap-power-off-card;
675+
keep-power-in-suspend;
675676
pinctrl-names = "default";
676677
pinctrl-0 = <&mmc2_pins>;
677678

0 commit comments

Comments
 (0)