Skip to content

Commit f9474dd

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pulling to get some TIPC fixes that a net-next series depends upon. Signed-off-by: David S. Miller <[email protected]>
2 parents 989e04c + a45e92a commit f9474dd

File tree

230 files changed

+4691
-1852
lines changed

Some content is hidden

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

230 files changed

+4691
-1852
lines changed

Documentation/DocBook/drm.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ char *date;</synopsis>
315315
<function>drm_dev_unregister()</function> followed by a call to
316316
<function>drm_dev_unref()</function>.
317317
</para>
318-
!Edrivers/gpu/drm/drm_stub.c
318+
!Edrivers/gpu/drm/drm_drv.c
319319
</sect2>
320320
<sect2>
321321
<title>Driver Load</title>

Documentation/devicetree/bindings/interrupt-controller/interrupts.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ Specifying interrupt information for devices
44
1) Interrupt client nodes
55
-------------------------
66

7-
Nodes that describe devices which generate interrupts must contain an either an
8-
"interrupts" property or an "interrupts-extended" property. These properties
9-
contain a list of interrupt specifiers, one per output interrupt. The format of
10-
the interrupt specifier is determined by the interrupt controller to which the
11-
interrupts are routed; see section 2 below for details.
7+
Nodes that describe devices which generate interrupts must contain an
8+
"interrupts" property, an "interrupts-extended" property, or both. If both are
9+
present, the latter should take precedence; the former may be provided simply
10+
for compatibility with software that does not recognize the latter. These
11+
properties contain a list of interrupt specifiers, one per output interrupt. The
12+
format of the interrupt specifier is determined by the interrupt controller to
13+
which the interrupts are routed; see section 2 below for details.
1214

1315
Example:
1416
interrupt-parent = <&intc1>;

Documentation/devicetree/bindings/pci/designware-pcie.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Required properties:
44
- compatible: should contain "snps,dw-pcie" to identify the core.
5+
- reg: Should contain the configuration address space.
6+
- reg-names: Must be "config" for the PCIe configuration space.
7+
(The old way of getting the configuration address space from "ranges"
8+
is deprecated and should be avoided.)
59
- #address-cells: set to <3>
610
- #size-cells: set to <2>
711
- device_type: set to "pci"
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
TI PCI Controllers
2+
3+
PCIe Designware Controller
4+
- compatible: Should be "ti,dra7-pcie""
5+
- reg : Two register ranges as listed in the reg-names property
6+
- reg-names : The first entry must be "ti-conf" for the TI specific registers
7+
The second entry must be "rc-dbics" for the designware pcie
8+
registers
9+
The third entry must be "config" for the PCIe configuration space
10+
- phys : list of PHY specifiers (used by generic PHY framework)
11+
- phy-names : must be "pcie-phy0", "pcie-phy1", "pcie-phyN".. based on the
12+
number of PHYs as specified in *phys* property.
13+
- ti,hwmods : Name of the hwmod associated to the pcie, "pcie<X>",
14+
where <X> is the instance number of the pcie from the HW spec.
15+
- interrupts : Two interrupt entries must be specified. The first one is for
16+
main interrupt line and the second for MSI interrupt line.
17+
- #address-cells,
18+
#size-cells,
19+
#interrupt-cells,
20+
device_type,
21+
ranges,
22+
num-lanes,
23+
interrupt-map-mask,
24+
interrupt-map : as specified in ../designware-pcie.txt
25+
26+
Example:
27+
axi {
28+
compatible = "simple-bus";
29+
#size-cells = <1>;
30+
#address-cells = <1>;
31+
ranges = <0x51000000 0x51000000 0x3000
32+
0x0 0x20000000 0x10000000>;
33+
pcie@51000000 {
34+
compatible = "ti,dra7-pcie";
35+
reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>;
36+
reg-names = "rc_dbics", "ti_conf", "config";
37+
interrupts = <0 232 0x4>, <0 233 0x4>;
38+
#address-cells = <3>;
39+
#size-cells = <2>;
40+
device_type = "pci";
41+
ranges = <0x81000000 0 0 0x03000 0 0x00010000
42+
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
43+
#interrupt-cells = <1>;
44+
num-lanes = <1>;
45+
ti,hwmods = "pcie1";
46+
phys = <&pcie1_phy>;
47+
phy-names = "pcie-phy0";
48+
interrupt-map-mask = <0 0 0 7>;
49+
interrupt-map = <0 0 0 1 &pcie_intc 1>,
50+
<0 0 0 2 &pcie_intc 2>,
51+
<0 0 0 3 &pcie_intc 3>,
52+
<0 0 0 4 &pcie_intc 4>;
53+
pcie_intc: interrupt-controller {
54+
interrupt-controller;
55+
#address-cells = <0>;
56+
#interrupt-cells = <1>;
57+
};
58+
};
59+
};

Documentation/filesystems/Locking

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,11 @@ prototypes:
349349
locking rules:
350350
inode->i_lock may block
351351
fl_copy_lock: yes no
352-
fl_release_private: maybe no
352+
fl_release_private: maybe maybe[1]
353+
354+
[1]: ->fl_release_private for flock or POSIX locks is currently allowed
355+
to block. Leases however can still be freed while the i_lock is held and
356+
so fl_release_private called on a lease should not block.
353357

354358
----------------------- lock_manager_operations ---------------------------
355359
prototypes:

Documentation/laptops/00-INDEX

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ sonypi.txt
1818
- info on Linux Sony Programmable I/O Device support.
1919
thinkpad-acpi.txt
2020
- information on the (IBM and Lenovo) ThinkPad ACPI Extras driver.
21+
toshiba_haps.txt
22+
- information on the Toshiba HDD Active Protection Sensor driver.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
Kernel driver toshiba_haps
2+
Toshiba HDD Active Protection Sensor
3+
====================================
4+
5+
Author: Azael Avalos <[email protected]>
6+
7+
8+
0. Contents
9+
-----------
10+
11+
1. Description
12+
2. Interface
13+
3. Accelerometer axes
14+
4. Supported devices
15+
5. Usage
16+
17+
18+
1. Description
19+
--------------
20+
21+
This driver provides support for the accelerometer found in various Toshiba
22+
laptops, being called "Toshiba HDD Protection - Shock Sensor" officialy,
23+
and detects laptops automatically with this device.
24+
On Windows, Toshiba provided software monitors this device and provides
25+
automatic HDD protection (head unload) on sudden moves or harsh vibrations,
26+
however, this driver only provides a notification via a sysfs file to let
27+
userspace tools or daemons act accordingly, as well as providing a sysfs
28+
file to set the desired protection level or sensor sensibility.
29+
30+
31+
2. Interface
32+
------------
33+
34+
This device comes with 3 methods:
35+
_STA - Checks existence of the device, returning Zero if the device does not
36+
exists or is not supported.
37+
PTLV - Sets the desired protection level.
38+
RSSS - Shuts down the HDD protection interface for a few seconds,
39+
then restores normal operation.
40+
41+
Note:
42+
The presence of Solid State Drives (SSD) can make this driver to fail loading,
43+
given the fact that such drives have no movable parts, and thus, not requiring
44+
any "protection" as well as failing during the evaluation of the _STA method
45+
found under this device.
46+
47+
48+
3. Accelerometer axes
49+
---------------------
50+
51+
This device does not report any axes, however, to query the sensor position
52+
a couple HCI (Hardware Configuration Interface) calls (0x6D and 0xA6) are
53+
provided to query such information, handled by the kernel module toshiba_acpi
54+
since kernel version 3.15.
55+
56+
57+
4. Supported devices
58+
--------------------
59+
60+
This driver binds itself to the ACPI device TOS620A, and any Toshiba laptop
61+
with this device is supported, given the fact that they have the presence of
62+
conventional HDD and not only SSD, or a combination of both HDD and SSD.
63+
64+
65+
5. Usage
66+
--------
67+
68+
The sysfs files under /sys/devices/LNXSYSTM:00/LNXSYBUS:00/TOS620A:00/ are:
69+
protection_level - The protection_level is readable and writeable, and
70+
provides a way to let userspace query the current protection
71+
level, as well as set the desired protection level, the
72+
available protection levels are:
73+
0 - Disabled | 1 - Low | 2 - Medium | 3 - High
74+
reset_protection - The reset_protection entry is writeable only, being "1"
75+
the only parameter it accepts, it is used to trigger
76+
a reset of the protection interface.

MAINTAINERS

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1843,6 +1843,12 @@ S: Orphan
18431843
F: Documentation/filesystems/befs.txt
18441844
F: fs/befs/
18451845

1846+
BECKHOFF CX5020 ETHERCAT MASTER DRIVER
1847+
M: Dariusz Marcinkiewicz <[email protected]>
1848+
1849+
S: Maintained
1850+
F: drivers/net/ethernet/ec_bhf.c
1851+
18461852
BFS FILE SYSTEM
18471853
M: "Tigran A. Aivazian" <[email protected]>
18481854
S: Maintained
@@ -3843,10 +3849,13 @@ F: drivers/tty/serial/ucc_uart.c
38433849

38443850
FREESCALE SOC SOUND DRIVERS
38453851
M: Timur Tabi <[email protected]>
3852+
M: Nicolin Chen <[email protected]>
3853+
M: Xiubo Li <[email protected]>
38463854
L: [email protected] (moderated for non-subscribers)
38473855
38483856
S: Maintained
38493857
F: sound/soc/fsl/fsl*
3858+
F: sound/soc/fsl/imx*
38503859
F: sound/soc/fsl/mpc8610_hpcd.c
38513860

38523861
FREEVXFS FILESYSTEM
@@ -4446,6 +4455,13 @@ F: include/linux/i2c-*.h
44464455
F: include/uapi/linux/i2c.h
44474456
F: include/uapi/linux/i2c-*.h
44484457

4458+
I2C ACPI SUPPORT
4459+
M: Mika Westerberg <[email protected]>
4460+
4461+
4462+
S: Maintained
4463+
F: drivers/i2c/i2c-acpi.c
4464+
44494465
I2C-TAOS-EVM DRIVER
44504466
M: Jean Delvare <[email protected]>
44514467
@@ -5972,6 +5988,12 @@ T: git git://linuxtv.org/media_tree.git
59725988
S: Maintained
59735989
F: drivers/media/radio/radio-mr800.c
59745990

5991+
MRF24J40 IEEE 802.15.4 RADIO DRIVER
5992+
M: Alan Ott <[email protected]>
5993+
5994+
S: Maintained
5995+
F: drivers/net/ieee802154/mrf24j40.c
5996+
59755997
MSI LAPTOP SUPPORT
59765998
M: "Lee, Chun-Yi" <[email protected]>
59775999
@@ -6858,6 +6880,14 @@ S: Supported
68586880
F: Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt
68596881
F: drivers/pci/host/pci-tegra.c
68606882

6883+
PCI DRIVER FOR TI DRA7XX
6884+
M: Kishon Vijay Abraham I <[email protected]>
6885+
6886+
6887+
S: Supported
6888+
F: Documentation/devicetree/bindings/pci/ti-pci.txt
6889+
F: drivers/pci/host/pci-dra7xx.c
6890+
68616891
PCI DRIVER FOR RENESAS R-CAR
68626892
M: Simon Horman <[email protected]>
68636893
@@ -7059,6 +7089,7 @@ F: drivers/scsi/pmcraid.*
70597089
PMC SIERRA PM8001 DRIVER
70607090
70617091
7092+
70627093
70637094
S: Supported
70647095
F: drivers/scsi/pm8001/
@@ -10016,7 +10047,7 @@ F: arch/x86/
1001610047
X86 PLATFORM DRIVERS
1001710048
M: Matthew Garrett <[email protected]>
1001810049
10019-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86.git
10050+
T: git git://cavan.codon.org.uk/platform-drivers-x86.git
1002010051
S: Maintained
1002110052
F: drivers/platform/x86/
1002210053

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
2-
PATCHLEVEL = 16
2+
PATCHLEVEL = 17
33
SUBLEVEL = 0
4-
EXTRAVERSION =
4+
EXTRAVERSION = -rc1
55
NAME = Shuffling Zombie Juror
66

77
# *DOCUMENTATION*

arch/arm64/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ head-y := arch/arm64/kernel/head.o
3939

4040
# The byte offset of the kernel image in RAM from the start of RAM.
4141
ifeq ($(CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET), y)
42-
TEXT_OFFSET := $(shell awk 'BEGIN {srand(); printf "0x%04x0\n", int(65535 * rand())}')
42+
TEXT_OFFSET := $(shell awk 'BEGIN {srand(); printf "0x%03x000\n", int(512 * rand())}')
4343
else
4444
TEXT_OFFSET := 0x00080000
4545
endif

arch/arm64/configs/defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,16 @@ CONFIG_VIRTIO_BLK=y
6464
CONFIG_BLK_DEV_SD=y
6565
# CONFIG_SCSI_LOWLEVEL is not set
6666
CONFIG_ATA=y
67+
CONFIG_AHCI_XGENE=y
68+
CONFIG_PHY_XGENE=y
6769
CONFIG_PATA_PLATFORM=y
6870
CONFIG_PATA_OF_PLATFORM=y
6971
CONFIG_NETDEVICES=y
7072
CONFIG_TUN=y
7173
CONFIG_VIRTIO_NET=y
7274
CONFIG_SMC91X=y
7375
CONFIG_SMSC911X=y
76+
CONFIG_NET_XGENE=y
7477
# CONFIG_WLAN is not set
7578
CONFIG_INPUT_EVDEV=y
7679
# CONFIG_SERIO_SERPORT is not set

arch/arm64/include/asm/sparsemem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define __ASM_SPARSEMEM_H
1818

1919
#ifdef CONFIG_SPARSEMEM
20-
#define MAX_PHYSMEM_BITS 40
20+
#define MAX_PHYSMEM_BITS 48
2121
#define SECTION_SIZE_BITS 30
2222
#endif
2323

arch/arm64/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2)
4242
#define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5)
4343

44-
#define __NR_compat_syscalls 383
44+
#define __NR_compat_syscalls 386
4545
#endif
4646

4747
#define __ARCH_WANT_SYS_CLONE

arch/arm64/include/asm/unistd32.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,3 +787,8 @@ __SYSCALL(__NR_sched_setattr, sys_sched_setattr)
787787
__SYSCALL(__NR_sched_getattr, sys_sched_getattr)
788788
#define __NR_renameat2 382
789789
__SYSCALL(__NR_renameat2, sys_renameat2)
790+
/* 383 for seccomp */
791+
#define __NR_getrandom 384
792+
__SYSCALL(__NR_getrandom, sys_getrandom)
793+
#define __NR_memfd_create 385
794+
__SYSCALL(__NR_memfd_create, sys_memfd_create)

arch/arm64/kernel/cpuinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static void cpuinfo_detect_icache_policy(struct cpuinfo_arm64 *info)
4949

5050
if (l1ip != ICACHE_POLICY_PIPT)
5151
set_bit(ICACHEF_ALIASING, &__icache_flags);
52-
if (l1ip == ICACHE_POLICY_AIVIVT);
52+
if (l1ip == ICACHE_POLICY_AIVIVT)
5353
set_bit(ICACHEF_AIVIVT, &__icache_flags);
5454

5555
pr_info("Detected %s I-cache on CPU%d\n", icache_policy_str[l1ip], cpu);

arch/arm64/kernel/efi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ static __init void reserve_regions(void)
188188
if (uefi_debug)
189189
pr_cont("\n");
190190
}
191+
192+
set_bit(EFI_MEMMAP, &efi.flags);
191193
}
192194

193195

arch/arm64/kernel/head.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838

3939
#define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET)
4040

41-
#if (TEXT_OFFSET & 0xf) != 0
42-
#error TEXT_OFFSET must be at least 16B aligned
43-
#elif (PAGE_OFFSET & 0xfffff) != 0
41+
#if (TEXT_OFFSET & 0xfff) != 0
42+
#error TEXT_OFFSET must be at least 4KB aligned
43+
#elif (PAGE_OFFSET & 0x1fffff) != 0
4444
#error PAGE_OFFSET must be at least 2MB aligned
45-
#elif TEXT_OFFSET > 0xfffff
45+
#elif TEXT_OFFSET > 0x1fffff
4646
#error TEXT_OFFSET must be less than 2MB
4747
#endif
4848

arch/arm64/kernel/ptrace.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,19 +1115,15 @@ asmlinkage int syscall_trace_enter(struct pt_regs *regs)
11151115
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
11161116
trace_sys_enter(regs, regs->syscallno);
11171117

1118-
#ifdef CONFIG_AUDITSYSCALL
11191118
audit_syscall_entry(syscall_get_arch(), regs->syscallno,
11201119
regs->orig_x0, regs->regs[1], regs->regs[2], regs->regs[3]);
1121-
#endif
11221120

11231121
return regs->syscallno;
11241122
}
11251123

11261124
asmlinkage void syscall_trace_exit(struct pt_regs *regs)
11271125
{
1128-
#ifdef CONFIG_AUDITSYSCALL
11291126
audit_syscall_exit(regs);
1130-
#endif
11311127

11321128
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
11331129
trace_sys_exit(regs, regs_return_value(regs));

0 commit comments

Comments
 (0)