Skip to content

Commit 0febd3b

Browse files
committed
Merge tag 'omapdss-for-3.7' of git://gitorious.org/linux-omap-dss2/linux into fbdev-next
Omapdss driver changes for the 3.7 merge window. Notable changes: * Basic writeback support for DISPC level. Writeback is not yet usable, though, as we need higher level code to actually expose the writeback feature to userspace. * Rewriting the omapdss output drivers. We're trying to remove the hard links between the omapdss and the panels, and this rewrite work moves us closer to that goal. * Cleanup and restructuring patches that have been made while working on device tree support for omapdss. Device tree support is still some way ahead, but these patches are good cleanups in themselves. * Basic OMAP5 DSS support for DPI and DSI outputs. * Workaround for the problem that GFX overlay's fifo is too small for high resolution scenarios, causing underflows. * Cleanups that remove dependencies to omap platform code.
2 parents 8d93241 + 13b1ba7 commit 0febd3b

270 files changed

Lines changed: 6505 additions & 3950 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/block/00-INDEX‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@
33
biodoc.txt
44
- Notes on the Generic Block Layer Rewrite in Linux 2.5
55
capability.txt
6-
- Generic Block Device Capability (/sys/block/<disk>/capability)
6+
- Generic Block Device Capability (/sys/block/<device>/capability)
7+
cfq-iosched.txt
8+
- CFQ IO scheduler tunables
9+
data-integrity.txt
10+
- Block data integrity
711
deadline-iosched.txt
812
- Deadline IO scheduler tunables
913
ioprio.txt
1014
- Block io priorities (in CFQ scheduler)
15+
queue-sysfs.txt
16+
- Queue's sysfs entries
1117
request.txt
1218
- The members of struct request (in include/linux/blkdev.h)
1319
stat.txt
14-
- Block layer statistics in /sys/block/<dev>/stat
20+
- Block layer statistics in /sys/block/<device>/stat
1521
switching-sched.txt
1622
- Switching I/O schedulers at runtime
1723
writeback_cache_control.txt

‎Documentation/block/cfq-iosched.txt‎

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
CFQ (Complete Fairness Queueing)
2+
===============================
3+
4+
The main aim of CFQ scheduler is to provide a fair allocation of the disk
5+
I/O bandwidth for all the processes which requests an I/O operation.
6+
7+
CFQ maintains the per process queue for the processes which request I/O
8+
operation(syncronous requests). In case of asynchronous requests, all the
9+
requests from all the processes are batched together according to their
10+
process's I/O priority.
11+
112
CFQ ioscheduler tunables
213
========================
314

@@ -25,6 +36,72 @@ there are multiple spindles behind single LUN (Host based hardware RAID
2536
controller or for storage arrays), setting slice_idle=0 might end up in better
2637
throughput and acceptable latencies.
2738

39+
back_seek_max
40+
-------------
41+
This specifies, given in Kbytes, the maximum "distance" for backward seeking.
42+
The distance is the amount of space from the current head location to the
43+
sectors that are backward in terms of distance.
44+
45+
This parameter allows the scheduler to anticipate requests in the "backward"
46+
direction and consider them as being the "next" if they are within this
47+
distance from the current head location.
48+
49+
back_seek_penalty
50+
-----------------
51+
This parameter is used to compute the cost of backward seeking. If the
52+
backward distance of request is just 1/back_seek_penalty from a "front"
53+
request, then the seeking cost of two requests is considered equivalent.
54+
55+
So scheduler will not bias toward one or the other request (otherwise scheduler
56+
will bias toward front request). Default value of back_seek_penalty is 2.
57+
58+
fifo_expire_async
59+
-----------------
60+
This parameter is used to set the timeout of asynchronous requests. Default
61+
value of this is 248ms.
62+
63+
fifo_expire_sync
64+
----------------
65+
This parameter is used to set the timeout of synchronous requests. Default
66+
value of this is 124ms. In case to favor synchronous requests over asynchronous
67+
one, this value should be decreased relative to fifo_expire_async.
68+
69+
slice_async
70+
-----------
71+
This parameter is same as of slice_sync but for asynchronous queue. The
72+
default value is 40ms.
73+
74+
slice_async_rq
75+
--------------
76+
This parameter is used to limit the dispatching of asynchronous request to
77+
device request queue in queue's slice time. The maximum number of request that
78+
are allowed to be dispatched also depends upon the io priority. Default value
79+
for this is 2.
80+
81+
slice_sync
82+
----------
83+
When a queue is selected for execution, the queues IO requests are only
84+
executed for a certain amount of time(time_slice) before switching to another
85+
queue. This parameter is used to calculate the time slice of synchronous
86+
queue.
87+
88+
time_slice is computed using the below equation:-
89+
time_slice = slice_sync + (slice_sync/5 * (4 - prio)). To increase the
90+
time_slice of synchronous queue, increase the value of slice_sync. Default
91+
value is 100ms.
92+
93+
quantum
94+
-------
95+
This specifies the number of request dispatched to the device queue. In a
96+
queue's time slice, a request will not be dispatched if the number of request
97+
in the device exceeds this parameter. This parameter is used for synchronous
98+
request.
99+
100+
In case of storage with several disk, this setting can limit the parallel
101+
processing of request. Therefore, increasing the value can imporve the
102+
performace although this can cause the latency of some I/O to increase due
103+
to more number of requests.
104+
28105
CFQ IOPS Mode for group scheduling
29106
===================================
30107
Basic CFQ design is to provide priority based time slices. Higher priority

‎Documentation/block/queue-sysfs.txt‎

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,71 @@ These files are the ones found in the /sys/block/xxx/queue/ directory.
99
Files denoted with a RO postfix are readonly and the RW postfix means
1010
read-write.
1111

12+
add_random (RW)
13+
----------------
14+
This file allows to trun off the disk entropy contribution. Default
15+
value of this file is '1'(on).
16+
17+
discard_granularity (RO)
18+
-----------------------
19+
This shows the size of internal allocation of the device in bytes, if
20+
reported by the device. A value of '0' means device does not support
21+
the discard functionality.
22+
23+
discard_max_bytes (RO)
24+
----------------------
25+
Devices that support discard functionality may have internal limits on
26+
the number of bytes that can be trimmed or unmapped in a single operation.
27+
The discard_max_bytes parameter is set by the device driver to the maximum
28+
number of bytes that can be discarded in a single operation. Discard
29+
requests issued to the device must not exceed this limit. A discard_max_bytes
30+
value of 0 means that the device does not support discard functionality.
31+
32+
discard_zeroes_data (RO)
33+
------------------------
34+
When read, this file will show if the discarded block are zeroed by the
35+
device or not. If its value is '1' the blocks are zeroed otherwise not.
36+
1237
hw_sector_size (RO)
1338
-------------------
1439
This is the hardware sector size of the device, in bytes.
1540

41+
iostats (RW)
42+
-------------
43+
This file is used to control (on/off) the iostats accounting of the
44+
disk.
45+
46+
logical_block_size (RO)
47+
-----------------------
48+
This is the logcal block size of the device, in bytes.
49+
1650
max_hw_sectors_kb (RO)
1751
----------------------
1852
This is the maximum number of kilobytes supported in a single data transfer.
1953

54+
max_integrity_segments (RO)
55+
---------------------------
56+
When read, this file shows the max limit of integrity segments as
57+
set by block layer which a hardware controller can handle.
58+
2059
max_sectors_kb (RW)
2160
-------------------
2261
This is the maximum number of kilobytes that the block layer will allow
2362
for a filesystem request. Must be smaller than or equal to the maximum
2463
size allowed by the hardware.
2564

65+
max_segments (RO)
66+
-----------------
67+
Maximum number of segments of the device.
68+
69+
max_segment_size (RO)
70+
---------------------
71+
Maximum segment size of the device.
72+
73+
minimum_io_size (RO)
74+
--------------------
75+
This is the smallest preferred io size reported by the device.
76+
2677
nomerges (RW)
2778
-------------
2879
This enables the user to disable the lookup logic involved with IO
@@ -45,11 +96,24 @@ per-block-cgroup request pool. IOW, if there are N block cgroups,
4596
each request queue may have upto N request pools, each independently
4697
regulated by nr_requests.
4798

99+
optimal_io_size (RO)
100+
--------------------
101+
This is the optimal io size reported by the device.
102+
103+
physical_block_size (RO)
104+
------------------------
105+
This is the physical block size of device, in bytes.
106+
48107
read_ahead_kb (RW)
49108
------------------
50109
Maximum number of kilobytes to read-ahead for filesystems on this block
51110
device.
52111

112+
rotational (RW)
113+
---------------
114+
This file is used to stat if the device is of rotational type or
115+
non-rotational type.
116+
53117
rq_affinity (RW)
54118
----------------
55119
If this option is '1', the block layer will migrate request completions to the

‎Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ Required properties:
1010
- compatible : Should be "fsl,<chip>-esdhc"
1111

1212
Optional properties:
13-
- fsl,cd-internal : Indicate to use controller internal card detection
14-
- fsl,wp-internal : Indicate to use controller internal write protection
13+
- fsl,cd-controller : Indicate to use controller internal card detection
14+
- fsl,wp-controller : Indicate to use controller internal write protection
1515

1616
Examples:
1717

1818
esdhc@70004000 {
1919
compatible = "fsl,imx51-esdhc";
2020
reg = <0x70004000 0x4000>;
2121
interrupts = <1>;
22-
fsl,cd-internal;
23-
fsl,wp-internal;
22+
fsl,cd-controller;
23+
fsl,wp-controller;
2424
};
2525

2626
esdhc@70008000 {

‎Documentation/watchdog/src/watchdog-test.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void keep_alive(void)
3131
* or "-e" to enable the card.
3232
*/
3333

34-
void term(int sig)
34+
static void term(int sig)
3535
{
3636
close(fd);
3737
fprintf(stderr, "Stopping watchdog ticks...\n");

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 6
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc3
4+
EXTRAVERSION = -rc4
55
NAME = Saber-toothed Squirrel
66

77
# *DOCUMENTATION*

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,6 +2144,7 @@ source "drivers/cpufreq/Kconfig"
21442144
config CPU_FREQ_IMX
21452145
tristate "CPUfreq driver for i.MX CPUs"
21462146
depends on ARCH_MXC && CPU_FREQ
2147+
select CPU_FREQ_TABLE
21472148
help
21482149
This enables the CPUfreq driver for i.MX CPUs.
21492150

‎arch/arm/boot/dts/am33xx.dtsi‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,10 @@
154154
#size-cells = <0>;
155155
ti,hwmods = "i2c3";
156156
};
157+
158+
wdt2: wdt@44e35000 {
159+
compatible = "ti,omap3-wdt";
160+
ti,hwmods = "wd_timer2";
161+
};
157162
};
158163
};

‎arch/arm/boot/dts/imx51-babbage.dts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
aips@70000000 { /* aips-1 */
2626
spba@70000000 {
2727
esdhc@70004000 { /* ESDHC1 */
28-
fsl,cd-internal;
29-
fsl,wp-internal;
28+
fsl,cd-controller;
29+
fsl,wp-controller;
3030
status = "okay";
3131
};
3232

‎arch/arm/boot/dts/kirkwood-iconnect.dts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@
4141
};
4242
power-blue {
4343
label = "power:blue";
44-
gpios = <&gpio1 11 0>;
44+
gpios = <&gpio1 10 0>;
4545
linux,default-trigger = "timer";
4646
};
47+
power-red {
48+
label = "power:red";
49+
gpios = <&gpio1 11 0>;
50+
};
4751
usb1 {
4852
label = "usb1:blue";
4953
gpios = <&gpio1 12 0>;

0 commit comments

Comments
 (0)