Skip to content

Commit 4a0dfe6

Browse files
committed
Merge branch 'imx/pinctrl/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/pinctrl
* 'imx/pinctrl/for-3.5' of git://git.linaro.org/people/shawnguo/linux-2.6: (290 commits) ARM: mxs: enable pinctrl support video: mxsfb: adopt pinctrl support ASoC: mxs-saif: adopt pinctrl support i2c: mxs: adopt pinctrl support mtd: nand: gpmi: adopt pinctrl support mmc: mxs-mmc: adopt pinctrl support serial: mxs-auart: adopt pinctrl support serial: amba-pl011: adopt pinctrl support spi/imx: adopt pinctrl support i2c: imx: adopt pinctrl support can: flexcan: adopt pinctrl support net: fec: adopt pinctrl support tty: serial: imx: adopt pinctrl support mmc: sdhci-imx-esdhc: adopt pinctrl support ARM: imx6q: switch to use pinctrl subsystem ARM: mxs: enable pinctrl dummy states ARM: imx: enable pinctrl dummy states +3.4-rc5 update
2 parents 7488185 + a0f5e36 commit 4a0dfe6

315 files changed

Lines changed: 2681 additions & 1554 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.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
What: /sys/bus/hsi
2+
Date: April 2012
3+
KernelVersion: 3.4
4+
Contact: Carlos Chinea <carlos.chinea@nokia.com>
5+
Description:
6+
High Speed Synchronous Serial Interface (HSI) is a
7+
serial interface mainly used for connecting application
8+
engines (APE) with cellular modem engines (CMT) in cellular
9+
handsets.
10+
The bus will be populated with devices (hsi_clients) representing
11+
the protocols available in the system. Bus drivers implement
12+
those protocols.
13+
14+
What: /sys/bus/hsi/devices/.../modalias
15+
Date: April 2012
16+
KernelVersion: 3.4
17+
Contact: Carlos Chinea <carlos.chinea@nokia.com>
18+
Description: Stores the same MODALIAS value emitted by uevent
19+
Format: hsi:<hsi_client device name>

‎Documentation/power/freezing-of-tasks.txt‎

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,39 @@ architectures).
99

1010
II. How does it work?
1111

12-
There are four per-task flags used for that, PF_NOFREEZE, PF_FROZEN, TIF_FREEZE
12+
There are three per-task flags used for that, PF_NOFREEZE, PF_FROZEN
1313
and PF_FREEZER_SKIP (the last one is auxiliary). The tasks that have
1414
PF_NOFREEZE unset (all user space processes and some kernel threads) are
1515
regarded as 'freezable' and treated in a special way before the system enters a
1616
suspend state as well as before a hibernation image is created (in what follows
1717
we only consider hibernation, but the description also applies to suspend).
1818

1919
Namely, as the first step of the hibernation procedure the function
20-
freeze_processes() (defined in kernel/power/process.c) is called. It executes
21-
try_to_freeze_tasks() that sets TIF_FREEZE for all of the freezable tasks and
22-
either wakes them up, if they are kernel threads, or sends fake signals to them,
23-
if they are user space processes. A task that has TIF_FREEZE set, should react
24-
to it by calling the function called __refrigerator() (defined in
25-
kernel/freezer.c), which sets the task's PF_FROZEN flag, changes its state
26-
to TASK_UNINTERRUPTIBLE and makes it loop until PF_FROZEN is cleared for it.
27-
Then, we say that the task is 'frozen' and therefore the set of functions
28-
handling this mechanism is referred to as 'the freezer' (these functions are
29-
defined in kernel/power/process.c, kernel/freezer.c & include/linux/freezer.h).
30-
User space processes are generally frozen before kernel threads.
20+
freeze_processes() (defined in kernel/power/process.c) is called. A system-wide
21+
variable system_freezing_cnt (as opposed to a per-task flag) is used to indicate
22+
whether the system is to undergo a freezing operation. And freeze_processes()
23+
sets this variable. After this, it executes try_to_freeze_tasks() that sends a
24+
fake signal to all user space processes, and wakes up all the kernel threads.
25+
All freezable tasks must react to that by calling try_to_freeze(), which
26+
results in a call to __refrigerator() (defined in kernel/freezer.c), which sets
27+
the task's PF_FROZEN flag, changes its state to TASK_UNINTERRUPTIBLE and makes
28+
it loop until PF_FROZEN is cleared for it. Then, we say that the task is
29+
'frozen' and therefore the set of functions handling this mechanism is referred
30+
to as 'the freezer' (these functions are defined in kernel/power/process.c,
31+
kernel/freezer.c & include/linux/freezer.h). User space processes are generally
32+
frozen before kernel threads.
3133

3234
__refrigerator() must not be called directly. Instead, use the
3335
try_to_freeze() function (defined in include/linux/freezer.h), that checks
34-
the task's TIF_FREEZE flag and makes the task enter __refrigerator() if the
35-
flag is set.
36+
if the task is to be frozen and makes the task enter __refrigerator().
3637

3738
For user space processes try_to_freeze() is called automatically from the
3839
signal-handling code, but the freezable kernel threads need to call it
3940
explicitly in suitable places or use the wait_event_freezable() or
4041
wait_event_freezable_timeout() macros (defined in include/linux/freezer.h)
41-
that combine interruptible sleep with checking if TIF_FREEZE is set and calling
42-
try_to_freeze(). The main loop of a freezable kernel thread may look like the
43-
following one:
42+
that combine interruptible sleep with checking if the task is to be frozen and
43+
calling try_to_freeze(). The main loop of a freezable kernel thread may look
44+
like the following one:
4445

4546
set_freezable();
4647
do {
@@ -53,7 +54,7 @@ following one:
5354
(from drivers/usb/core/hub.c::hub_thread()).
5455

5556
If a freezable kernel thread fails to call try_to_freeze() after the freezer has
56-
set TIF_FREEZE for it, the freezing of tasks will fail and the entire
57+
initiated a freezing operation, the freezing of tasks will fail and the entire
5758
hibernation operation will be cancelled. For this reason, freezable kernel
5859
threads must call try_to_freeze() somewhere or use one of the
5960
wait_event_freezable() and wait_event_freezable_timeout() macros.

‎Documentation/security/keys.txt‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ KEY SERVICE OVERVIEW
123123

124124
The key service provides a number of features besides keys:
125125

126-
(*) The key service defines two special key types:
126+
(*) The key service defines three special key types:
127127

128128
(+) "keyring"
129129

@@ -137,6 +137,18 @@ The key service provides a number of features besides keys:
137137
blobs of data. These can be created, updated and read by userspace,
138138
and aren't intended for use by kernel services.
139139

140+
(+) "logon"
141+
142+
Like a "user" key, a "logon" key has a payload that is an arbitrary
143+
blob of data. It is intended as a place to store secrets which are
144+
accessible to the kernel but not to userspace programs.
145+
146+
The description can be arbitrary, but must be prefixed with a non-zero
147+
length string that describes the key "subclass". The subclass is
148+
separated from the rest of the description by a ':'. "logon" keys can
149+
be created and updated from userspace, but the payload is only
150+
readable from kernel space.
151+
140152
(*) Each process subscribes to three keyrings: a thread-specific keyring, a
141153
process-specific keyring, and a session-specific keyring.
142154

‎MAINTAINERS‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,6 +3592,7 @@ S: Supported
35923592
F: drivers/net/wireless/iwlegacy/
35933593

35943594
INTEL WIRELESS WIFI LINK (iwlwifi)
3595+
M: Johannes Berg <johannes.berg@intel.com>
35953596
M: Wey-Yi Guy <wey-yi.w.guy@intel.com>
35963597
M: Intel Linux Wireless <ilw@linux.intel.com>
35973598
L: linux-wireless@vger.kernel.org
@@ -7571,8 +7572,8 @@ F: Documentation/filesystems/xfs.txt
75717572
F: fs/xfs/
75727573

75737574
XILINX AXI ETHERNET DRIVER
7574-
M: Ariane Keller <ariane.keller@tik.ee.ethz.ch>
7575-
M: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
7575+
M: Anirudha Sarangi <anirudh@xilinx.com>
7576+
M: John Linn <John.Linn@xilinx.com>
75767577
S: Maintained
75777578
F: drivers/net/ethernet/xilinx/xilinx_axienet*
75787579

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 4
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc4
4+
EXTRAVERSION = -rc5
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
@@ -469,6 +469,7 @@ config ARCH_MXS
469469
select CLKDEV_LOOKUP
470470
select CLKSRC_MMIO
471471
select HAVE_CLK_PREPARE
472+
select PINCTRL
472473
help
473474
Support for Freescale MXS-based family of processors
474475

‎arch/arm/boot/dts/msm8660-surf.dts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
intc: interrupt-controller@02080000 {
1111
compatible = "qcom,msm-8660-qgic";
1212
interrupt-controller;
13-
#interrupt-cells = <1>;
13+
#interrupt-cells = <3>;
1414
reg = < 0x02080000 0x1000 >,
1515
< 0x02081000 0x1000 >;
1616
};
@@ -19,6 +19,6 @@
1919
compatible = "qcom,msm-hsuart", "qcom,msm-uart";
2020
reg = <0x19c40000 0x1000>,
2121
<0x19c00000 0x1000>;
22-
interrupts = <195>;
22+
interrupts = <0 195 0x0>;
2323
};
2424
};

‎arch/arm/configs/mini2440_defconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ CONFIG_MODULE_FORCE_UNLOAD=y
1414
# CONFIG_BLK_DEV_BSG is not set
1515
CONFIG_BLK_DEV_INTEGRITY=y
1616
CONFIG_ARCH_S3C24XX=y
17+
# CONFIG_CPU_S3C2410 is not set
18+
CONFIG_CPU_S3C2440=y
1719
CONFIG_S3C_ADC=y
1820
CONFIG_S3C24XX_PWM=y
1921
CONFIG_MACH_MINI2440=y

‎arch/arm/kernel/smp_twd.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,10 @@ static int twd_cpufreq_transition(struct notifier_block *nb,
118118
* The twd clock events must be reprogrammed to account for the new
119119
* frequency. The timer is local to a cpu, so cross-call to the
120120
* changing cpu.
121-
*
122-
* Only wait for it to finish, if the cpu is active to avoid
123-
* deadlock when cpu1 is spinning on while(!cpu_active(cpu1)) during
124-
* booting of that cpu.
125121
*/
126122
if (state == CPUFREQ_POSTCHANGE || state == CPUFREQ_RESUMECHANGE)
127123
smp_call_function_single(freqs->cpu, twd_update_frequency,
128-
NULL, cpu_active(freqs->cpu));
124+
NULL, 1);
129125

130126
return NOTIFY_OK;
131127
}

‎arch/arm/mach-exynos/clock-exynos4.c‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -497,25 +497,25 @@ static struct clk exynos4_init_clocks_off[] = {
497497
.ctrlbit = (1 << 3),
498498
}, {
499499
.name = "hsmmc",
500-
.devname = "s3c-sdhci.0",
500+
.devname = "exynos4-sdhci.0",
501501
.parent = &exynos4_clk_aclk_133.clk,
502502
.enable = exynos4_clk_ip_fsys_ctrl,
503503
.ctrlbit = (1 << 5),
504504
}, {
505505
.name = "hsmmc",
506-
.devname = "s3c-sdhci.1",
506+
.devname = "exynos4-sdhci.1",
507507
.parent = &exynos4_clk_aclk_133.clk,
508508
.enable = exynos4_clk_ip_fsys_ctrl,
509509
.ctrlbit = (1 << 6),
510510
}, {
511511
.name = "hsmmc",
512-
.devname = "s3c-sdhci.2",
512+
.devname = "exynos4-sdhci.2",
513513
.parent = &exynos4_clk_aclk_133.clk,
514514
.enable = exynos4_clk_ip_fsys_ctrl,
515515
.ctrlbit = (1 << 7),
516516
}, {
517517
.name = "hsmmc",
518-
.devname = "s3c-sdhci.3",
518+
.devname = "exynos4-sdhci.3",
519519
.parent = &exynos4_clk_aclk_133.clk,
520520
.enable = exynos4_clk_ip_fsys_ctrl,
521521
.ctrlbit = (1 << 8),
@@ -1202,7 +1202,7 @@ static struct clksrc_clk exynos4_clk_sclk_uart3 = {
12021202
static struct clksrc_clk exynos4_clk_sclk_mmc0 = {
12031203
.clk = {
12041204
.name = "sclk_mmc",
1205-
.devname = "s3c-sdhci.0",
1205+
.devname = "exynos4-sdhci.0",
12061206
.parent = &exynos4_clk_dout_mmc0.clk,
12071207
.enable = exynos4_clksrc_mask_fsys_ctrl,
12081208
.ctrlbit = (1 << 0),
@@ -1213,7 +1213,7 @@ static struct clksrc_clk exynos4_clk_sclk_mmc0 = {
12131213
static struct clksrc_clk exynos4_clk_sclk_mmc1 = {
12141214
.clk = {
12151215
.name = "sclk_mmc",
1216-
.devname = "s3c-sdhci.1",
1216+
.devname = "exynos4-sdhci.1",
12171217
.parent = &exynos4_clk_dout_mmc1.clk,
12181218
.enable = exynos4_clksrc_mask_fsys_ctrl,
12191219
.ctrlbit = (1 << 4),
@@ -1224,7 +1224,7 @@ static struct clksrc_clk exynos4_clk_sclk_mmc1 = {
12241224
static struct clksrc_clk exynos4_clk_sclk_mmc2 = {
12251225
.clk = {
12261226
.name = "sclk_mmc",
1227-
.devname = "s3c-sdhci.2",
1227+
.devname = "exynos4-sdhci.2",
12281228
.parent = &exynos4_clk_dout_mmc2.clk,
12291229
.enable = exynos4_clksrc_mask_fsys_ctrl,
12301230
.ctrlbit = (1 << 8),
@@ -1235,7 +1235,7 @@ static struct clksrc_clk exynos4_clk_sclk_mmc2 = {
12351235
static struct clksrc_clk exynos4_clk_sclk_mmc3 = {
12361236
.clk = {
12371237
.name = "sclk_mmc",
1238-
.devname = "s3c-sdhci.3",
1238+
.devname = "exynos4-sdhci.3",
12391239
.parent = &exynos4_clk_dout_mmc3.clk,
12401240
.enable = exynos4_clksrc_mask_fsys_ctrl,
12411241
.ctrlbit = (1 << 12),
@@ -1340,10 +1340,10 @@ static struct clk_lookup exynos4_clk_lookup[] = {
13401340
CLKDEV_INIT("exynos4210-uart.1", "clk_uart_baud0", &exynos4_clk_sclk_uart1.clk),
13411341
CLKDEV_INIT("exynos4210-uart.2", "clk_uart_baud0", &exynos4_clk_sclk_uart2.clk),
13421342
CLKDEV_INIT("exynos4210-uart.3", "clk_uart_baud0", &exynos4_clk_sclk_uart3.clk),
1343-
CLKDEV_INIT("s3c-sdhci.0", "mmc_busclk.2", &exynos4_clk_sclk_mmc0.clk),
1344-
CLKDEV_INIT("s3c-sdhci.1", "mmc_busclk.2", &exynos4_clk_sclk_mmc1.clk),
1345-
CLKDEV_INIT("s3c-sdhci.2", "mmc_busclk.2", &exynos4_clk_sclk_mmc2.clk),
1346-
CLKDEV_INIT("s3c-sdhci.3", "mmc_busclk.2", &exynos4_clk_sclk_mmc3.clk),
1343+
CLKDEV_INIT("exynos4-sdhci.0", "mmc_busclk.2", &exynos4_clk_sclk_mmc0.clk),
1344+
CLKDEV_INIT("exynos4-sdhci.1", "mmc_busclk.2", &exynos4_clk_sclk_mmc1.clk),
1345+
CLKDEV_INIT("exynos4-sdhci.2", "mmc_busclk.2", &exynos4_clk_sclk_mmc2.clk),
1346+
CLKDEV_INIT("exynos4-sdhci.3", "mmc_busclk.2", &exynos4_clk_sclk_mmc3.clk),
13471347
CLKDEV_INIT("exynos4-fb.0", "lcd", &exynos4_clk_fimd0),
13481348
CLKDEV_INIT("dma-pl330.0", "apb_pclk", &exynos4_clk_pdma0),
13491349
CLKDEV_INIT("dma-pl330.1", "apb_pclk", &exynos4_clk_pdma1),

0 commit comments

Comments
 (0)