Skip to content

Commit

Permalink
Linux: 3.18.40
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLord1731 authored and lzzy12 committed Mar 23, 2018
1 parent 06384aa commit 2003b38
Show file tree
Hide file tree
Showing 94 changed files with 1,238 additions and 555 deletions.
1 change: 1 addition & 0 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ D: Configure, Menuconfig, xconfig

N: Mauro Carvalho Chehab
E: [email protected]
E: [email protected]
E: [email protected]
D: Media subsystem (V4L/DVB) drivers and core
D: EDAC drivers and EDAC 3.0 core rework
Expand Down
6 changes: 6 additions & 0 deletions Documentation/module-signing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,9 @@ Since the private key is used to sign modules, viruses and malware could use
the private key to sign modules and compromise the operating system. The
private key must be either destroyed or moved to a secure location and not kept
in the root node of the kernel source tree.

If you use the same private key to sign modules for multiple kernel
configurations, you must ensure that the module version information is
sufficient to prevent loading a module into a different kernel. Either
set CONFIG_MODVERSIONS=y or ensure that each configuration has a different
kernel release string by changing EXTRAVERSION or CONFIG_LOCALVERSION.
51 changes: 34 additions & 17 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,8 @@ F: include/net/ax25.h
F: net/ax25/

AZ6007 DVB DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -2198,7 +2199,8 @@ F: Documentation/filesystems/btrfs.txt
F: fs/btrfs/

BTTV VIDEO4LINUX DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -2719,7 +2721,8 @@ F: drivers/media/common/cx2341x*
F: include/media/cx2341x*

CX88 VIDEO4LINUX DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -3402,7 +3405,8 @@ F: fs/ecryptfs/
EDAC-CORE
M: Doug Thompson <[email protected]>
M: Borislav Petkov <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Supported
Expand Down Expand Up @@ -3451,7 +3455,8 @@ S: Maintained
F: drivers/edac/e7xxx_edac.c

EDAC-GHES
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Maintained
Expand Down Expand Up @@ -3479,21 +3484,24 @@ S: Maintained
F: drivers/edac/i5000_edac.c

EDAC-I5400
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Maintained
F: drivers/edac/i5400_edac.c

EDAC-I7300
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Maintained
F: drivers/edac/i7300_edac.c

EDAC-I7CORE
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Maintained
Expand Down Expand Up @@ -3536,7 +3544,8 @@ S: Maintained
F: drivers/edac/r82600_edac.c

EDAC-SBRIDGE
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: bluesmoke.sourceforge.net
S: Maintained
Expand Down Expand Up @@ -3596,7 +3605,8 @@ S: Maintained
F: drivers/net/ethernet/ibm/ehea/

EM28XX VIDEO4LINUX DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -5962,7 +5972,8 @@ S: Maintained
F: drivers/media/radio/radio-maxiradio*

MEDIA INPUT INFRASTRUCTURE (V4L/DVB)
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
P: LinuxTV.org Project
L: [email protected]
W: http://linuxtv.org
Expand Down Expand Up @@ -8013,7 +8024,8 @@ S: Odd Fixes
F: drivers/media/i2c/saa6588*

SAA7134 VIDEO4LINUX DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -8471,7 +8483,8 @@ S: Maintained
F: drivers/media/radio/si4713/radio-usb-si4713.c

SIANO DVB DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -9160,15 +9173,17 @@ S: Maintained
F: drivers/media/i2c/tda9840*

TEA5761 TUNER DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
S: Odd fixes
F: drivers/media/tuners/tea5761.*

TEA5767 TUNER DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -9480,7 +9495,8 @@ F: include/linux/shmem_fs.h
F: mm/shmem.c

TM6000 VIDEO4LINUX DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down Expand Up @@ -10301,7 +10317,8 @@ S: Maintained
F: arch/x86/kernel/cpu/mcheck/*

XC2028/3028 TUNER DRIVER
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
M: Mauro Carvalho Chehab <[email protected]>
L: [email protected]
W: http://linuxtv.org
T: git git://linuxtv.org/media_tree.git
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 18
SUBLEVEL = 39
SUBLEVEL = 40
EXTRAVERSION =
NAME = Shuffling Zombie Juror

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
#define ___DEF (_PAGE_PRESENT | _PAGE_DEF_CACHEABLE)

/* Set of bits not changed in pte_modify */
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED)
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_SPECIAL)

/* More Abbrevaited helpers */
#define PAGE_U_NONE __pgprot(___DEF)
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/sun4i-a10-a1000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
regulator-name = "emac-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <20000>;
enable-active-high;
gpio = <&pio 7 15 0>;
};
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/sun4i-a10-hackberry.dts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
regulator-name = "emac-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
startup-delay-us = <20000>;
enable-active-high;
gpio = <&pio 7 19 0>;
};
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/kernel/debug-monitors.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ static int debug_monitors_init(void)
/* Clear the OS lock. */
on_each_cpu(clear_os_lock, NULL, 1);
isb();
local_dbg_enable();

/* Register hotplug handler. */
__register_cpu_notifier(&os_lock_nb);
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ asmlinkage void secondary_start_kernel(void)
set_cpu_online(cpu, true);
complete(&cpu_running);

local_dbg_enable();
local_irq_enable();
local_async_enable();

Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/mm/proc.S
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ ENTRY(__cpu_setup)
mov x0, #3 << 20
msr cpacr_el1, x0 // Enable FP/ASIMD
msr mdscr_el1, xzr // Reset mdscr_el1
isb // Unmask debug exceptions now,
enable_dbg // since this is per-cpu
/*
* Memory region attributes for LPAE:
*
Expand Down
2 changes: 1 addition & 1 deletion arch/metag/include/asm/cmpxchg_lnkget.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old,
" DCACHE [%2], %0\n"
#endif
"2:\n"
: "=&d" (temp), "=&da" (retval)
: "=&d" (temp), "=&d" (retval)
: "da" (m), "bd" (old), "da" (new)
: "cc"
);
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/kernel/scall64-n32.S
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ EXPORT(sysn32_call_table)
PTR sys_ni_syscall /* available, was setaltroot */
PTR sys_add_key
PTR sys_request_key
PTR sys_keyctl /* 6245 */
PTR compat_sys_keyctl /* 6245 */
PTR sys_set_thread_area
PTR sys_inotify_init
PTR sys_inotify_add_watch
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/kernel/scall64-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ EXPORT(sys32_call_table)
PTR sys_ni_syscall /* available, was setaltroot */
PTR sys_add_key /* 4280 */
PTR sys_request_key
PTR sys_keyctl
PTR compat_sys_keyctl
PTR sys_set_thread_area
PTR sys_inotify_init
PTR sys_inotify_add_watch /* 4285 */
Expand Down
64 changes: 45 additions & 19 deletions arch/powerpc/kernel/tm.S
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,11 @@ _GLOBAL(tm_reclaim)
std r3, STK_PARAM(R3)(r1)
SAVE_NVGPRS(r1)

/* We need to setup MSR for VSX register save instructions. Here we
* also clear the MSR RI since when we do the treclaim, we won't have a
* valid kernel pointer for a while. We clear RI here as it avoids
* adding another mtmsr closer to the treclaim. This makes the region
* maked as non-recoverable wider than it needs to be but it saves on
* inserting another mtmsrd later.
*/
/* We need to setup MSR for VSX register save instructions. */
mfmsr r14
mr r15, r14
ori r15, r15, MSR_FP
li r16, MSR_RI
li r16, 0
ori r16, r16, MSR_EE /* IRQs hard off */
andc r15, r15, r16
oris r15, r15, MSR_VEC@h
Expand Down Expand Up @@ -176,7 +170,17 @@ dont_backup_fp:
1: tdeqi r6, 0
EMIT_BUG_ENTRY 1b,__FILE__,__LINE__,0

/* The moment we treclaim, ALL of our GPRs will switch
/* Clear MSR RI since we are about to change r1, EE is already off. */
li r4, 0
mtmsrd r4, 1

/*
* BE CAREFUL HERE:
* At this point we can't take an SLB miss since we have MSR_RI
* off. Load only to/from the stack/paca which are in SLB bolted regions
* until we turn MSR RI back on.
*
* The moment we treclaim, ALL of our GPRs will switch
* to user register state. (FPRs, CCR etc. also!)
* Use an sprg and a tm_scratch in the PACA to shuffle.
*/
Expand All @@ -197,6 +201,11 @@ dont_backup_fp:

/* Store the PPR in r11 and reset to decent value */
std r11, GPR11(r1) /* Temporary stash */

/* Reset MSR RI so we can take SLB faults again */
li r11, MSR_RI
mtmsrd r11, 1

mfspr r11, SPRN_PPR
HMT_MEDIUM

Expand Down Expand Up @@ -329,8 +338,6 @@ _GLOBAL(__tm_recheckpoint)
*/
subi r7, r7, STACK_FRAME_OVERHEAD

SET_SCRATCH0(r1)

mfmsr r6
/* R4 = original MSR to indicate whether thread used FP/Vector etc. */

Expand Down Expand Up @@ -397,11 +404,6 @@ restore_gprs:
ld r5, THREAD_TM_DSCR(r3)
ld r6, THREAD_TM_PPR(r3)

/* Clear the MSR RI since we are about to change R1. EE is already off
*/
li r4, 0
mtmsrd r4, 1

REST_GPR(0, r7) /* GPR0 */
REST_2GPRS(2, r7) /* GPR2-3 */
REST_GPR(4, r7) /* GPR4 */
Expand Down Expand Up @@ -439,10 +441,34 @@ restore_gprs:
ld r6, _CCR(r7)
mtcr r6

REST_GPR(1, r7) /* GPR1 */
REST_GPR(5, r7) /* GPR5-7 */
REST_GPR(6, r7)
ld r7, GPR7(r7)

/*
* Store r1 and r5 on the stack so that we can access them
* after we clear MSR RI.
*/

REST_GPR(5, r7)
std r5, -8(r1)
ld r5, GPR1(r7)
std r5, -16(r1)

REST_GPR(7, r7)

/* Clear MSR RI since we are about to change r1. EE is already off */
li r5, 0
mtmsrd r5, 1

/*
* BE CAREFUL HERE:
* At this point we can't take an SLB miss since we have MSR_RI
* off. Load only to/from the stack/paca which are in SLB bolted regions
* until we turn MSR RI back on.
*/

SET_SCRATCH0(r1)
ld r5, -8(r1)
ld r1, -16(r1)

/* Commit register state as checkpointed state: */
TRECHKPT
Expand Down
Loading

0 comments on commit 2003b38

Please sign in to comment.