Skip to content

Commit 310655b

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents 7f301cf + 869e330 commit 310655b

File tree

146 files changed

+1478
-1109
lines changed

Some content is hidden

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

146 files changed

+1478
-1109
lines changed

Documentation/accounting/psi.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ situation from a state where some tasks are stalled but the CPU is
5656
still doing productive work. As such, time spent in this subset of the
5757
stall state is tracked separately and exported in the "full" averages.
5858

59-
The ratios are tracked as recent trends over ten, sixty, and three
60-
hundred second windows, which gives insight into short term events as
61-
well as medium and long term trends. The total absolute stall time is
62-
tracked and exported as well, to allow detection of latency spikes
63-
which wouldn't necessarily make a dent in the time averages, or to
64-
average trends over custom time frames.
59+
The ratios (in %) are tracked as recent trends over ten, sixty, and
60+
three hundred second windows, which gives insight into short term events
61+
as well as medium and long term trends. The total absolute stall time
62+
(in us) is tracked and exported as well, to allow detection of latency
63+
spikes which wouldn't necessarily make a dent in the time averages,
64+
or to average trends over custom time frames.
6565

6666
Cgroup2 interface
6767
=================

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ patternProperties:
228228
- renesas,r9a06g032-smp
229229
- rockchip,rk3036-smp
230230
- rockchip,rk3066-smp
231-
- socionext,milbeaut-m10v-smp
231+
- socionext,milbeaut-m10v-smp
232232
- ste,dbx500-smp
233233

234234
cpu-release-addr:

Documentation/lzo.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,11 @@ Byte sequences
102102
dictionary which is empty, and that it will always be
103103
invalid at this place.
104104

105-
17 : bitstream version. If the first byte is 17, the next byte
106-
gives the bitstream version (version 1 only). If the first byte
107-
is not 17, the bitstream version is 0.
105+
17 : bitstream version. If the first byte is 17, and compressed
106+
stream length is at least 5 bytes (length of shortest possible
107+
versioned bitstream), the next byte gives the bitstream version
108+
(version 1 only).
109+
Otherwise, the bitstream version is 0.
108110

109111
18..21 : copy 0..3 literals
110112
state = (byte - 17) = 0..3 [ copy <state> literals ]

MAINTAINERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,14 +1893,15 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
18931893
ARM/NUVOTON NPCM ARCHITECTURE
18941894
M: Avi Fishman <[email protected]>
18951895
M: Tomer Maimon <[email protected]>
1896+
M: Tali Perry <[email protected]>
18961897
R: Patrick Venture <[email protected]>
18971898
R: Nancy Yuen <[email protected]>
1898-
R: Brendan Higgins <brendanhiggins@google.com>
1899+
R: Benjamin Fair <benjaminfair@google.com>
18991900
L: [email protected] (moderated for non-subscribers)
19001901
S: Supported
19011902
F: arch/arm/mach-npcm/
19021903
F: arch/arm/boot/dts/nuvoton-npcm*
1903-
F: include/dt-bindings/clock/nuvoton,npcm7xx-clks.h
1904+
F: include/dt-bindings/clock/nuvoton,npcm7xx-clock.h
19041905
F: drivers/*/*npcm*
19051906
F: Documentation/devicetree/bindings/*/*npcm*
19061907
F: Documentation/devicetree/bindings/*/*/*npcm*
@@ -7518,7 +7519,7 @@ F: include/net/mac802154.h
75187519
F: include/net/af_ieee802154.h
75197520
F: include/net/cfg802154.h
75207521
F: include/net/ieee802154_netdev.h
7521-
F: Documentation/networking/ieee802154.txt
7522+
F: Documentation/networking/ieee802154.rst
75227523

75237524
IFE PROTOCOL
75247525
M: Yotam Gigi <[email protected]>

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 1
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc3
5+
EXTRAVERSION = -rc4
66
NAME = Shy Crocodile
77

88
# *DOCUMENTATION*

arch/arc/include/asm/syscall.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ syscall_set_return_value(struct task_struct *task, struct pt_regs *regs,
5555
*/
5656
static inline void
5757
syscall_get_arguments(struct task_struct *task, struct pt_regs *regs,
58-
unsigned int i, unsigned int n, unsigned long *args)
58+
unsigned long *args)
5959
{
6060
unsigned long *inside_ptregs = &(regs->r0);
61-
inside_ptregs -= i;
62-
63-
BUG_ON((i + n) > 6);
61+
unsigned int n = 6;
62+
unsigned int i = 0;
6463

6564
while (n--) {
6665
args[i++] = (*inside_ptregs);

arch/arm/boot/dts/am335x-evm.dts

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,24 @@
5757
enable-active-high;
5858
};
5959

60+
/* TPS79501 */
61+
v1_8d_reg: fixedregulator-v1_8d {
62+
compatible = "regulator-fixed";
63+
regulator-name = "v1_8d";
64+
vin-supply = <&vbat>;
65+
regulator-min-microvolt = <1800000>;
66+
regulator-max-microvolt = <1800000>;
67+
};
68+
69+
/* TPS79501 */
70+
v3_3d_reg: fixedregulator-v3_3d {
71+
compatible = "regulator-fixed";
72+
regulator-name = "v3_3d";
73+
vin-supply = <&vbat>;
74+
regulator-min-microvolt = <3300000>;
75+
regulator-max-microvolt = <3300000>;
76+
};
77+
6078
matrix_keypad: matrix_keypad0 {
6179
compatible = "gpio-matrix-keypad";
6280
debounce-delay-ms = <5>;
@@ -499,10 +517,10 @@
499517
status = "okay";
500518

501519
/* Regulators */
502-
AVDD-supply = <&vaux2_reg>;
503-
IOVDD-supply = <&vaux2_reg>;
504-
DRVDD-supply = <&vaux2_reg>;
505-
DVDD-supply = <&vbat>;
520+
AVDD-supply = <&v3_3d_reg>;
521+
IOVDD-supply = <&v3_3d_reg>;
522+
DRVDD-supply = <&v3_3d_reg>;
523+
DVDD-supply = <&v1_8d_reg>;
506524
};
507525
};
508526

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

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,24 @@
7373
enable-active-high;
7474
};
7575

76+
/* TPS79518 */
77+
v1_8d_reg: fixedregulator-v1_8d {
78+
compatible = "regulator-fixed";
79+
regulator-name = "v1_8d";
80+
vin-supply = <&vbat>;
81+
regulator-min-microvolt = <1800000>;
82+
regulator-max-microvolt = <1800000>;
83+
};
84+
85+
/* TPS78633 */
86+
v3_3d_reg: fixedregulator-v3_3d {
87+
compatible = "regulator-fixed";
88+
regulator-name = "v3_3d";
89+
vin-supply = <&vbat>;
90+
regulator-min-microvolt = <3300000>;
91+
regulator-max-microvolt = <3300000>;
92+
};
93+
7694
leds {
7795
pinctrl-names = "default";
7896
pinctrl-0 = <&user_leds_s0>;
@@ -501,10 +519,10 @@
501519
status = "okay";
502520

503521
/* Regulators */
504-
AVDD-supply = <&vaux2_reg>;
505-
IOVDD-supply = <&vaux2_reg>;
506-
DRVDD-supply = <&vaux2_reg>;
507-
DVDD-supply = <&vbat>;
522+
AVDD-supply = <&v3_3d_reg>;
523+
IOVDD-supply = <&v3_3d_reg>;
524+
DRVDD-supply = <&v3_3d_reg>;
525+
DVDD-supply = <&v1_8d_reg>;
508526
};
509527
};
510528

arch/arm/boot/dts/am33xx-l4.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@
17621762
reg = <0xcc000 0x4>;
17631763
reg-names = "rev";
17641764
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
1765-
clocks = <&l4ls_clkctrl AM3_D_CAN0_CLKCTRL 0>;
1765+
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN0_CLKCTRL 0>;
17661766
clock-names = "fck";
17671767
#address-cells = <1>;
17681768
#size-cells = <1>;
@@ -1785,7 +1785,7 @@
17851785
reg = <0xd0000 0x4>;
17861786
reg-names = "rev";
17871787
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
1788-
clocks = <&l4ls_clkctrl AM3_D_CAN1_CLKCTRL 0>;
1788+
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN1_CLKCTRL 0>;
17891789
clock-names = "fck";
17901790
#address-cells = <1>;
17911791
#size-cells = <1>;

arch/arm/boot/dts/rk3288-tinker.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@
254254
};
255255

256256
vccio_sd: LDO_REG5 {
257+
regulator-boot-on;
257258
regulator-min-microvolt = <1800000>;
258259
regulator-max-microvolt = <3300000>;
259260
regulator-name = "vccio_sd";
@@ -430,7 +431,7 @@
430431
bus-width = <4>;
431432
cap-mmc-highspeed;
432433
cap-sd-highspeed;
433-
card-detect-delay = <200>;
434+
broken-cd;
434435
disable-wp; /* wp not hooked up */
435436
pinctrl-names = "default";
436437
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;

arch/arm/boot/dts/rk3288-veyron.dtsi

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

2626
gpio_keys: gpio-keys {
2727
compatible = "gpio-keys";
28-
#address-cells = <1>;
29-
#size-cells = <0>;
3028

3129
pinctrl-names = "default";
3230
pinctrl-0 = <&pwr_key_l>;

arch/arm/boot/dts/rk3288.dtsi

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
compatible = "arm,cortex-a12";
7171
reg = <0x501>;
7272
resets = <&cru SRST_CORE1>;
73-
operating-points = <&cpu_opp_table>;
73+
operating-points-v2 = <&cpu_opp_table>;
7474
#cooling-cells = <2>; /* min followed by max */
7575
clock-latency = <40000>;
7676
clocks = <&cru ARMCLK>;
@@ -80,7 +80,7 @@
8080
compatible = "arm,cortex-a12";
8181
reg = <0x502>;
8282
resets = <&cru SRST_CORE2>;
83-
operating-points = <&cpu_opp_table>;
83+
operating-points-v2 = <&cpu_opp_table>;
8484
#cooling-cells = <2>; /* min followed by max */
8585
clock-latency = <40000>;
8686
clocks = <&cru ARMCLK>;
@@ -90,7 +90,7 @@
9090
compatible = "arm,cortex-a12";
9191
reg = <0x503>;
9292
resets = <&cru SRST_CORE3>;
93-
operating-points = <&cpu_opp_table>;
93+
operating-points-v2 = <&cpu_opp_table>;
9494
#cooling-cells = <2>; /* min followed by max */
9595
clock-latency = <40000>;
9696
clocks = <&cru ARMCLK>;
@@ -1119,8 +1119,6 @@
11191119
clock-names = "ref", "pclk";
11201120
power-domains = <&power RK3288_PD_VIO>;
11211121
rockchip,grf = <&grf>;
1122-
#address-cells = <1>;
1123-
#size-cells = <0>;
11241122
status = "disabled";
11251123

11261124
ports {
@@ -1282,27 +1280,27 @@
12821280
gpu_opp_table: gpu-opp-table {
12831281
compatible = "operating-points-v2";
12841282

1285-
opp@100000000 {
1283+
opp-100000000 {
12861284
opp-hz = /bits/ 64 <100000000>;
12871285
opp-microvolt = <950000>;
12881286
};
1289-
opp@200000000 {
1287+
opp-200000000 {
12901288
opp-hz = /bits/ 64 <200000000>;
12911289
opp-microvolt = <950000>;
12921290
};
1293-
opp@300000000 {
1291+
opp-300000000 {
12941292
opp-hz = /bits/ 64 <300000000>;
12951293
opp-microvolt = <1000000>;
12961294
};
1297-
opp@400000000 {
1295+
opp-400000000 {
12981296
opp-hz = /bits/ 64 <400000000>;
12991297
opp-microvolt = <1100000>;
13001298
};
1301-
opp@500000000 {
1299+
opp-500000000 {
13021300
opp-hz = /bits/ 64 <500000000>;
13031301
opp-microvolt = <1200000>;
13041302
};
1305-
opp@600000000 {
1303+
opp-600000000 {
13061304
opp-hz = /bits/ 64 <600000000>;
13071305
opp-microvolt = <1250000>;
13081306
};

arch/arm/boot/dts/sama5d2-pinfunc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@
518518
#define PIN_PC9__GPIO PINMUX_PIN(PIN_PC9, 0, 0)
519519
#define PIN_PC9__FIQ PINMUX_PIN(PIN_PC9, 1, 3)
520520
#define PIN_PC9__GTSUCOMP PINMUX_PIN(PIN_PC9, 2, 1)
521-
#define PIN_PC9__ISC_D0 PINMUX_PIN(PIN_PC9, 2, 1)
521+
#define PIN_PC9__ISC_D0 PINMUX_PIN(PIN_PC9, 3, 1)
522522
#define PIN_PC9__TIOA4 PINMUX_PIN(PIN_PC9, 4, 2)
523523
#define PIN_PC10 74
524524
#define PIN_PC10__GPIO PINMUX_PIN(PIN_PC10, 0, 0)

arch/arm/boot/dts/ste-nomadik-nhk15.dts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,12 @@
213213
gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
214214
gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
215215
/*
216-
* This chipselect is active high. Just setting the flags
217-
* to GPIO_ACTIVE_HIGH is not enough for the SPI DT bindings,
218-
* it will be ignored, only the special "spi-cs-high" flag
219-
* really counts.
216+
* It's not actually active high, but the frameworks assume
217+
* the polarity of the passed-in GPIO is "normal" (active
218+
* high) then actively drives the line low to select the
219+
* chip.
220220
*/
221221
cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
222-
spi-cs-high;
223222
num-chipselects = <1>;
224223

225224
/*

arch/arm/include/asm/syscall.h

Lines changed: 8 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -55,53 +55,22 @@ static inline void syscall_set_return_value(struct task_struct *task,
5555

5656
static inline void syscall_get_arguments(struct task_struct *task,
5757
struct pt_regs *regs,
58-
unsigned int i, unsigned int n,
5958
unsigned long *args)
6059
{
61-
if (n == 0)
62-
return;
63-
64-
if (i + n > SYSCALL_MAX_ARGS) {
65-
unsigned long *args_bad = args + SYSCALL_MAX_ARGS - i;
66-
unsigned int n_bad = n + i - SYSCALL_MAX_ARGS;
67-
pr_warn("%s called with max args %d, handling only %d\n",
68-
__func__, i + n, SYSCALL_MAX_ARGS);
69-
memset(args_bad, 0, n_bad * sizeof(args[0]));
70-
n = SYSCALL_MAX_ARGS - i;
71-
}
72-
73-
if (i == 0) {
74-
args[0] = regs->ARM_ORIG_r0;
75-
args++;
76-
i++;
77-
n--;
78-
}
79-
80-
memcpy(args, &regs->ARM_r0 + i, n * sizeof(args[0]));
60+
args[0] = regs->ARM_ORIG_r0;
61+
args++;
62+
63+
memcpy(args, &regs->ARM_r0 + 1, 5 * sizeof(args[0]));
8164
}
8265

8366
static inline void syscall_set_arguments(struct task_struct *task,
8467
struct pt_regs *regs,
85-
unsigned int i, unsigned int n,
8668
const unsigned long *args)
8769
{
88-
if (n == 0)
89-
return;
90-
91-
if (i + n > SYSCALL_MAX_ARGS) {
92-
pr_warn("%s called with max args %d, handling only %d\n",
93-
__func__, i + n, SYSCALL_MAX_ARGS);
94-
n = SYSCALL_MAX_ARGS - i;
95-
}
96-
97-
if (i == 0) {
98-
regs->ARM_ORIG_r0 = args[0];
99-
args++;
100-
i++;
101-
n--;
102-
}
103-
104-
memcpy(&regs->ARM_r0 + i, args, n * sizeof(args[0]));
70+
regs->ARM_ORIG_r0 = args[0];
71+
args++;
72+
73+
memcpy(&regs->ARM_r0 + 1, args, 5 * sizeof(args[0]));
10574
}
10675

10776
static inline int syscall_get_arch(void)

0 commit comments

Comments
 (0)