Skip to content

Commit 177f72f

Browse files
committed
Merge tag 'v3.3-rc2' into for-3.4
A reasonable amount of new development is causing fiddly merge conflicts between different resource management changes (mostly fixing bugs in resource management due to noticing things while doing enhancements in the same area). Linux 3.3-rc2 .. several days delayed. No reason, I just didn't think of it.
2 parents 761bfdd + 62aa2b5 commit 177f72f

File tree

582 files changed

+5418
-8259
lines changed

Some content is hidden

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

582 files changed

+5418
-8259
lines changed

Documentation/DocBook/device-drivers.tmpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050

5151
<sect1><title>Delaying, scheduling, and timer routines</title>
5252
!Iinclude/linux/sched.h
53-
!Ekernel/sched.c
53+
!Ekernel/sched/core.c
54+
!Ikernel/sched/cpupri.c
55+
!Ikernel/sched/fair.c
5456
!Iinclude/linux/completion.h
5557
!Ekernel/timer.c
5658
</sect1>
@@ -216,7 +218,6 @@ X!Isound/sound_firmware.c
216218

217219
<chapter id="uart16x50">
218220
<title>16x50 UART Driver</title>
219-
!Iinclude/linux/serial_core.h
220221
!Edrivers/tty/serial/serial_core.c
221222
!Edrivers/tty/serial/8250.c
222223
</chapter>

Documentation/DocBook/deviceiobook.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ CPU B: spin_unlock_irqrestore(&amp;dev_lock, flags)
317317
<chapter id="pubfunctions">
318318
<title>Public Functions Provided</title>
319319
!Iarch/x86/include/asm/io.h
320-
!Elib/iomap.c
320+
!Elib/pci_iomap.c
321321
</chapter>
322322

323323
</book>

Documentation/driver-model/devres.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ certainly invest a bit more effort into libata core layer).
233233
6. List of managed interfaces
234234
-----------------------------
235235

236+
MEM
237+
devm_kzalloc()
238+
devm_kfree()
239+
236240
IO region
237241
devm_request_region()
238242
devm_request_mem_region()

Documentation/feature-removal-schedule.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,3 +510,17 @@ Why: The pci_scan_bus_parented() interface creates a new root bus. The
510510
convert to using pci_scan_root_bus() so they can supply a list of
511511
bus resources when the bus is created.
512512
Who: Bjorn Helgaas <[email protected]>
513+
514+
----------------------------
515+
516+
What: The CAP9 SoC family will be removed
517+
When: 3.4
518+
Files: arch/arm/mach-at91/at91cap9.c
519+
arch/arm/mach-at91/at91cap9_devices.c
520+
arch/arm/mach-at91/include/mach/at91cap9.h
521+
arch/arm/mach-at91/include/mach/at91cap9_matrix.h
522+
arch/arm/mach-at91/include/mach/at91cap9_ddrsdr.h
523+
arch/arm/mach-at91/board-cap9adk.c
524+
Why: The code is not actively maintained and platforms are now hard to find.
525+
Who: Nicolas Ferre <[email protected]>
526+
Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Documentation/pinctrl.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -857,42 +857,41 @@ case), we define a mapping like this:
857857

858858
...
859859
{
860-
.name "2bit"
860+
.name = "2bit"
861861
.ctrl_dev_name = "pinctrl-foo",
862862
.function = "mmc0",
863863
.group = "mmc0_1_grp",
864864
.dev_name = "foo-mmc.0",
865865
},
866866
{
867-
.name "4bit"
867+
.name = "4bit"
868868
.ctrl_dev_name = "pinctrl-foo",
869869
.function = "mmc0",
870870
.group = "mmc0_1_grp",
871871
.dev_name = "foo-mmc.0",
872872
},
873873
{
874-
.name "4bit"
874+
.name = "4bit"
875875
.ctrl_dev_name = "pinctrl-foo",
876876
.function = "mmc0",
877877
.group = "mmc0_2_grp",
878878
.dev_name = "foo-mmc.0",
879879
},
880880
{
881-
.name "8bit"
881+
.name = "8bit"
882882
.ctrl_dev_name = "pinctrl-foo",
883-
.function = "mmc0",
884883
.group = "mmc0_1_grp",
885884
.dev_name = "foo-mmc.0",
886885
},
887886
{
888-
.name "8bit"
887+
.name = "8bit"
889888
.ctrl_dev_name = "pinctrl-foo",
890889
.function = "mmc0",
891890
.group = "mmc0_2_grp",
892891
.dev_name = "foo-mmc.0",
893892
},
894893
{
895-
.name "8bit"
894+
.name = "8bit"
896895
.ctrl_dev_name = "pinctrl-foo",
897896
.function = "mmc0",
898897
.group = "mmc0_3_grp",
@@ -995,7 +994,7 @@ This is enabled by simply setting the .hog_on_boot field in the map to true,
995994
like this:
996995

997996
{
998-
.name "POWERMAP"
997+
.name = "POWERMAP"
999998
.ctrl_dev_name = "pinctrl-foo",
1000999
.function = "power_func",
10011000
.hog_on_boot = true,
@@ -1025,7 +1024,7 @@ it, disables and releases it, and muxes it in on the pins defined by group B:
10251024

10261025
foo_switch()
10271026
{
1028-
struct pinmux pmx;
1027+
struct pinmux *pmx;
10291028

10301029
/* Enable on position A */
10311030
pmx = pinmux_get(&device, "spi0-pos-A");

Documentation/power/basic-pm-debugging.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test at least a couple of times in a row for confidence. [This is necessary,
1515
because some problems only show up on a second attempt at suspending and
1616
resuming the system.] Moreover, hibernating in the "reboot" and "shutdown"
1717
modes causes the PM core to skip some platform-related callbacks which on ACPI
18-
systems might be necessary to make hibernation work. Thus, if you machine fails
18+
systems might be necessary to make hibernation work. Thus, if your machine fails
1919
to hibernate or resume in the "reboot" mode, you should try the "platform" mode:
2020

2121
# echo platform > /sys/power/disk

Documentation/power/freezing-of-tasks.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ So in practice, the 'at all' may become a 'why freeze kernel threads?' and
120120
freezing user threads I don't find really objectionable."
121121

122122
Still, there are kernel threads that may want to be freezable. For example, if
123-
a kernel that belongs to a device driver accesses the device directly, it in
124-
principle needs to know when the device is suspended, so that it doesn't try to
125-
access it at that time. However, if the kernel thread is freezable, it will be
126-
frozen before the driver's .suspend() callback is executed and it will be
123+
a kernel thread that belongs to a device driver accesses the device directly, it
124+
in principle needs to know when the device is suspended, so that it doesn't try
125+
to access it at that time. However, if the kernel thread is freezable, it will
126+
be frozen before the driver's .suspend() callback is executed and it will be
127127
thawed after the driver's .resume() callback has run, so it won't be accessing
128128
the device while it's suspended.
129129

Documentation/stable_kernel_rules.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Procedure for submitting patches to the -stable tree:
2525

2626
- Send the patch, after verifying that it follows the above rules, to
2727
[email protected]. You must note the upstream commit ID in the
28-
changelog of your submission.
28+
changelog of your submission, as well as the kernel version you wish
29+
it to be applied to.
2930
- To have the patch automatically included in the stable tree, add the tag
3031
3132
in the sign-off area. Once the patch is merged it will be applied to

Documentation/thermal/sysfs-api.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ method, the sys I/F structure will be built like this:
284284
The framework includes a simple notification mechanism, in the form of a
285285
netlink event. Netlink socket initialization is done during the _init_
286286
of the framework. Drivers which intend to use the notification mechanism
287-
just need to call generate_netlink_event() with two arguments viz
287+
just need to call thermal_generate_netlink_event() with two arguments viz
288288
(originator, event). Typically the originator will be an integer assigned
289289
to a thermal_zone_device when it registers itself with the framework. The
290290
event will be one of:{THERMAL_AUX0, THERMAL_AUX1, THERMAL_CRITICAL,

Documentation/virtual/00-INDEX

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Virtualization support in the Linux kernel.
44
- this file.
55
kvm/
66
- Kernel Virtual Machine. See also http://linux-kvm.org
7-
lguest/
8-
- Extremely simple hypervisor for experimental/educational use.
97
uml/
108
- User Mode Linux, builds/runs Linux kernel as a userspace program.
119
virtio.txt

MAINTAINERS

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,6 +2246,17 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm.git
22462246
S: Supported
22472247
F: fs/dlm/
22482248

2249+
DMA BUFFER SHARING FRAMEWORK
2250+
M: Sumit Semwal <[email protected]>
2251+
S: Maintained
2252+
2253+
2254+
2255+
F: drivers/base/dma-buf*
2256+
F: include/linux/dma-buf*
2257+
F: Documentation/dma-buf-sharing.txt
2258+
T: git git://git.linaro.org/people/sumitsemwal/linux-dma-buf.git
2259+
22492260
DMA GENERIC OFFLOAD ENGINE SUBSYSTEM
22502261
M: Vinod Koul <[email protected]>
22512262
M: Dan Williams <[email protected]>
@@ -2339,6 +2350,9 @@ F: include/drm/i915*
23392350

23402351
DRM DRIVERS FOR EXYNOS
23412352
M: Inki Dae <[email protected]>
2353+
M: Joonyoung Shim <[email protected]>
2354+
M: Seung-Woo Kim <[email protected]>
2355+
M: Kyungmin Park <[email protected]>
23422356
23432357
S: Supported
23442358
F: drivers/gpu/drm/exynos
@@ -2391,7 +2405,7 @@ F: net/bridge/netfilter/ebt*.c
23912405

23922406
ECRYPT FILE SYSTEM
23932407
M: Tyler Hicks <[email protected]>
2394-
M: Dustin Kirkland <kirkland@canonical.com>
2408+
M: Dustin Kirkland <dustin.kirkland@gazzang.com>
23952409
23962410
W: https://launchpad.net/ecryptfs
23972411
S: Supported
@@ -4126,6 +4140,7 @@ F: fs/partitions/ldm.*
41264140

41274141
LogFS
41284142
M: Joern Engel <[email protected]>
4143+
M: Prasad Joshi <[email protected]>
41294144
41304145
W: logfs.org
41314146
S: Maintained
@@ -4267,13 +4282,6 @@ S: Orphan
42674282
F: drivers/video/matrox/matroxfb_*
42684283
F: include/linux/matroxfb.h
42694284

4270-
MAX1668 TEMPERATURE SENSOR DRIVER
4271-
M: "David George" <[email protected]>
4272-
4273-
S: Maintained
4274-
F: Documentation/hwmon/max1668
4275-
F: drivers/hwmon/max1668.c
4276-
42774285
MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER
42784286
M: "Hans J. Koch" <[email protected]>
42794287
@@ -6664,7 +6672,7 @@ TTY LAYER
66646672
M: Greg Kroah-Hartman <[email protected]>
66656673
S: Maintained
66666674
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6.git
6667-
F: drivers/tty/*
6675+
F: drivers/tty/
66686676
F: drivers/tty/serial/serial_core.c
66696677
F: include/linux/serial_core.h
66706678
F: include/linux/serial.h
@@ -7357,6 +7365,7 @@ S: Supported
73577365
F: Documentation/hwmon/wm83??
73587366
F: arch/arm/mach-s3c64xx/mach-crag6410*
73597367
F: drivers/leds/leds-wm83*.c
7368+
F: drivers/hwmon/wm83??-hwmon.c
73607369
F: drivers/input/misc/wm831x-on.c
73617370
F: drivers/input/touchscreen/wm831x-ts.c
73627371
F: drivers/input/touchscreen/wm97*.c

Makefile

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

77
# *DOCUMENTATION*

arch/arm/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ config ARCH_SA1100
754754
select ARCH_HAS_CPUFREQ
755755
select CPU_FREQ
756756
select GENERIC_CLOCKEVENTS
757-
select CLKDEV_LOOKUP
757+
select HAVE_CLK
758758
select HAVE_SCHED_CLOCK
759759
select TICK_ONESHOT
760760
select ARCH_REQUIRE_GPIOLIB
@@ -825,7 +825,6 @@ config ARCH_S5PC100
825825
select HAVE_CLK
826826
select CLKDEV_LOOKUP
827827
select CPU_V7
828-
select ARM_L1_CACHE_SHIFT_6
829828
select ARCH_USES_GETTIMEOFFSET
830829
select HAVE_S3C2410_I2C if I2C
831830
select HAVE_S3C_RTC if RTC_CLASS
@@ -842,7 +841,6 @@ config ARCH_S5PV210
842841
select HAVE_CLK
843842
select CLKDEV_LOOKUP
844843
select CLKSRC_MMIO
845-
select ARM_L1_CACHE_SHIFT_6
846844
select ARCH_HAS_CPUFREQ
847845
select GENERIC_CLOCKEVENTS
848846
select HAVE_SCHED_CLOCK

arch/arm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ machine-$(CONFIG_ARCH_MSM) := msm
160160
machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0
161161
machine-$(CONFIG_ARCH_IMX_V4_V5) := imx
162162
machine-$(CONFIG_ARCH_IMX_V6_V7) := imx
163-
machine-$(CONFIG_ARCH_MX5) := mx5
164163
machine-$(CONFIG_ARCH_MXS) := mxs
165164
machine-$(CONFIG_ARCH_NETX) := netx
166165
machine-$(CONFIG_ARCH_NOMADIK) := nomadik

arch/arm/common/gic.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
#include <asm/irq.h>
4343
#include <asm/exception.h>
44+
#include <asm/smp_plat.h>
4445
#include <asm/mach/irq.h>
4546
#include <asm/hardware/gic.h>
4647

@@ -352,11 +353,7 @@ static void __init gic_dist_init(struct gic_chip_data *gic)
352353
unsigned int gic_irqs = gic->gic_irqs;
353354
struct irq_domain *domain = &gic->domain;
354355
void __iomem *base = gic_data_dist_base(gic);
355-
u32 cpu = 0;
356-
357-
#ifdef CONFIG_SMP
358-
cpu = cpu_logical_map(smp_processor_id());
359-
#endif
356+
u32 cpu = cpu_logical_map(smp_processor_id());
360357

361358
cpumask = 1 << cpu;
362359
cpumask |= cpumask << 8;

0 commit comments

Comments
 (0)