Skip to content

Commit 3d277b1

Browse files
committed
Merge tag 'v4.6-rc5' into spi-rockchip
Linux 4.6-rc5
2 parents f55532a + 02da2d7 commit 3d277b1

File tree

1,233 files changed

+12815
-8050
lines changed

Some content is hidden

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

1,233 files changed

+12815
-8050
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Björn Steinbrink <[email protected]>
3333
Brian Avery <[email protected]>
3434
Brian King <[email protected]>
3535
Christoph Hellwig <[email protected]>
36+
Christophe Ricard <[email protected]>
3637
Corey Minyard <[email protected]>
3738
Damian Hobson-Garcia <[email protected]>
3839
David Brownell <[email protected]>
Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,18 @@
1-
What: /sys/devices/platform/<i2c-demux-name>/cur_master
1+
What: /sys/devices/platform/<i2c-demux-name>/available_masters
22
Date: January 2016
33
KernelVersion: 4.6
44
Contact: Wolfram Sang <[email protected]>
55
Description:
6+
Reading the file will give you a list of masters which can be
7+
selected for a demultiplexed bus. The format is
8+
"<index>:<name>". Example from a Renesas Lager board:
69

7-
This file selects the active I2C master for a demultiplexed bus.
10+
0:/i2c@e6500000 1:/i2c@e6508000
811

9-
Write 0 there for the first master, 1 for the second etc. Reading the file will
10-
give you a list with the active master marked. Example from a Renesas Lager
11-
board:
12-
13-
root@Lager:~# cat /sys/devices/platform/i2c@8/cur_master
14-
* 0 - /i2c@9
15-
1 - /i2c@e6520000
16-
2 - /i2c@e6530000
17-
18-
root@Lager:~# echo 2 > /sys/devices/platform/i2c@8/cur_master
19-
20-
root@Lager:~# cat /sys/devices/platform/i2c@8/cur_master
21-
0 - /i2c@9
22-
1 - /i2c@e6520000
23-
* 2 - /i2c@e6530000
12+
What: /sys/devices/platform/<i2c-demux-name>/current_master
13+
Date: January 2016
14+
KernelVersion: 4.6
15+
Contact: Wolfram Sang <[email protected]>
16+
Description:
17+
This file selects/shows the active I2C master for a demultiplexed
18+
bus. It uses the <index> value from the file 'available_masters'.

Documentation/devicetree/bindings/clock/qca,ath79-pll.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Binding for Qualcomm Atheros AR7xxx/AR9XXX PLL controller
33
The PPL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB.
44

55
Required Properties:
6-
- compatible: has to be "qca,<soctype>-cpu-intc" and one of the following
6+
- compatible: has to be "qca,<soctype>-pll" and one of the following
77
fallbacks:
88
- "qca,ar7100-pll"
99
- "qca,ar7240-pll"
@@ -21,8 +21,8 @@ Optional properties:
2121

2222
Example:
2323

24-
memory-controller@18050000 {
25-
compatible = "qca,ar9132-ppl", "qca,ar9130-pll";
24+
pll-controller@18050000 {
25+
compatible = "qca,ar9132-pll", "qca,ar9130-pll";
2626
reg = <0x18050000 0x20>;
2727

2828
clock-names = "ref";

Documentation/devicetree/bindings/net/mediatek-net.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ have dual GMAC each represented by a child node..
99
Required properties:
1010
- compatible: Should be "mediatek,mt7623-eth"
1111
- reg: Address and length of the register set for the device
12-
- interrupts: Should contain the frame engines interrupt
12+
- interrupts: Should contain the three frame engines interrupts in numeric
13+
order. These are fe_int0, fe_int1 and fe_int2.
1314
- clocks: the clock used by the core
1415
- clock-names: the names of the clock listed in the clocks property. These are
1516
"ethif", "esw", "gp2", "gp1"
@@ -42,7 +43,9 @@ eth: ethernet@1b100000 {
4243
<&ethsys CLK_ETHSYS_GP2>,
4344
<&ethsys CLK_ETHSYS_GP1>;
4445
clock-names = "ethif", "esw", "gp2", "gp1";
45-
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW>;
46+
interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW
47+
GIC_SPI 199 IRQ_TYPE_LEVEL_LOW
48+
GIC_SPI 198 IRQ_TYPE_LEVEL_LOW>;
4649
power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
4750
resets = <&ethsys MT2701_ETHSYS_ETH_RST>;
4851
reset-names = "eth";

Documentation/devicetree/bindings/phy/rockchip-dp-phy.txt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,19 @@ Required properties:
88
of memory mapped region.
99
- clock-names: from common clock binding:
1010
Required elements: "24m"
11-
- rockchip,grf: phandle to the syscon managing the "general register files"
1211
- #phy-cells : from the generic PHY bindings, must be 0;
1312

1413
Example:
1514

16-
edp_phy: edp-phy {
17-
compatible = "rockchip,rk3288-dp-phy";
18-
rockchip,grf = <&grf>;
19-
clocks = <&cru SCLK_EDP_24M>;
20-
clock-names = "24m";
21-
#phy-cells = <0>;
15+
grf: syscon@ff770000 {
16+
compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd";
17+
18+
...
19+
20+
edp_phy: edp-phy {
21+
compatible = "rockchip,rk3288-dp-phy";
22+
clocks = <&cru SCLK_EDP_24M>;
23+
clock-names = "24m";
24+
#phy-cells = <0>;
25+
};
2226
};

Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,23 @@ Rockchip EMMC PHY
33

44
Required properties:
55
- compatible: rockchip,rk3399-emmc-phy
6-
- rockchip,grf : phandle to the syscon managing the "general
7-
register files"
86
- #phy-cells: must be 0
9-
- reg: PHY configure reg address offset in "general
7+
- reg: PHY register address offset and length in "general
108
register files"
119

1210
Example:
1311

14-
emmcphy: phy {
15-
compatible = "rockchip,rk3399-emmc-phy";
16-
rockchip,grf = <&grf>;
17-
reg = <0xf780>;
18-
#phy-cells = <0>;
12+
13+
grf: syscon@ff770000 {
14+
compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
15+
#address-cells = <1>;
16+
#size-cells = <1>;
17+
18+
...
19+
20+
emmcphy: phy@f780 {
21+
compatible = "rockchip,rk3399-emmc-phy";
22+
reg = <0xf780 0x20>;
23+
#phy-cells = <0>;
24+
};
1925
};

Documentation/devicetree/bindings/pinctrl/img,pistachio-pinctrl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ mfio80 ddr_debug, mips_trace_data, mips_debug
134134
mfio81 dreq0, mips_trace_data, eth_debug
135135
mfio82 dreq1, mips_trace_data, eth_debug
136136
mfio83 mips_pll_lock, mips_trace_data, usb_debug
137-
mfio84 sys_pll_lock, mips_trace_data, usb_debug
138-
mfio85 wifi_pll_lock, mips_trace_data, sdhost_debug
139-
mfio86 bt_pll_lock, mips_trace_data, sdhost_debug
140-
mfio87 rpu_v_pll_lock, dreq2, socif_debug
141-
mfio88 rpu_l_pll_lock, dreq3, socif_debug
142-
mfio89 audio_pll_lock, dreq4, dreq5
137+
mfio84 audio_pll_lock, mips_trace_data, usb_debug
138+
mfio85 rpu_v_pll_lock, mips_trace_data, sdhost_debug
139+
mfio86 rpu_l_pll_lock, mips_trace_data, sdhost_debug
140+
mfio87 sys_pll_lock, dreq2, socif_debug
141+
mfio88 wifi_pll_lock, dreq3, socif_debug
142+
mfio89 bt_pll_lock, dreq4, dreq5
143143
tck
144144
trstn
145145
tdi
Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
== Amlogic Meson pinmux controller ==
22

33
Required properties for the root node:
4-
- compatible: "amlogic,meson8-pinctrl" or "amlogic,meson8b-pinctrl"
4+
- compatible: one of "amlogic,meson8-cbus-pinctrl"
5+
"amlogic,meson8b-cbus-pinctrl"
6+
"amlogic,meson8-aobus-pinctrl"
7+
"amlogic,meson8b-aobus-pinctrl"
58
- reg: address and size of registers controlling irq functionality
69

710
=== GPIO sub-nodes ===
811

9-
The 2 power domains of the controller (regular and always-on) are
10-
represented as sub-nodes and each of them acts as a GPIO controller.
12+
The GPIO bank for the controller is represented as a sub-node and it acts as a
13+
GPIO controller.
1114

1215
Required properties for sub-nodes are:
1316
- reg: should contain address and size for mux, pull-enable, pull and
@@ -18,10 +21,6 @@ Required properties for sub-nodes are:
1821
- gpio-controller: identifies the node as a gpio controller
1922
- #gpio-cells: must be 2
2023

21-
Valid sub-node names are:
22-
- "banks" for the regular domain
23-
- "ao-bank" for the always-on domain
24-
2524
=== Other sub-nodes ===
2625

2726
Child nodes without the "gpio-controller" represent some desired
@@ -45,7 +44,7 @@ pinctrl-bindings.txt
4544
=== Example ===
4645

4746
pinctrl: pinctrl@c1109880 {
48-
compatible = "amlogic,meson8-pinctrl";
47+
compatible = "amlogic,meson8-cbus-pinctrl";
4948
reg = <0xc1109880 0x10>;
5049
#address-cells = <1>;
5150
#size-cells = <1>;
@@ -61,15 +60,6 @@ pinctrl-bindings.txt
6160
#gpio-cells = <2>;
6261
};
6362

64-
gpio_ao: ao-bank@c1108030 {
65-
reg = <0xc8100014 0x4>,
66-
<0xc810002c 0x4>,
67-
<0xc8100024 0x8>;
68-
reg-names = "mux", "pull", "gpio";
69-
gpio-controller;
70-
#gpio-cells = <2>;
71-
};
72-
7363
nand {
7464
mux {
7565
groups = "nand_io", "nand_io_ce0", "nand_io_ce1",
@@ -79,18 +69,4 @@ pinctrl-bindings.txt
7969
function = "nand";
8070
};
8171
};
82-
83-
uart_ao_a {
84-
mux {
85-
groups = "uart_tx_ao_a", "uart_rx_ao_a",
86-
"uart_cts_ao_a", "uart_rts_ao_a";
87-
function = "uart_ao";
88-
};
89-
90-
conf {
91-
pins = "GPIOAO_0", "GPIOAO_1",
92-
"GPIOAO_2", "GPIOAO_3";
93-
bias-disable;
94-
};
95-
};
9672
};

Documentation/devicetree/bindings/rtc/s3c-rtc.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ Required properties:
1515
is the rtc tick interrupt. The number of cells representing a interrupt
1616
depends on the parent interrupt controller.
1717
- clocks: Must contain a list of phandle and clock specifier for the rtc
18-
and source clocks.
19-
- clock-names: Must contain "rtc" and "rtc_src" entries sorted in the
20-
same order as the clocks property.
18+
clock and in the case of a s3c6410 compatible controller, also
19+
a source clock.
20+
- clock-names: Must contain "rtc" and for a s3c6410 compatible controller,
21+
a "rtc_src" sorted in the same order as the clocks property.
2122

2223
Example:
2324

Documentation/filesystems/cramfs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ the update lasts only as long as the inode is cached in memory, after
3838
which the timestamp reverts to 1970, i.e. moves backwards in time.
3939

4040
Currently, cramfs must be written and read with architectures of the
41-
same endianness, and can be read only by kernels with PAGE_CACHE_SIZE
41+
same endianness, and can be read only by kernels with PAGE_SIZE
4242
== 4096. At least the latter of these is a bug, but it hasn't been
4343
decided what the best fix is. For the moment if you have larger pages
4444
you can just change the #define in mkcramfs.c, so long as you don't

Documentation/filesystems/tmpfs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ size: The limit of allocated bytes for this tmpfs instance. The
6060
default is half of your physical RAM without swap. If you
6161
oversize your tmpfs instances the machine will deadlock
6262
since the OOM handler will not be able to free that memory.
63-
nr_blocks: The same as size, but in blocks of PAGE_CACHE_SIZE.
63+
nr_blocks: The same as size, but in blocks of PAGE_SIZE.
6464
nr_inodes: The maximum number of inodes for this instance. The default
6565
is half of the number of your physical RAM pages, or (on a
6666
machine with highmem) the number of lowmem RAM pages,

Documentation/filesystems/vfs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,9 @@ struct address_space_operations {
708708
from the address space. This generally corresponds to either a
709709
truncation, punch hole or a complete invalidation of the address
710710
space (in the latter case 'offset' will always be 0 and 'length'
711-
will be PAGE_CACHE_SIZE). Any private data associated with the page
711+
will be PAGE_SIZE). Any private data associated with the page
712712
should be updated to reflect this truncation. If offset is 0 and
713-
length is PAGE_CACHE_SIZE, then the private data should be released,
713+
length is PAGE_SIZE, then the private data should be released,
714714
because the page must be able to be completely discarded. This may
715715
be done by calling the ->releasepage function, but in this case the
716716
release MUST succeed.

Documentation/input/event-codes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ A few EV_ABS codes have special meanings:
173173
proximity of the device and while the value of the BTN_TOUCH code is 0. If
174174
the input device may be used freely in three dimensions, consider ABS_Z
175175
instead.
176+
- BTN_TOOL_<name> should be set to 1 when the tool comes into detectable
177+
proximity and set to 0 when the tool leaves detectable proximity.
178+
BTN_TOOL_<name> signals the type of tool that is currently detected by the
179+
hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH.
176180

177181
* ABS_MT_<name>:
178182
- Used to describe multitouch input events. Please see

Documentation/kernel-parameters.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4077,6 +4077,8 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
40774077
sector if the number is odd);
40784078
i = IGNORE_DEVICE (don't bind to this
40794079
device);
4080+
j = NO_REPORT_LUNS (don't use report luns
4081+
command, uas only);
40804082
l = NOT_LOCKABLE (don't try to lock and
40814083
unlock ejectable media);
40824084
m = MAX_SECTORS_64 (don't transfer more

Documentation/networking/switchdev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ used. First phase is to "prepare" anything needed, including various checks,
386386
memory allocation, etc. The goal is to handle the stuff that is not unlikely
387387
to fail here. The second phase is to "commit" the actual changes.
388388

389-
Switchdev provides an inftrastructure for sharing items (for example memory
389+
Switchdev provides an infrastructure for sharing items (for example memory
390390
allocations) between the two phases.
391391

392392
The object created by a driver in "prepare" phase and it is queued up by:

Documentation/power/runtime_pm.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,10 @@ drivers to make their ->remove() callbacks avoid races with runtime PM directly,
586586
but also it allows of more flexibility in the handling of devices during the
587587
removal of their drivers.
588588

589+
Drivers in ->remove() callback should undo the runtime PM changes done
590+
in ->probe(). Usually this means calling pm_runtime_disable(),
591+
pm_runtime_dont_use_autosuspend() etc.
592+
589593
The user space can effectively disallow the driver of the device to power manage
590594
it at run time by changing the value of its /sys/devices/.../power/control
591595
attribute to "on", which causes pm_runtime_forbid() to be called. In principle,

Documentation/usb/gadget_multi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For the gadget two work under Windows two conditions have to be met:
4343
First of all, Windows need to detect the gadget as an USB composite
4444
gadget which on its own have some conditions[4]. If they are met,
4545
Windows lets USB Generic Parent Driver[5] handle the device which then
46-
tries to much drivers for each individual interface (sort of, don't
46+
tries to match drivers for each individual interface (sort of, don't
4747
get into too many details).
4848

4949
The good news is: you do not have to worry about most of the

Documentation/x86/protection-keys.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Memory Protection Keys for Userspace (PKU aka PKEYs) is a CPU feature
2+
which will be found on future Intel CPUs.
3+
4+
Memory Protection Keys provides a mechanism for enforcing page-based
5+
protections, but without requiring modification of the page tables
6+
when an application changes protection domains. It works by
7+
dedicating 4 previously ignored bits in each page table entry to a
8+
"protection key", giving 16 possible keys.
9+
10+
There is also a new user-accessible register (PKRU) with two separate
11+
bits (Access Disable and Write Disable) for each key. Being a CPU
12+
register, PKRU is inherently thread-local, potentially giving each
13+
thread a different set of protections from every other thread.
14+
15+
There are two new instructions (RDPKRU/WRPKRU) for reading and writing
16+
to the new register. The feature is only available in 64-bit mode,
17+
even though there is theoretically space in the PAE PTEs. These
18+
permissions are enforced on data access only and have no effect on
19+
instruction fetches.
20+
21+
=========================== Config Option ===========================
22+
23+
This config option adds approximately 1.5kb of text. and 50 bytes of
24+
data to the executable. A workload which does large O_DIRECT reads
25+
of holes in XFS files was run to exercise get_user_pages_fast(). No
26+
performance delta was observed with the config option
27+
enabled or disabled.

0 commit comments

Comments
 (0)