Skip to content

Commit 835f9c3

Browse files
committed
Merge tag 'v3.9-rc3' into next/multiplatform
Linux 3.9-rc3 Conflicts: arch/arm/Kconfig arch/arm/mach-spear/spear3xx.c arch/arm/plat-spear/Kconfig This is a dependency for ux500/multiplatform Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents f5f2915 + a937536 commit 835f9c3

353 files changed

Lines changed: 2589 additions & 1647 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/mfd/ab8500.txt‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ Required parent device properties:
1313
4 = active high level-sensitive
1414
8 = active low level-sensitive
1515

16-
Optional parent device properties:
17-
- reg : contains the PRCMU mailbox address for the AB8500 i2c port
18-
1916
The AB8500 consists of a large and varied group of sub-devices:
2017

2118
Device IRQ Names Supply Names Description
@@ -86,9 +83,8 @@ Non-standard child device properties:
8683
- stericsson,amic2-bias-vamic1 : Analoge Mic wishes to use a non-standard Vamic
8784
- stericsson,earpeice-cmv : Earpeice voltage (only: 950 | 1100 | 1270 | 1580)
8885

89-
ab8500@5 {
86+
ab8500 {
9087
compatible = "stericsson,ab8500";
91-
reg = <5>; /* mailbox 5 is i2c */
9288
interrupts = <0 40 0x4>;
9389
interrupt-controller;
9490
#interrupt-cells = <2>;

‎Documentation/devicetree/bindings/tty/serial/of-serial.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ Required properties:
1111
- "nvidia,tegra20-uart"
1212
- "nxp,lpc3220-uart"
1313
- "ibm,qpace-nwp-serial"
14+
- "altr,16550-FIFO32"
15+
- "altr,16550-FIFO64"
16+
- "altr,16550-FIFO128"
1417
- "serial" if the port type is unknown.
1518
- reg : offset and length of the register set for the device.
1619
- interrupts : should contain uart interrupt.

‎Documentation/input/alps.txt‎

Lines changed: 60 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,26 @@ ALPS Touchpad Protocol
33

44
Introduction
55
------------
6-
7-
Currently the ALPS touchpad driver supports four protocol versions in use by
8-
ALPS touchpads, called versions 1, 2, 3, and 4. Information about the various
9-
protocol versions is contained in the following sections.
6+
Currently the ALPS touchpad driver supports five protocol versions in use by
7+
ALPS touchpads, called versions 1, 2, 3, 4 and 5.
8+
9+
Since roughly mid-2010 several new ALPS touchpads have been released and
10+
integrated into a variety of laptops and netbooks. These new touchpads
11+
have enough behavior differences that the alps_model_data definition
12+
table, describing the properties of the different versions, is no longer
13+
adequate. The design choices were to re-define the alps_model_data
14+
table, with the risk of regression testing existing devices, or isolate
15+
the new devices outside of the alps_model_data table. The latter design
16+
choice was made. The new touchpad signatures are named: "Rushmore",
17+
"Pinnacle", and "Dolphin", which you will see in the alps.c code.
18+
For the purposes of this document, this group of ALPS touchpads will
19+
generically be called "new ALPS touchpads".
20+
21+
We experimented with probing the ACPI interface _HID (Hardware ID)/_CID
22+
(Compatibility ID) definition as a way to uniquely identify the
23+
different ALPS variants but there did not appear to be a 1:1 mapping.
24+
In fact, it appeared to be an m:n mapping between the _HID and actual
25+
hardware type.
1026

1127
Detection
1228
---------
@@ -20,9 +36,13 @@ If the E6 report is successful, the touchpad model is identified using the "E7
2036
report" sequence: E8-E7-E7-E7-E9. The response is the model signature and is
2137
matched against known models in the alps_model_data_array.
2238

23-
With protocol versions 3 and 4, the E7 report model signature is always
24-
73-02-64. To differentiate between these versions, the response from the
25-
"Enter Command Mode" sequence must be inspected as described below.
39+
For older touchpads supporting protocol versions 3 and 4, the E7 report
40+
model signature is always 73-02-64. To differentiate between these
41+
versions, the response from the "Enter Command Mode" sequence must be
42+
inspected as described below.
43+
44+
The new ALPS touchpads have an E7 signature of 73-03-50 or 73-03-0A but
45+
seem to be better differentiated by the EC Command Mode response.
2646

2747
Command Mode
2848
------------
@@ -47,6 +67,14 @@ address of the register being read, and the third contains the value of the
4767
register. Registers are written by writing the value one nibble at a time
4868
using the same encoding used for addresses.
4969

70+
For the new ALPS touchpads, the EC command is used to enter command
71+
mode. The response in the new ALPS touchpads is significantly different,
72+
and more important in determining the behavior. This code has been
73+
separated from the original alps_model_data table and put in the
74+
alps_identify function. For example, there seem to be two hardware init
75+
sequences for the "Dolphin" touchpads as determined by the second byte
76+
of the EC response.
77+
5078
Packet Format
5179
-------------
5280

@@ -187,3 +215,28 @@ There are several things worth noting here.
187215
well.
188216

189217
So far no v4 devices with tracksticks have been encountered.
218+
219+
ALPS Absolute Mode - Protocol Version 5
220+
---------------------------------------
221+
This is basically Protocol Version 3 but with different logic for packet
222+
decode. It uses the same alps_process_touchpad_packet_v3 call with a
223+
specialized decode_fields function pointer to correctly interpret the
224+
packets. This appears to only be used by the Dolphin devices.
225+
226+
For single-touch, the 6-byte packet format is:
227+
228+
byte 0: 1 1 0 0 1 0 0 0
229+
byte 1: 0 x6 x5 x4 x3 x2 x1 x0
230+
byte 2: 0 y6 y5 y4 y3 y2 y1 y0
231+
byte 3: 0 M R L 1 m r l
232+
byte 4: y10 y9 y8 y7 x10 x9 x8 x7
233+
byte 5: 0 z6 z5 z4 z3 z2 z1 z0
234+
235+
For mt, the format is:
236+
237+
byte 0: 1 1 1 n3 1 n2 n1 x24
238+
byte 1: 1 y7 y6 y5 y4 y3 y2 y1
239+
byte 2: ? x2 x1 y12 y11 y10 y9 y8
240+
byte 3: 0 x23 x22 x21 x20 x19 x18 x17
241+
byte 4: 0 x9 x8 x7 x6 x5 x4 x3
242+
byte 5: 0 x16 x15 x14 x13 x12 x11 x10

‎Documentation/networking/tuntap.txt‎

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,83 @@ Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com>
105105
Proto [2 bytes]
106106
Raw protocol(IP, IPv6, etc) frame.
107107

108+
3.3 Multiqueue tuntap interface:
109+
110+
From version 3.8, Linux supports multiqueue tuntap which can uses multiple
111+
file descriptors (queues) to parallelize packets sending or receiving. The
112+
device allocation is the same as before, and if user wants to create multiple
113+
queues, TUNSETIFF with the same device name must be called many times with
114+
IFF_MULTI_QUEUE flag.
115+
116+
char *dev should be the name of the device, queues is the number of queues to
117+
be created, fds is used to store and return the file descriptors (queues)
118+
created to the caller. Each file descriptor were served as the interface of a
119+
queue which could be accessed by userspace.
120+
121+
#include <linux/if.h>
122+
#include <linux/if_tun.h>
123+
124+
int tun_alloc_mq(char *dev, int queues, int *fds)
125+
{
126+
struct ifreq ifr;
127+
int fd, err, i;
128+
129+
if (!dev)
130+
return -1;
131+
132+
memset(&ifr, 0, sizeof(ifr));
133+
/* Flags: IFF_TUN - TUN device (no Ethernet headers)
134+
* IFF_TAP - TAP device
135+
*
136+
* IFF_NO_PI - Do not provide packet information
137+
* IFF_MULTI_QUEUE - Create a queue of multiqueue device
138+
*/
139+
ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;
140+
strcpy(ifr.ifr_name, dev);
141+
142+
for (i = 0; i < queues; i++) {
143+
if ((fd = open("/dev/net/tun", O_RDWR)) < 0)
144+
goto err;
145+
err = ioctl(fd, TUNSETIFF, (void *)&ifr);
146+
if (err) {
147+
close(fd);
148+
goto err;
149+
}
150+
fds[i] = fd;
151+
}
152+
153+
return 0;
154+
err:
155+
for (--i; i >= 0; i--)
156+
close(fds[i]);
157+
return err;
158+
}
159+
160+
A new ioctl(TUNSETQUEUE) were introduced to enable or disable a queue. When
161+
calling it with IFF_DETACH_QUEUE flag, the queue were disabled. And when
162+
calling it with IFF_ATTACH_QUEUE flag, the queue were enabled. The queue were
163+
enabled by default after it was created through TUNSETIFF.
164+
165+
fd is the file descriptor (queue) that we want to enable or disable, when
166+
enable is true we enable it, otherwise we disable it
167+
168+
#include <linux/if.h>
169+
#include <linux/if_tun.h>
170+
171+
int tun_set_queue(int fd, int enable)
172+
{
173+
struct ifreq ifr;
174+
175+
memset(&ifr, 0, sizeof(ifr));
176+
177+
if (enable)
178+
ifr.ifr_flags = IFF_ATTACH_QUEUE;
179+
else
180+
ifr.ifr_flags = IFF_DETACH_QUEUE;
181+
182+
return ioctl(fd, TUNSETQUEUE, (void *)&ifr);
183+
}
184+
108185
Universal TUN/TAP device driver Frequently Asked Question.
109186

110187
1. What platforms are supported by TUN/TAP driver ?

‎Documentation/trace/ftrace.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ feature:
18731873

18741874
status\input | 0 | 1 | else |
18751875
--------------+------------+------------+------------+
1876-
not allocated |(do nothing)| alloc+swap | EINVAL |
1876+
not allocated |(do nothing)| alloc+swap |(do nothing)|
18771877
--------------+------------+------------+------------+
18781878
allocated | free | swap | clear |
18791879
--------------+------------+------------+------------+

‎MAINTAINERS‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4005,6 +4005,22 @@ M: Stanislaw Gruszka <stf_xl@wp.pl>
40054005
S: Maintained
40064006
F: drivers/usb/atm/ueagle-atm.c
40074007

4008+
INA209 HARDWARE MONITOR DRIVER
4009+
M: Guenter Roeck <linux@roeck-us.net>
4010+
L: lm-sensors@lm-sensors.org
4011+
S: Maintained
4012+
F: Documentation/hwmon/ina209
4013+
F: Documentation/devicetree/bindings/i2c/ina209.txt
4014+
F: drivers/hwmon/ina209.c
4015+
4016+
INA2XX HARDWARE MONITOR DRIVER
4017+
M: Guenter Roeck <linux@roeck-us.net>
4018+
L: lm-sensors@lm-sensors.org
4019+
S: Maintained
4020+
F: Documentation/hwmon/ina2xx
4021+
F: drivers/hwmon/ina2xx.c
4022+
F: include/linux/platform_data/ina2xx.h
4023+
40084024
INDUSTRY PACK SUBSYSTEM (IPACK)
40094025
M: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
40104026
M: Jens Taprogge <jens.taprogge@taprogge.org>
@@ -5098,6 +5114,15 @@ S: Maintained
50985114
F: Documentation/hwmon/max6650
50995115
F: drivers/hwmon/max6650.c
51005116

5117+
MAX6697 HARDWARE MONITOR DRIVER
5118+
M: Guenter Roeck <linux@roeck-us.net>
5119+
L: lm-sensors@lm-sensors.org
5120+
S: Maintained
5121+
F: Documentation/hwmon/max6697
5122+
F: Documentation/devicetree/bindings/i2c/max6697.txt
5123+
F: drivers/hwmon/max6697.c
5124+
F: include/linux/platform_data/max6697.h
5125+
51015126
MAXIRADIO FM RADIO RECEIVER DRIVER
51025127
M: Hans Verkuil <hverkuil@xs4all.nl>
51035128
L: linux-media@vger.kernel.org
@@ -6412,6 +6437,8 @@ F: Documentation/networking/LICENSE.qla3xxx
64126437
F: drivers/net/ethernet/qlogic/qla3xxx.*
64136438

64146439
QLOGIC QLCNIC (1/10)Gb ETHERNET DRIVER
6440+
M: Rajesh Borundia <rajesh.borundia@qlogic.com>
6441+
M: Shahed Shaikh <shahed.shaikh@qlogic.com>
64156442
M: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
64166443
M: Sony Chacko <sony.chacko@qlogic.com>
64176444
M: linux-driver@qlogic.com

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 9
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc2
4+
EXTRAVERSION = -rc3
55
NAME = Unicycling Gorilla
66

77
# *DOCUMENTATION*

‎arch/Kconfig‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,6 @@ config ARCH_WANT_OLD_COMPAT_IPC
319319
select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
320320
bool
321321

322-
config HAVE_VIRT_TO_BUS
323-
bool
324-
help
325-
An architecture should select this if it implements the
326-
deprecated interface virt_to_bus(). All new architectures
327-
should probably not select this.
328-
329322
config HAVE_ARCH_SECCOMP_FILTER
330323
bool
331324
help

‎arch/alpha/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ALPHA
99
select HAVE_PERF_EVENTS
1010
select HAVE_DMA_ATTRS
1111
select HAVE_GENERIC_HARDIRQS
12-
select HAVE_VIRT_TO_BUS
12+
select VIRT_TO_BUS
1313
select GENERIC_IRQ_PROBE
1414
select AUTO_IRQ_AFFINITY if SMP
1515
select GENERIC_IRQ_SHOW

‎arch/arm/Kconfig‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,6 @@ config ARCH_IXP4XX
509509
config ARCH_DOVE
510510
bool "Marvell Dove"
511511
select ARCH_REQUIRE_GPIOLIB
512-
select COMMON_CLK_DOVE
513512
select CPU_V7
514513
select GENERIC_CLOCKEVENTS
515514
select MIGHT_HAVE_PCI
@@ -1584,13 +1583,16 @@ config LOCAL_TIMERS
15841583
accounting to be spread across the timer interval, preventing a
15851584
"thundering herd" at every timer tick.
15861585

1586+
# The GPIO number here must be sorted by descending number. In case of
1587+
# a multiplatform kernel, we just want the highest value required by the
1588+
# selected platforms.
15871589
config ARCH_NR_GPIO
15881590
int
15891591
default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
1590-
default 355 if ARCH_U8500
1591-
default 264 if MACH_H4700
15921592
default 512 if SOC_OMAP5
1593+
default 355 if ARCH_U8500
15931594
default 288 if ARCH_VT8500 || ARCH_SUNXI
1595+
default 264 if MACH_H4700
15941596
default 0
15951597
help
15961598
Maximum number of GPIOs in the system.
@@ -1814,8 +1816,9 @@ config XEN_DOM0
18141816

18151817
config XEN
18161818
bool "Xen guest support on ARM (EXPERIMENTAL)"
1817-
depends on ARM && OF
1819+
depends on ARM && AEABI && OF
18181820
depends on CPU_V7 && !CPU_V6
1821+
depends on !GENERIC_ATOMIC64
18191822
help
18201823
Say Y if you want to run Linux in a Virtual Machine on Xen on ARM.
18211824

0 commit comments

Comments
 (0)