Skip to content

Commit c66b219

Browse files
author
Alex Shi
committed
Merge tag 'v4.4.13' into linux-linaro-lsk-v4.4
This is the 4.4.13 stable release
2 parents 37aa27c + ba760d4 commit c66b219

125 files changed

Lines changed: 788 additions & 376 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/clock/imx35-clock.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ clocks and IDs.
9494
csi_sel 79
9595
iim_gate 80
9696
gpu2d_gate 81
97+
ckli_gate 82
9798

9899
Examples:
99100

Documentation/sysctl/fs.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Currently, these files are in /proc/sys/fs:
3232
- nr_open
3333
- overflowuid
3434
- overflowgid
35+
- pipe-user-pages-hard
36+
- pipe-user-pages-soft
3537
- protected_hardlinks
3638
- protected_symlinks
3739
- suid_dumpable
@@ -159,6 +161,27 @@ The default is 65534.
159161

160162
==============================================================
161163

164+
pipe-user-pages-hard:
165+
166+
Maximum total number of pages a non-privileged user may allocate for pipes.
167+
Once this limit is reached, no new pipes may be allocated until usage goes
168+
below the limit again. When set to 0, no limit is applied, which is the default
169+
setting.
170+
171+
==============================================================
172+
173+
pipe-user-pages-soft:
174+
175+
Maximum total number of pages a non-privileged user may allocate for pipes
176+
before the pipe size gets limited to a single page. Once this limit is reached,
177+
new pipes will be limited to a single page in size for this user in order to
178+
limit total memory usage, and trying to increase them using fcntl() will be
179+
denied until usage goes below the limit again. The default value allows to
180+
allocate up to 1024 pipes at their default size. When set to 0, no limit is
181+
applied.
182+
183+
==============================================================
184+
162185
protected_hardlinks:
163186

164187
A long-standing class of security issues is the hardlink-based

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 4
3-
SUBLEVEL = 12
3+
SUBLEVEL = 13
44
EXTRAVERSION =
55
NAME = Blurry Fish Butt
66

@@ -364,7 +364,7 @@ AFLAGS_MODULE =
364364
LDFLAGS_MODULE =
365365
CFLAGS_KERNEL =
366366
AFLAGS_KERNEL =
367-
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage
367+
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im
368368

369369

370370
# Use USERINCLUDE when you must reference the UAPI directories only.

arch/arm/boot/dts/armada-385-linksys.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
button@2 {
246246
label = "Factory Reset Button";
247247
linux,code = <KEY_RESTART>;
248-
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
248+
gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
249249
};
250250
};
251251

@@ -260,7 +260,7 @@
260260
};
261261

262262
sata {
263-
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
263+
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
264264
default-state = "off";
265265
};
266266
};
@@ -313,7 +313,7 @@
313313

314314
&pinctrl {
315315
keys_pin: keys-pin {
316-
marvell,pins = "mpp24", "mpp47";
316+
marvell,pins = "mpp24", "mpp29";
317317
marvell,function = "gpio";
318318
};
319319

arch/arm/boot/dts/armada-xp-linksys-mamba.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,13 @@
304304
button@1 {
305305
label = "WPS";
306306
linux,code = <KEY_WPS_BUTTON>;
307-
gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
307+
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
308308
};
309309

310310
button@2 {
311311
label = "Factory Reset Button";
312312
linux,code = <KEY_RESTART>;
313-
gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
313+
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
314314
};
315315
};
316316

arch/arm/boot/dts/exynos4210-trats.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@
298298
compatible = "maxim,max8997-pmic";
299299

300300
reg = <0x66>;
301+
interrupt-parent = <&gpx0>;
302+
interrupts = <7 0>;
301303

302304
max8997,pmic-buck1-uses-gpio-dvs;
303305
max8997,pmic-buck2-uses-gpio-dvs;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,8 +837,8 @@
837837
#define PIN_PD23__ISC_FIELD PINMUX_PIN(PIN_PD23, 6, 4)
838838
#define PIN_PD24 120
839839
#define PIN_PD24__GPIO PINMUX_PIN(PIN_PD24, 0, 0)
840-
#define PIN_PD24__UTXD2 PINMUX_PIN(PIN_PD23, 1, 2)
841-
#define PIN_PD24__FLEXCOM4_IO3 PINMUX_PIN(PIN_PD23, 3, 3)
840+
#define PIN_PD24__UTXD2 PINMUX_PIN(PIN_PD24, 1, 2)
841+
#define PIN_PD24__FLEXCOM4_IO3 PINMUX_PIN(PIN_PD24, 3, 3)
842842
#define PIN_PD25 121
843843
#define PIN_PD25__GPIO PINMUX_PIN(PIN_PD25, 0, 0)
844844
#define PIN_PD25__SPI1_SPCK PINMUX_PIN(PIN_PD25, 1, 3)

arch/mips/ath79/early_printk.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ static inline void prom_putchar_wait(void __iomem *reg, u32 mask, u32 val)
3131
} while (1);
3232
}
3333

34+
#define BOTH_EMPTY (UART_LSR_TEMT | UART_LSR_THRE)
35+
3436
static void prom_putchar_ar71xx(unsigned char ch)
3537
{
3638
void __iomem *base = (void __iomem *)(KSEG1ADDR(AR71XX_UART_BASE));
3739

38-
prom_putchar_wait(base + UART_LSR * 4, UART_LSR_THRE, UART_LSR_THRE);
40+
prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY);
3941
__raw_writel(ch, base + UART_TX * 4);
40-
prom_putchar_wait(base + UART_LSR * 4, UART_LSR_THRE, UART_LSR_THRE);
42+
prom_putchar_wait(base + UART_LSR * 4, BOTH_EMPTY, BOTH_EMPTY);
4143
}
4244

4345
static void prom_putchar_ar933x(unsigned char ch)

arch/mips/include/asm/asmmacro.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -298,21 +298,21 @@
298298
.set pop
299299
.endm
300300

301-
.macro copy_u_w ws, n
301+
.macro copy_s_w ws, n
302302
.set push
303303
.set mips32r2
304304
.set fp=64
305305
.set msa
306-
copy_u.w $1, $w\ws[\n]
306+
copy_s.w $1, $w\ws[\n]
307307
.set pop
308308
.endm
309309

310-
.macro copy_u_d ws, n
310+
.macro copy_s_d ws, n
311311
.set push
312312
.set mips64r2
313313
.set fp=64
314314
.set msa
315-
copy_u.d $1, $w\ws[\n]
315+
copy_s.d $1, $w\ws[\n]
316316
.set pop
317317
.endm
318318

@@ -346,8 +346,8 @@
346346
#define STH_MSA_INSN 0x5800081f
347347
#define STW_MSA_INSN 0x5800082f
348348
#define STD_MSA_INSN 0x5800083f
349-
#define COPY_UW_MSA_INSN 0x58f00056
350-
#define COPY_UD_MSA_INSN 0x58f80056
349+
#define COPY_SW_MSA_INSN 0x58b00056
350+
#define COPY_SD_MSA_INSN 0x58b80056
351351
#define INSERT_W_MSA_INSN 0x59300816
352352
#define INSERT_D_MSA_INSN 0x59380816
353353
#else
@@ -361,8 +361,8 @@
361361
#define STH_MSA_INSN 0x78000825
362362
#define STW_MSA_INSN 0x78000826
363363
#define STD_MSA_INSN 0x78000827
364-
#define COPY_UW_MSA_INSN 0x78f00059
365-
#define COPY_UD_MSA_INSN 0x78f80059
364+
#define COPY_SW_MSA_INSN 0x78b00059
365+
#define COPY_SD_MSA_INSN 0x78b80059
366366
#define INSERT_W_MSA_INSN 0x79300819
367367
#define INSERT_D_MSA_INSN 0x79380819
368368
#endif
@@ -393,7 +393,7 @@
393393
.set push
394394
.set noat
395395
SET_HARDFLOAT
396-
addu $1, \base, \off
396+
PTR_ADDU $1, \base, \off
397397
.word LDB_MSA_INSN | (\wd << 6)
398398
.set pop
399399
.endm
@@ -402,7 +402,7 @@
402402
.set push
403403
.set noat
404404
SET_HARDFLOAT
405-
addu $1, \base, \off
405+
PTR_ADDU $1, \base, \off
406406
.word LDH_MSA_INSN | (\wd << 6)
407407
.set pop
408408
.endm
@@ -411,7 +411,7 @@
411411
.set push
412412
.set noat
413413
SET_HARDFLOAT
414-
addu $1, \base, \off
414+
PTR_ADDU $1, \base, \off
415415
.word LDW_MSA_INSN | (\wd << 6)
416416
.set pop
417417
.endm
@@ -420,7 +420,7 @@
420420
.set push
421421
.set noat
422422
SET_HARDFLOAT
423-
addu $1, \base, \off
423+
PTR_ADDU $1, \base, \off
424424
.word LDD_MSA_INSN | (\wd << 6)
425425
.set pop
426426
.endm
@@ -429,7 +429,7 @@
429429
.set push
430430
.set noat
431431
SET_HARDFLOAT
432-
addu $1, \base, \off
432+
PTR_ADDU $1, \base, \off
433433
.word STB_MSA_INSN | (\wd << 6)
434434
.set pop
435435
.endm
@@ -438,7 +438,7 @@
438438
.set push
439439
.set noat
440440
SET_HARDFLOAT
441-
addu $1, \base, \off
441+
PTR_ADDU $1, \base, \off
442442
.word STH_MSA_INSN | (\wd << 6)
443443
.set pop
444444
.endm
@@ -447,7 +447,7 @@
447447
.set push
448448
.set noat
449449
SET_HARDFLOAT
450-
addu $1, \base, \off
450+
PTR_ADDU $1, \base, \off
451451
.word STW_MSA_INSN | (\wd << 6)
452452
.set pop
453453
.endm
@@ -456,26 +456,26 @@
456456
.set push
457457
.set noat
458458
SET_HARDFLOAT
459-
addu $1, \base, \off
459+
PTR_ADDU $1, \base, \off
460460
.word STD_MSA_INSN | (\wd << 6)
461461
.set pop
462462
.endm
463463

464-
.macro copy_u_w ws, n
464+
.macro copy_s_w ws, n
465465
.set push
466466
.set noat
467467
SET_HARDFLOAT
468468
.insn
469-
.word COPY_UW_MSA_INSN | (\n << 16) | (\ws << 11)
469+
.word COPY_SW_MSA_INSN | (\n << 16) | (\ws << 11)
470470
.set pop
471471
.endm
472472

473-
.macro copy_u_d ws, n
473+
.macro copy_s_d ws, n
474474
.set push
475475
.set noat
476476
SET_HARDFLOAT
477477
.insn
478-
.word COPY_UD_MSA_INSN | (\n << 16) | (\ws << 11)
478+
.word COPY_SD_MSA_INSN | (\n << 16) | (\ws << 11)
479479
.set pop
480480
.endm
481481

arch/mips/include/asm/cacheflush.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ extern void (*flush_cache_range)(struct vm_area_struct *vma,
5151
unsigned long start, unsigned long end);
5252
extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
5353
extern void __flush_dcache_page(struct page *page);
54-
extern void __flush_icache_page(struct vm_area_struct *vma, struct page *page);
5554

5655
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
5756
static inline void flush_dcache_page(struct page *page)
@@ -77,11 +76,6 @@ static inline void flush_anon_page(struct vm_area_struct *vma,
7776
static inline void flush_icache_page(struct vm_area_struct *vma,
7877
struct page *page)
7978
{
80-
if (!cpu_has_ic_fills_f_dc && (vma->vm_flags & VM_EXEC) &&
81-
Page_dcache_dirty(page)) {
82-
__flush_icache_page(vma, page);
83-
ClearPageDcacheDirty(page);
84-
}
8579
}
8680

8781
extern void (*flush_icache_range)(unsigned long start, unsigned long end);

0 commit comments

Comments
 (0)