Skip to content

Commit f28e716

Browse files
author
James Bottomley
committed
Merge ../linux-2.6/
Conflicts: drivers/scsi/aacraid/comminit.c Fixed up by removing the now renamed CONFIG_IOMMU option from aacraid Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2 parents dc6a78f + a39727f commit f28e716

File tree

1,119 files changed

+51158
-19353
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,119 files changed

+51158
-19353
lines changed

CREDITS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ S: C. Negri 6, bl. D3
2424
S: Iasi 6600
2525
S: Romania
2626

27+
N: Mark Adler
28+
E: madler@alumni.caltech.edu
29+
W: http://alumnus.caltech.edu/~madler/
30+
D: zlib decompression
31+
2732
N: Monalisa Agrawal
2833
E: magrawal@nortelnetworks.com
2934
D: Basic Interphase 5575 driver with UBR and ABR support.

Documentation/DocBook/kernel-locking.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ the amount of locking which needs to be done.
15901590
<para>
15911591
Our final dilemma is this: when can we actually destroy the
15921592
removed element? Remember, a reader might be stepping through
1593-
this element in the list right now: it we free this element and
1593+
this element in the list right now: if we free this element and
15941594
the <symbol>next</symbol> pointer changes, the reader will jump
15951595
off into garbage and crash. We need to wait until we know that
15961596
all the readers who were traversing the list when we deleted the

Documentation/RCU/torture.txt

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The CONFIG_RCU_TORTURE_TEST config option is available for all RCU
77
implementations. It creates an rcutorture kernel module that can
88
be loaded to run a torture test. The test periodically outputs
99
status messages via printk(), which can be examined via the dmesg
10-
command (perhaps grepping for "rcutorture"). The test is started
10+
command (perhaps grepping for "torture"). The test is started
1111
when the module is loaded, and stops when the module is unloaded.
1212

1313
However, actually setting this config option to "y" results in the system
@@ -35,21 +35,34 @@ stat_interval The number of seconds between output of torture
3535
be printed -only- when the module is unloaded, and this
3636
is the default.
3737

38+
shuffle_interval
39+
The number of seconds to keep the test threads affinitied
40+
to a particular subset of the CPUs. Used in conjunction
41+
with test_no_idle_hz.
42+
43+
test_no_idle_hz Whether or not to test the ability of RCU to operate in
44+
a kernel that disables the scheduling-clock interrupt to
45+
idle CPUs. Boolean parameter, "1" to test, "0" otherwise.
46+
47+
torture_type The type of RCU to test: "rcu" for the rcu_read_lock()
48+
API, "rcu_bh" for the rcu_read_lock_bh() API, and "srcu"
49+
for the "srcu_read_lock()" API.
50+
3851
verbose Enable debug printk()s. Default is disabled.
3952

4053

4154
OUTPUT
4255

4356
The statistics output is as follows:
4457

45-
rcutorture: --- Start of test: nreaders=16 stat_interval=0 verbose=0
46-
rcutorture: rtc: 0000000000000000 ver: 1916 tfle: 0 rta: 1916 rtaf: 0 rtf: 1915
47-
rcutorture: Reader Pipe: 1466408 9747 0 0 0 0 0 0 0 0 0
48-
rcutorture: Reader Batch: 1464477 11678 0 0 0 0 0 0 0 0
49-
rcutorture: Free-Block Circulation: 1915 1915 1915 1915 1915 1915 1915 1915 1915 1915 0
50-
rcutorture: --- End of test
58+
rcu-torture: --- Start of test: nreaders=16 stat_interval=0 verbose=0
59+
rcu-torture: rtc: 0000000000000000 ver: 1916 tfle: 0 rta: 1916 rtaf: 0 rtf: 1915
60+
rcu-torture: Reader Pipe: 1466408 9747 0 0 0 0 0 0 0 0 0
61+
rcu-torture: Reader Batch: 1464477 11678 0 0 0 0 0 0 0 0
62+
rcu-torture: Free-Block Circulation: 1915 1915 1915 1915 1915 1915 1915 1915 1915 1915 0
63+
rcu-torture: --- End of test
5164

52-
The command "dmesg | grep rcutorture:" will extract this information on
65+
The command "dmesg | grep torture:" will extract this information on
5366
most systems. On more esoteric configurations, it may be necessary to
5467
use other commands to access the output of the printk()s used by
5568
the RCU torture test. The printk()s use KERN_ALERT, so they should
@@ -115,8 +128,9 @@ The following script may be used to torture RCU:
115128
modprobe rcutorture
116129
sleep 100
117130
rmmod rcutorture
118-
dmesg | grep rcutorture:
131+
dmesg | grep torture:
119132

120133
The output can be manually inspected for the error flag of "!!!".
121134
One could of course create a more elaborate script that automatically
122-
checked for such errors.
135+
checked for such errors. The "rmmod" command forces a "SUCCESS" or
136+
"FAILURE" indication to be printk()ed.

Documentation/arm/Samsung-S3C24XX/Overview.txt

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ Introduction
77
------------
88

99
The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported
10-
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410 and
11-
the S3C2440 are supported CPUs.
10+
by the 's3c2410' architecture of ARM Linux. Currently the S3C2410,
11+
S3C2440 and S3C2442 devices are supported.
1212

1313
Support for the S3C2400 series is in progress.
1414

15+
Support for the S3C2412 and S3C2413 CPUs is being merged.
16+
1517

1618
Configuration
1719
-------------
@@ -43,9 +45,18 @@ Machines
4345

4446
Samsung's own development board, geared for PDA work.
4547

48+
Samsung/Aiji SMDK2412
49+
50+
The S3C2412 version of the SMDK2440.
51+
52+
Samsung/Aiji SMDK2413
53+
54+
The S3C2412 version of the SMDK2440.
55+
4656
Samsung/Meritech SMDK2440
4757

48-
The S3C2440 compatible version of the SMDK2440
58+
The S3C2440 compatible version of the SMDK2440, which has the
59+
option of an S3C2440 or S3C2442 CPU module.
4960

5061
Thorcom VR1000
5162

@@ -211,24 +222,6 @@ Port Contributors
211222
Lucas Correia Villa Real (S3C2400 port)
212223

213224

214-
Document Changes
215-
----------------
216-
217-
05 Sep 2004 - BJD - Added Document Changes section
218-
05 Sep 2004 - BJD - Added Klaus Fetscher to list of contributors
219-
25 Oct 2004 - BJD - Added Dimitry Andric to list of contributors
220-
25 Oct 2004 - BJD - Updated the MTD from the 2.6.9 merge
221-
21 Jan 2005 - BJD - Added rx3715, added Shannon to contributors
222-
10 Feb 2005 - BJD - Added Guillaume Gourat to contributors
223-
02 Mar 2005 - BJD - Added SMDK2440 to list of machines
224-
06 Mar 2005 - BJD - Added Christer Weinigel
225-
08 Mar 2005 - BJD - Added LCVR to list of people, updated introduction
226-
08 Mar 2005 - BJD - Added section on adding machines
227-
09 Sep 2005 - BJD - Added section on platform data
228-
11 Feb 2006 - BJD - Added I2C, RTC and Watchdog sections
229-
11 Feb 2006 - BJD - Added Osiris machine, and S3C2400 information
230-
231-
232225
Document Author
233226
---------------
234227

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
S3C2412 ARM Linux Overview
2+
==========================
3+
4+
Introduction
5+
------------
6+
7+
The S3C2412 is part of the S3C24XX range of ARM9 System-on-Chip CPUs
8+
from Samsung. This part has an ARM926-EJS core, capable of running up
9+
to 266MHz (see data-sheet for more information)
10+
11+
12+
Clock
13+
-----
14+
15+
The core clock code provides a set of clocks to the drivers, and allows
16+
for source selection and a number of other features.
17+
18+
19+
Power
20+
-----
21+
22+
No support for suspend/resume to RAM in the current system.
23+
24+
25+
DMA
26+
---
27+
28+
No current support for DMA.
29+
30+
31+
GPIO
32+
----
33+
34+
There is support for setting the GPIO to input/output/special function
35+
and reading or writing to them.
36+
37+
38+
UART
39+
----
40+
41+
The UART hardware is similar to the S3C2440, and is supported by the
42+
s3c2410 driver in the drivers/serial directory.
43+
44+
45+
NAND
46+
----
47+
48+
The NAND hardware is similar to the S3C2440, and is supported by the
49+
s3c2410 driver in the drivers/mtd/nand directory.
50+
51+
52+
USB Host
53+
--------
54+
55+
The USB hardware is similar to the S3C2410, with extended clock source
56+
control. The OHCI portion is supported by the ohci-s3c2410 driver, and
57+
the clock control selection is supported by the core clock code.
58+
59+
60+
USB Device
61+
----------
62+
63+
No current support in the kernel
64+
65+
66+
IRQs
67+
----
68+
69+
All the standard, and external interrupt sources are supported. The
70+
extra sub-sources are not yet supported.
71+
72+
73+
RTC
74+
---
75+
76+
The RTC hardware is similar to the S3C2410, and is supported by the
77+
s3c2410-rtc driver.
78+
79+
80+
Watchdog
81+
--------
82+
83+
The watchdog harware is the same as the S3C2410, and is supported by
84+
the s3c2410_wdt driver.
85+
86+
87+
MMC/SD/SDIO
88+
-----------
89+
90+
No current support for the MMC/SD/SDIO block.
91+
92+
IIC
93+
---
94+
95+
The IIC hardware is the same as the S3C2410, and is supported by the
96+
i2c-s3c24xx driver.
97+
98+
99+
IIS
100+
---
101+
102+
No current support for the IIS interface.
103+
104+
105+
SPI
106+
---
107+
108+
No current support for the SPI interfaces.
109+
110+
111+
ATA
112+
---
113+
114+
No current support for the on-board ATA block.
115+
116+
117+
Document Author
118+
---------------
119+
120+
Ben Dooks, (c) 2006 Simtec Electronics
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
S3C2413 ARM Linux Overview
2+
==========================
3+
4+
Introduction
5+
------------
6+
7+
The S3C2413 is an extended version of the S3C2412, with an camera
8+
interface and mobile DDR memory support. See the S3C2412 support
9+
documentation for more information.
10+
11+
12+
Camera Interface
13+
---------------
14+
15+
This block is currently not supported.
16+
17+
18+
Document Author
19+
---------------
20+
21+
Ben Dooks, (c) 2006 Simtec Electronics

Documentation/atomic_ops.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ For example, smp_mb__before_atomic_dec() can be used like so:
157157
smp_mb__before_atomic_dec();
158158
atomic_dec(&obj->ref_count);
159159

160-
It makes sure that all memory operations preceeding the atomic_dec()
160+
It makes sure that all memory operations preceding the atomic_dec()
161161
call are strongly ordered with respect to the atomic counter
162-
operation. In the above example, it guarentees that the assignment of
162+
operation. In the above example, it guarantees that the assignment of
163163
"1" to obj->dead will be globally visible to other cpus before the
164164
atomic counter decrement.
165165

166-
Without the explicitl smp_mb__before_atomic_dec() call, the
166+
Without the explicit smp_mb__before_atomic_dec() call, the
167167
implementation could legally allow the atomic counter update visible
168168
to other cpus before the "obj->dead = 1;" assignment.
169169

@@ -173,11 +173,11 @@ ordering with respect to memory operations after an atomic_dec() call
173173
(smp_mb__{before,after}_atomic_inc()).
174174

175175
A missing memory barrier in the cases where they are required by the
176-
atomic_t implementation above can have disasterous results. Here is
177-
an example, which follows a pattern occuring frequently in the Linux
176+
atomic_t implementation above can have disastrous results. Here is
177+
an example, which follows a pattern occurring frequently in the Linux
178178
kernel. It is the use of atomic counters to implement reference
179179
counting, and it works such that once the counter falls to zero it can
180-
be guarenteed that no other entity can be accessing the object:
180+
be guaranteed that no other entity can be accessing the object:
181181

182182
static void obj_list_add(struct obj *obj)
183183
{
@@ -291,19 +291,19 @@ to the size of an "unsigned long" C data type, and are least of that
291291
size. The endianness of the bits within each "unsigned long" are the
292292
native endianness of the cpu.
293293

294-
void set_bit(unsigned long nr, volatils unsigned long *addr);
295-
void clear_bit(unsigned long nr, volatils unsigned long *addr);
296-
void change_bit(unsigned long nr, volatils unsigned long *addr);
294+
void set_bit(unsigned long nr, volatile unsigned long *addr);
295+
void clear_bit(unsigned long nr, volatile unsigned long *addr);
296+
void change_bit(unsigned long nr, volatile unsigned long *addr);
297297

298298
These routines set, clear, and change, respectively, the bit number
299299
indicated by "nr" on the bit mask pointed to by "ADDR".
300300

301301
They must execute atomically, yet there are no implicit memory barrier
302302
semantics required of these interfaces.
303303

304-
int test_and_set_bit(unsigned long nr, volatils unsigned long *addr);
305-
int test_and_clear_bit(unsigned long nr, volatils unsigned long *addr);
306-
int test_and_change_bit(unsigned long nr, volatils unsigned long *addr);
304+
int test_and_set_bit(unsigned long nr, volatile unsigned long *addr);
305+
int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
306+
int test_and_change_bit(unsigned long nr, volatile unsigned long *addr);
307307

308308
Like the above, except that these routines return a boolean which
309309
indicates whether the changed bit was set _BEFORE_ the atomic bit
@@ -335,7 +335,7 @@ subsequent memory operation is made visible. For example:
335335
/* ... */;
336336
obj->killed = 1;
337337

338-
The implementation of test_and_set_bit() must guarentee that
338+
The implementation of test_and_set_bit() must guarantee that
339339
"obj->dead = 1;" is visible to cpus before the atomic memory operation
340340
done by test_and_set_bit() becomes visible. Likewise, the atomic
341341
memory operation done by test_and_set_bit() must become visible before
@@ -474,7 +474,7 @@ Now, as far as memory barriers go, as long as spin_lock()
474474
strictly orders all subsequent memory operations (including
475475
the cas()) with respect to itself, things will be fine.
476476

477-
Said another way, _atomic_dec_and_lock() must guarentee that
477+
Said another way, _atomic_dec_and_lock() must guarantee that
478478
a counter dropping to zero is never made visible before the
479479
spinlock being acquired.
480480

0 commit comments

Comments
 (0)