Skip to content

Commit 9b8d90b

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents 644a918 + d7933ab commit 9b8d90b

File tree

697 files changed

+9694
-5683
lines changed

Some content is hidden

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

697 files changed

+9694
-5683
lines changed

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
Linus
1010
----------
1111

12+
M: Matt Mackal
13+
14+
D: SLOB slab allocator
15+
1216
N: Matti Aarnio
1317
1418
D: Alpha systems hacking, IPv6 and other network related stuff

Documentation/DocBook/media/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ $(MEDIA_OBJ_DIR)/%: $(MEDIA_SRC_DIR)/%.b64
202202

203203
$(MEDIA_OBJ_DIR)/v4l2.xml: $(OBJIMGFILES)
204204
@$($(quiet)gen_xml)
205-
@(ln -sf $(MEDIA_SRC_DIR)/v4l/*xml $(MEDIA_OBJ_DIR)/)
206-
@(ln -sf $(MEDIA_SRC_DIR)/dvb/*xml $(MEDIA_OBJ_DIR)/)
205+
@(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/v4l/*xml $(MEDIA_OBJ_DIR)/)
206+
@(ln -sf `cd $(MEDIA_SRC_DIR) && /bin/pwd`/dvb/*xml $(MEDIA_OBJ_DIR)/)
207207

208208
$(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/uapi/linux/videodev2.h $(MEDIA_OBJ_DIR)/v4l2.xml
209209
@$($(quiet)gen_xml)

Documentation/accounting/getdelays.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ int main(int argc, char *argv[])
314314
break;
315315
case 'm':
316316
strncpy(cpumask, optarg, sizeof(cpumask));
317+
cpumask[sizeof(cpumask) - 1] = '\0';
317318
maskset = 1;
318319
printf("cpumask %s maskset %d\n", cpumask, maskset);
319320
break;

Documentation/devicetree/bindings/arm/armada-38x.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,15 @@ following property:
66

77
Required root node property:
88

9-
- compatible: must contain either "marvell,armada380" or
10-
"marvell,armada385" depending on the variant of the SoC being used.
9+
- compatible: must contain "marvell,armada380"
10+
11+
In addition, boards using the Marvell Armada 385 SoC shall have the
12+
following property before the previous one:
13+
14+
Required root node property:
15+
16+
compatible: must contain "marvell,armada385"
17+
18+
Example:
19+
20+
compatible = "marvell,a385-rd", "marvell,armada385", "marvell,armada380";

Documentation/devicetree/bindings/arm/samsung/exynos-adc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ adc@12D10000 {
4848

4949
/* NTC thermistor is a hwmon device */
5050
ncp15wb473@0 {
51-
compatible = "ntc,ncp15wb473";
51+
compatible = "murata,ncp15wb473";
5252
pullup-uv = <1800000>;
5353
pullup-ohm = <47000>;
5454
pulldown-ohm = <0>;

Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ NTC Thermistor hwmon sensors
33

44
Requires node properties:
55
- "compatible" value : one of
6-
"ntc,ncp15wb473"
7-
"ntc,ncp18wb473"
8-
"ntc,ncp21wb473"
9-
"ntc,ncp03wb473"
10-
"ntc,ncp15wl333"
6+
"murata,ncp15wb473"
7+
"murata,ncp18wb473"
8+
"murata,ncp21wb473"
9+
"murata,ncp03wb473"
10+
"murata,ncp15wl333"
11+
12+
/* Usage of vendor name "ntc" is deprecated */
13+
<DEPRECATED> "ntc,ncp15wb473"
14+
<DEPRECATED> "ntc,ncp18wb473"
15+
<DEPRECATED> "ntc,ncp21wb473"
16+
<DEPRECATED> "ntc,ncp03wb473"
17+
<DEPRECATED> "ntc,ncp15wl333"
18+
1119
- "pullup-uv" Pull up voltage in micro volts
1220
- "pullup-ohm" Pull up resistor value in ohms
1321
- "pulldown-ohm" Pull down resistor value in ohms
@@ -21,7 +29,7 @@ Read more about iio bindings at
2129

2230
Example:
2331
ncp15wb473@0 {
24-
compatible = "ntc,ncp15wb473";
32+
compatible = "murata,ncp15wb473";
2533
pullup-uv = <1800000>;
2634
pullup-ohm = <47000>;
2735
pulldown-ohm = <0>;
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
* Rockchip RK3xxx I2C controller
2+
3+
This driver interfaces with the native I2C controller present in Rockchip
4+
RK3xxx SoCs.
5+
6+
Required properties :
7+
8+
- reg : Offset and length of the register set for the device
9+
- compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2c" or
10+
"rockchip,rk3288-i2c".
11+
- interrupts : interrupt number
12+
- clocks : parent clock
13+
14+
Required on RK3066, RK3188 :
15+
16+
- rockchip,grf : the phandle of the syscon node for the general register
17+
file (GRF)
18+
- on those SoCs an alias with the correct I2C bus ID (bit offset in the GRF)
19+
is also required.
20+
21+
Optional properties :
22+
23+
- clock-frequency : SCL frequency to use (in Hz). If omitted, 100kHz is used.
24+
25+
Example:
26+
27+
aliases {
28+
i2c0 = &i2c0;
29+
}
30+
31+
i2c0: i2c@2002d000 {
32+
compatible = "rockchip,rk3188-i2c";
33+
reg = <0x2002d000 0x1000>;
34+
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
35+
#address-cells = <1>;
36+
#size-cells = <0>;
37+
38+
rockchip,grf = <&grf>;
39+
40+
clock-names = "i2c";
41+
clocks = <&cru PCLK_I2C0>;
42+
};
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
* Allwinner P2WI (Push/Pull 2 Wire Interface) controller
3+
4+
Required properties :
5+
6+
- reg : Offset and length of the register set for the device.
7+
- compatible : Should one of the following:
8+
- "allwinner,sun6i-a31-p2wi"
9+
- interrupts : The interrupt line connected to the P2WI peripheral.
10+
- clocks : The gate clk connected to the P2WI peripheral.
11+
- resets : The reset line connected to the P2WI peripheral.
12+
13+
Optional properties :
14+
15+
- clock-frequency : Desired P2WI bus clock frequency in Hz. If not set the
16+
default frequency is 100kHz
17+
18+
A P2WI may contain one child node encoding a P2WI slave device.
19+
20+
Slave device properties:
21+
Required properties:
22+
- reg : the I2C slave address used during the initialization
23+
process to switch from I2C to P2WI mode
24+
25+
Example:
26+
27+
p2wi@01f03400 {
28+
compatible = "allwinner,sun6i-a31-p2wi";
29+
reg = <0x01f03400 0x400>;
30+
interrupts = <0 39 4>;
31+
clocks = <&apb0_gates 3>;
32+
clock-frequency = <6000000>;
33+
resets = <&apb0_rst 3>;
34+
35+
axp221: pmic@68 {
36+
compatible = "x-powers,axp221";
37+
reg = <0x68>;
38+
39+
/* ... */
40+
};
41+
};

Documentation/devicetree/bindings/vendor-prefixes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ mosaixtech Mosaix Technologies, Inc.
8383
moxa Moxa
8484
mpl MPL AG
8585
mundoreader Mundo Reader S.L.
86+
murata Murata Manufacturing Co., Ltd.
8687
mxicy Macronix International Co., Ltd.
8788
national National Semiconductor
8889
neonode Neonode Inc.

Documentation/hwmon/ntc_thermistor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Kernel driver ntc_thermistor
22
=================
33

4-
Supported thermistors:
4+
Supported thermistors from Murata:
55
* Murata NTC Thermistors NCP15WB473, NCP18WB473, NCP21WB473, NCP03WB473, NCP15WL333
66
Prefixes: 'ncp15wb473', 'ncp18wb473', 'ncp21wb473', 'ncp03wb473', 'ncp15wl333'
77
Datasheet: Publicly available at Murata
@@ -15,9 +15,9 @@ Authors:
1515
Description
1616
-----------
1717

18-
The NTC thermistor is a simple thermistor that requires users to provide the
19-
resistance and lookup the corresponding compensation table to get the
20-
temperature input.
18+
The NTC (Negative Temperature Coefficient) thermistor is a simple thermistor
19+
that requires users to provide the resistance and lookup the corresponding
20+
compensation table to get the temperature input.
2121

2222
The NTC driver provides lookup tables with a linear approximation function
2323
and four circuit models with an option not to use any of the four models.

Documentation/kbuild/makefiles.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ When kbuild executes, the following steps are followed (roughly):
11711171
obvious reason.
11721172

11731173
dtc
1174-
Create flattend device tree blob object suitable for linking
1174+
Create flattened device tree blob object suitable for linking
11751175
into vmlinux. Device tree blobs linked into vmlinux are placed
11761176
in an init section in the image. Platform code *must* copy the
11771177
blob to non-init memory prior to calling unflatten_device_tree().

Documentation/kernel-parameters.txt

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
14741474
js= [HW,JOY] Analog joystick
14751475
See Documentation/input/joystick.txt.
14761476

1477+
kaslr/nokaslr [X86]
1478+
Enable/disable kernel and module base offset ASLR
1479+
(Address Space Layout Randomization) if built into
1480+
the kernel. When CONFIG_HIBERNATION is selected,
1481+
kASLR is disabled by default. When kASLR is enabled,
1482+
hibernation will be disabled.
1483+
14771484
keepinitrd [HW,ARM]
14781485

14791486
kernelcore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter
@@ -2110,10 +2117,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
21102117
noapic [SMP,APIC] Tells the kernel to not make use of any
21112118
IOAPICs that may be present in the system.
21122119

2113-
nokaslr [X86]
2114-
Disable kernel and module base offset ASLR (Address
2115-
Space Layout Randomization) if built into the kernel.
2116-
21172120
noautogroup Disable scheduler automatic task group creation.
21182121

21192122
nobats [PPC] Do not use BATs for mapping kernel lowmem
@@ -2184,6 +2187,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
21842187
in certain environments such as networked servers or
21852188
real-time systems.
21862189

2190+
nohibernate [HIBERNATION] Disable hibernation and resume.
2191+
21872192
nohz= [KNL] Boottime enable/disable dynamic ticks
21882193
Valid arguments: on, off
21892194
Default: on
@@ -2980,6 +2985,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
29802985
noresume Don't check if there's a hibernation image
29812986
present during boot.
29822987
nocompress Don't compress/decompress hibernation images.
2988+
no Disable hibernation and resume.
29832989

29842990
retain_initrd [RAM] Keep initrd memory after extraction
29852991

@@ -3124,6 +3130,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
31243130
[KNL] Should the soft-lockup detector generate panics.
31253131
Format: <integer>
31263132

3133+
softlockup_all_cpu_backtrace=
3134+
[KNL] Should the soft-lockup detector generate
3135+
backtraces on all cpus.
3136+
Format: <integer>
3137+
31273138
sonypi.*= [HW] Sony Programmable I/O Control Device driver
31283139
See Documentation/laptops/sonypi.txt
31293140

Documentation/memory-hotplug.txt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,12 @@ If memory device is found, memory hotplug code will be called.
209209

210210
4.2 Notify memory hot-add event by hand
211211
------------
212-
On powerpc, the firmware does not notify a memory hotplug event to the kernel.
213-
Therefore, "probe" interface is supported to notify the event to the kernel.
214-
This interface depends on CONFIG_ARCH_MEMORY_PROBE.
215-
216-
CONFIG_ARCH_MEMORY_PROBE is supported on powerpc only. On x86, this config
217-
option is disabled by default since ACPI notifies a memory hotplug event to
218-
the kernel, which performs its hotplug operation as the result. Please
219-
enable this option if you need the "probe" interface for testing purposes
220-
on x86.
212+
On some architectures, the firmware may not notify the kernel of a memory
213+
hotplug event. Therefore, the memory "probe" interface is supported to
214+
explicitly notify the kernel. This interface depends on
215+
CONFIG_ARCH_MEMORY_PROBE and can be configured on powerpc, sh, and x86
216+
if hotplug is supported, although for x86 this should be handled by ACPI
217+
notification.
221218

222219
Probe interface is located at
223220
/sys/devices/system/memory/probe

Documentation/ptp/testptp.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* along with this program; if not, write to the Free Software
1818
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
1919
*/
20+
#define _GNU_SOURCE
2021
#include <errno.h>
2122
#include <fcntl.h>
2223
#include <inttypes.h>
@@ -46,12 +47,14 @@
4647
#define CLOCK_INVALID -1
4748
#endif
4849

49-
/* When glibc offers the syscall, this will go away. */
50+
/* clock_adjtime is not available in GLIBC < 2.14 */
51+
#if !__GLIBC_PREREQ(2, 14)
5052
#include <sys/syscall.h>
5153
static int clock_adjtime(clockid_t id, struct timex *tx)
5254
{
5355
return syscall(__NR_clock_adjtime, id, tx);
5456
}
57+
#endif
5558

5659
static clockid_t get_clockid(int fd)
5760
{

Documentation/sysctl/kernel.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ show up in /proc/sys/kernel:
7575
- shmall
7676
- shmmax [ sysv ipc ]
7777
- shmmni
78+
- softlockup_all_cpu_backtrace
7879
- stop-a [ SPARC only ]
7980
- sysrq ==> Documentation/sysrq.txt
8081
- sysctl_writes_strict
@@ -783,6 +784,22 @@ via the /proc/sys interface:
783784

784785
==============================================================
785786

787+
softlockup_all_cpu_backtrace:
788+
789+
This value controls the soft lockup detector thread's behavior
790+
when a soft lockup condition is detected as to whether or not
791+
to gather further debug information. If enabled, each cpu will
792+
be issued an NMI and instructed to capture stack trace.
793+
794+
This feature is only applicable for architectures which support
795+
NMI.
796+
797+
0: do nothing. This is the default behavior.
798+
799+
1: on detection capture more debug information.
800+
801+
==============================================================
802+
786803
tainted:
787804

788805
Non-zero if the kernel has been tainted. Numeric values, which

Documentation/sysctl/vm.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,8 @@ The batch value of each per cpu pagelist is also updated as a result. It is
702702
set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8)
703703

704704
The initial value is zero. Kernel does not use this value at boot time to set
705-
the high water marks for each per cpu page list.
705+
the high water marks for each per cpu page list. If the user writes '0' to this
706+
sysctl, it will revert to this default behavior.
706707

707708
==============================================================
708709

Documentation/thermal/nouveau_thermal

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kernel driver nouveau
44
Supported chips:
55
* NV43+
66

7-
Authors: Martin Peres (mupuf) <martin.peres@labri.fr>
7+
Authors: Martin Peres (mupuf) <martin.peres@free.fr>
88

99
Description
1010
---------
@@ -68,8 +68,9 @@ Your fan can be driven in different modes:
6868

6969
NOTE: Be sure to use the manual mode if you want to drive the fan speed manually
7070

71-
NOTE2: Not all fan management modes may be supported on all chipsets. We are
72-
working on it.
71+
NOTE2: When operating in manual mode outside the vbios-defined
72+
[PWM_min, PWM_max] range, the reported fan speed (RPM) may not be accurate
73+
depending on your hardware.
7374

7475
Bug reports
7576
---------

0 commit comments

Comments
 (0)