Skip to content

Commit 7b0cfee

Browse files
committed
Merge tag 'v3.5-rc4' into drm-intel-next-queued
I want to merge the "no more fake agp on gen6+" patches into drm-intel-next (well, the last pieces). But a patch in 3.5-rc4 also adds a new use of dev->agp. Hence the backmarge to sort this out, for otherwise drm-intel-next merged into Linus' tree would conflict in the relevant code, things would compile but nicely OOPS at driver load :( Conflicts in this merge are just simple cases of "both branches changed/added lines at the same place". The only tricky part is to keep the order correct wrt the unwind code in case of errors in intel_ringbuffer.c (and the MI_DISPLAY_FLIP #defines in i915_reg.h together, obviously). Conflicts: drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ringbuffer.c Signed-Off-by: Daniel Vetter <[email protected]>
2 parents 9756fe3 + 6b16351 commit 7b0cfee

File tree

1,660 files changed

+53943
-17792
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,660 files changed

+53943
-17792
lines changed

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,8 @@ Uwe Kleine-König <[email protected]>
111111
Uwe Kleine-König <[email protected]>
112112
Uwe Kleine-König <[email protected]>
113113
Valdis Kletnieks <[email protected]>
114+
114115
Takashi YOSHII <[email protected]>
115116
Yusuke Goda <[email protected]>
117+
Gustavo Padovan <[email protected]>
118+
Gustavo Padovan <[email protected]>

Documentation/ABI/testing/sysfs-block-rssd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@ Description: This is a read-only file. Dumps below driver information and
66
hardware registers.
77
- S ACTive
88
- Command Issue
9-
- Allocated
109
- Completed
1110
- PORT IRQ STAT
1211
- HOST IRQ STAT
12+
- Allocated
13+
- Commands in Q
1314

1415
What: /sys/block/rssd*/status
1516
Date: April 2012
1617
KernelVersion: 3.4
1718
Contact: Asai Thambi S P <[email protected]>
18-
Description: This is a read-only file. Indicates the status of the device.
19+
Description: This is a read-only file. Indicates the status of the device.
20+
21+
What: /sys/block/rssd*/flags
22+
Date: May 2012
23+
KernelVersion: 3.5
24+
Contact: Asai Thambi S P <[email protected]>
25+
Description: This is a read-only file. Dumps the flags in port and driver
26+
data structure
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
What: /sys/bus/fcoe/ctlr_X
2+
Date: March 2012
3+
KernelVersion: TBD
4+
Contact: Robert Love <[email protected]>, [email protected]
5+
Description: 'FCoE Controller' instances on the fcoe bus
6+
Attributes:
7+
8+
fcf_dev_loss_tmo: Device loss timeout peroid (see below). Changing
9+
this value will change the dev_loss_tmo for all
10+
FCFs discovered by this controller.
11+
12+
lesb_link_fail: Link Error Status Block (LESB) link failure count.
13+
14+
lesb_vlink_fail: Link Error Status Block (LESB) virtual link
15+
failure count.
16+
17+
lesb_miss_fka: Link Error Status Block (LESB) missed FCoE
18+
Initialization Protocol (FIP) Keep-Alives (FKA).
19+
20+
lesb_symb_err: Link Error Status Block (LESB) symbolic error count.
21+
22+
lesb_err_block: Link Error Status Block (LESB) block error count.
23+
24+
lesb_fcs_error: Link Error Status Block (LESB) Fibre Channel
25+
Serivces error count.
26+
27+
Notes: ctlr_X (global increment starting at 0)
28+
29+
What: /sys/bus/fcoe/fcf_X
30+
Date: March 2012
31+
KernelVersion: TBD
32+
Contact: Robert Love <[email protected]>, [email protected]
33+
Description: 'FCoE FCF' instances on the fcoe bus. A FCF is a Fibre Channel
34+
Forwarder, which is a FCoE switch that can accept FCoE
35+
(Ethernet) packets, unpack them, and forward the embedded
36+
Fibre Channel frames into a FC fabric. It can also take
37+
outbound FC frames and pack them in Ethernet packets to
38+
be sent to their destination on the Ethernet segment.
39+
Attributes:
40+
41+
fabric_name: Identifies the fabric that the FCF services.
42+
43+
switch_name: Identifies the FCF.
44+
45+
priority: The switch's priority amongst other FCFs on the same
46+
fabric.
47+
48+
selected: 1 indicates that the switch has been selected for use;
49+
0 indicates that the swich will not be used.
50+
51+
fc_map: The Fibre Channel MAP
52+
53+
vfid: The Virtual Fabric ID
54+
55+
mac: The FCF's MAC address
56+
57+
fka_peroid: The FIP Keep-Alive peroid
58+
59+
fabric_state: The internal kernel state
60+
"Unknown" - Initialization value
61+
"Disconnected" - No link to the FCF/fabric
62+
"Connected" - Host is connected to the FCF
63+
"Deleted" - FCF is being removed from the system
64+
65+
dev_loss_tmo: The device loss timeout peroid for this FCF.
66+
67+
Notes: A device loss infrastructre similar to the FC Transport's
68+
is present in fcoe_sysfs. It is nice to have so that a
69+
link flapping adapter doesn't continually advance the count
70+
used to identify the discovered FCF. FCFs will exist in a
71+
"Disconnected" state until either the timer expires and the
72+
FCF becomes "Deleted" or the FCF is rediscovered and becomes
73+
"Connected."
74+
75+
76+
Users: The first user of this interface will be the fcoeadm application,
77+
which is commonly packaged in the fcoe-utils package.

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_scale
219219
What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_scale
220220
What: /sys/bus/iio/devices/iio:deviceX/in_voltage_scale
221221
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_scale
222+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_scale
222223
What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale
223224
What: /sys/bus/iio/devices/iio:deviceX/in_accel_peak_scale
224225
What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_scale
@@ -273,6 +274,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_accel_scale_available
273274
What: /sys/.../iio:deviceX/in_voltageX_scale_available
274275
What: /sys/.../iio:deviceX/in_voltage-voltage_scale_available
275276
What: /sys/.../iio:deviceX/out_voltageX_scale_available
277+
What: /sys/.../iio:deviceX/out_altvoltageX_scale_available
276278
What: /sys/.../iio:deviceX/in_capacitance_scale_available
277279
KernelVersion: 2.635
278280
@@ -298,14 +300,19 @@ Description:
298300
gives the 3dB frequency of the filter in Hz.
299301

300302
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_raw
303+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_raw
301304
KernelVersion: 2.6.37
302305
303306
Description:
304307
Raw (unscaled, no bias etc.) output voltage for
305308
channel Y. The number must always be specified and
306309
unique if the output corresponds to a single channel.
310+
While DAC like devices typically use out_voltage,
311+
a continuous frequency generating device, such as
312+
a DDS or PLL should use out_altvoltage.
307313

308314
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY&Z_raw
315+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY&Z_raw
309316
KernelVersion: 2.6.37
310317
311318
Description:
@@ -316,6 +323,8 @@ Description:
316323

317324
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown_mode
318325
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown_mode
326+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown_mode
327+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown_mode
319328
KernelVersion: 2.6.38
320329
321330
Description:
@@ -330,6 +339,8 @@ Description:
330339

331340
What: /sys/.../iio:deviceX/out_votlageY_powerdown_mode_available
332341
What: /sys/.../iio:deviceX/out_voltage_powerdown_mode_available
342+
What: /sys/.../iio:deviceX/out_altvotlageY_powerdown_mode_available
343+
What: /sys/.../iio:deviceX/out_altvoltage_powerdown_mode_available
333344
KernelVersion: 2.6.38
334345
335346
Description:
@@ -338,6 +349,8 @@ Description:
338349

339350
What: /sys/bus/iio/devices/iio:deviceX/out_voltageY_powerdown
340351
What: /sys/bus/iio/devices/iio:deviceX/out_voltage_powerdown
352+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown
353+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltage_powerdown
341354
KernelVersion: 2.6.38
342355
343356
Description:
@@ -346,6 +359,24 @@ Description:
346359
normal operation. Y may be suppressed if all outputs are
347360
controlled together.
348361

362+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency
363+
KernelVersion: 3.4.0
364+
365+
Description:
366+
Output frequency for channel Y in Hz. The number must always be
367+
specified and unique if the output corresponds to a single
368+
channel.
369+
370+
What: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_phase
371+
KernelVersion: 3.4.0
372+
373+
Description:
374+
Phase in radians of one frequency/clock output Y
375+
(out_altvoltageY) relative to another frequency/clock output
376+
(out_altvoltageZ) of the device X. The number must always be
377+
specified and unique if the output corresponds to a single
378+
channel.
379+
349380
What: /sys/bus/iio/devices/iio:deviceX/events
350381
KernelVersion: 2.6.35
351382

Documentation/ABI/testing/sysfs-class-mtd

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,54 @@ Description:
123123
half page, or a quarter page).
124124

125125
In the case of ECC NOR, it is the ECC block size.
126+
127+
What: /sys/class/mtd/mtdX/ecc_strength
128+
Date: April 2012
129+
KernelVersion: 3.4
130+
131+
Description:
132+
Maximum number of bit errors that the device is capable of
133+
correcting within each region covering an ecc step. This will
134+
always be a non-negative integer. Note that some devices will
135+
have multiple ecc steps within each writesize region.
136+
137+
In the case of devices lacking any ECC capability, it is 0.
138+
139+
What: /sys/class/mtd/mtdX/bitflip_threshold
140+
Date: April 2012
141+
KernelVersion: 3.4
142+
143+
Description:
144+
This allows the user to examine and adjust the criteria by which
145+
mtd returns -EUCLEAN from mtd_read(). If the maximum number of
146+
bit errors that were corrected on any single region comprising
147+
an ecc step (as reported by the driver) equals or exceeds this
148+
value, -EUCLEAN is returned. Otherwise, absent an error, 0 is
149+
returned. Higher layers (e.g., UBI) use this return code as an
150+
indication that an erase block may be degrading and should be
151+
scrutinized as a candidate for being marked as bad.
152+
153+
The initial value may be specified by the flash device driver.
154+
If not, then the default value is ecc_strength.
155+
156+
The introduction of this feature brings a subtle change to the
157+
meaning of the -EUCLEAN return code. Previously, it was
158+
interpreted to mean simply "one or more bit errors were
159+
corrected". Its new interpretation can be phrased as "a
160+
dangerously high number of bit errors were corrected on one or
161+
more regions comprising an ecc step". The precise definition of
162+
"dangerously high" can be adjusted by the user with
163+
bitflip_threshold. Users are discouraged from doing this,
164+
however, unless they know what they are doing and have intimate
165+
knowledge of the properties of their device. Broadly speaking,
166+
bitflip_threshold should be low enough to detect genuine erase
167+
block degradation, but high enough to avoid the consequences of
168+
a persistent return value of -EUCLEAN on devices where sticky
169+
bitflips occur. Note that if bitflip_threshold exceeds
170+
ecc_strength, -EUCLEAN is never returned by mtd_read().
171+
Conversely, if bitflip_threshold is zero, -EUCLEAN is always
172+
returned, absent a hard error.
173+
174+
This is generally applicable only to NAND flash devices with ECC
175+
capability. It is ignored on devices lacking ECC capability;
176+
i.e., devices for which ecc_strength is zero.

Documentation/CodingStyle

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,9 @@ ones already enabled by DEBUG.
671671
Chapter 14: Allocating memory
672672

673673
The kernel provides the following general purpose memory allocators:
674-
kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to
675-
the API documentation for further information about them.
674+
kmalloc(), kzalloc(), kmalloc_array(), kcalloc(), vmalloc(), and
675+
vzalloc(). Please refer to the API documentation for further information
676+
about them.
676677

677678
The preferred form for passing a size of a struct is the following:
678679

@@ -686,6 +687,17 @@ Casting the return value which is a void pointer is redundant. The conversion
686687
from void pointer to any other pointer type is guaranteed by the C programming
687688
language.
688689

690+
The preferred form for allocating an array is the following:
691+
692+
p = kmalloc_array(n, sizeof(...), ...);
693+
694+
The preferred form for allocating a zeroed array is the following:
695+
696+
p = kcalloc(n, sizeof(...), ...);
697+
698+
Both forms check for overflow on the allocation size n * sizeof(...),
699+
and return NULL if that occurred.
700+
689701

690702
Chapter 15: The inline disease
691703

Documentation/DocBook/mtdnand.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,6 @@ in this page</entry>
11191119
These constants are defined in nand.h. They are ored together to describe
11201120
the chip functionality.
11211121
<programlisting>
1122-
/* Chip can not auto increment pages */
1123-
#define NAND_NO_AUTOINCR 0x00000001
11241122
/* Buswitdh is 16 bit */
11251123
#define NAND_BUSWIDTH_16 0x00000002
11261124
/* Device supports partial programming without padding */

Documentation/arm/OMAP/DSS

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,51 @@ flexible way to enable non-common multi-display configuration. In addition to
4747
modelling the hardware overlays, omapdss supports virtual overlays and overlay
4848
managers. These can be used when updating a display with CPU or system DMA.
4949

50+
omapdss driver support for audio
51+
--------------------------------
52+
There exist several display technologies and standards that support audio as
53+
well. Hence, it is relevant to update the DSS device driver to provide an audio
54+
interface that may be used by an audio driver or any other driver interested in
55+
the functionality.
56+
57+
The audio_enable function is intended to prepare the relevant
58+
IP for playback (e.g., enabling an audio FIFO, taking in/out of reset
59+
some IP, enabling companion chips, etc). It is intended to be called before
60+
audio_start. The audio_disable function performs the reverse operation and is
61+
intended to be called after audio_stop.
62+
63+
While a given DSS device driver may support audio, it is possible that for
64+
certain configurations audio is not supported (e.g., an HDMI display using a
65+
VESA video timing). The audio_supported function is intended to query whether
66+
the current configuration of the display supports audio.
67+
68+
The audio_config function is intended to configure all the relevant audio
69+
parameters of the display. In order to make the function independent of any
70+
specific DSS device driver, a struct omap_dss_audio is defined. Its purpose
71+
is to contain all the required parameters for audio configuration. At the
72+
moment, such structure contains pointers to IEC-60958 channel status word
73+
and CEA-861 audio infoframe structures. This should be enough to support
74+
HDMI and DisplayPort, as both are based on CEA-861 and IEC-60958.
75+
76+
The audio_enable/disable, audio_config and audio_supported functions could be
77+
implemented as functions that may sleep. Hence, they should not be called
78+
while holding a spinlock or a readlock.
79+
80+
The audio_start/audio_stop function is intended to effectively start/stop audio
81+
playback after the configuration has taken place. These functions are designed
82+
to be used in an atomic context. Hence, audio_start should return quickly and be
83+
called only after all the needed resources for audio playback (audio FIFOs,
84+
DMA channels, companion chips, etc) have been enabled to begin data transfers.
85+
audio_stop is designed to only stop the audio transfers. The resources used
86+
for playback are released using audio_disable.
87+
88+
The enum omap_dss_audio_state may be used to help the implementations of
89+
the interface to keep track of the audio state. The initial state is _DISABLED;
90+
then, the state transitions to _CONFIGURED, and then, when it is ready to
91+
play audio, to _ENABLED. The state _PLAYING is used when the audio is being
92+
rendered.
93+
94+
5095
Panel and controller drivers
5196
----------------------------
5297

@@ -156,6 +201,7 @@ timings Display timings (pixclock,xres/hfp/hbp/hsw,yres/vfp/vbp/vsw)
156201
"pal" and "ntsc"
157202
panel_name
158203
tear_elim Tearing elimination 0=off, 1=on
204+
output_type Output type (video encoder only): "composite" or "svideo"
159205

160206
There are also some debugfs files at <debugfs>/omapdss/ which show information
161207
about clocks and registers.

Documentation/arm/SPEAr/overview.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ Introduction
6060
Document Author
6161
---------------
6262

63-
Viresh Kumar <viresh.kumar@st.com>, (c) 2010-2012 ST Microelectronics
63+
Viresh Kumar <viresh.linux@gmail.com>, (c) 2010-2012 ST Microelectronics

Documentation/device-mapper/thin-provisioning.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,17 @@ iii) Messages
287287
the current transaction id is when you change it with this
288288
compare-and-swap message.
289289

290+
reserve_metadata_snap
291+
292+
Reserve a copy of the data mapping btree for use by userland.
293+
This allows userland to inspect the mappings as they were when
294+
this message was executed. Use the pool's status command to
295+
get the root block associated with the metadata snapshot.
296+
297+
release_metadata_snap
298+
299+
Release a previously reserved copy of the data mapping btree.
300+
290301
'thin' target
291302
-------------
292303

0 commit comments

Comments
 (0)