Skip to content

Commit b3f87b9

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
Merge branch 'bugfixes' into nfs-for-next
2 parents 041245c + 1afeaf5 commit b3f87b9

477 files changed

Lines changed: 4377 additions & 2783 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/devicetree/bindings/ata/calxeda-sata.txt renamed to Documentation/devicetree/bindings/ata/ahci-platform.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
* Calxeda SATA Controller
1+
* AHCI SATA Controller
22

33
SATA nodes are defined to describe on-chip Serial ATA controllers.
44
Each SATA controller should have its own node.
55

66
Required properties:
7-
- compatible : compatible list, contains "calxeda,hb-ahci"
7+
- compatible : compatible list, contains "calxeda,hb-ahci" or "snps,spear-ahci"
88
- interrupts : <interrupt mapping for SATA IRQ>
99
- reg : <registers mapping>
1010

@@ -14,4 +14,3 @@ Example:
1414
reg = <0xffe08000 0x1000>;
1515
interrupts = <115>;
1616
};
17-

‎Documentation/devicetree/bindings/sound/sgtl5000.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Required properties:
44
- compatible : "fsl,sgtl5000".
55

6+
- reg : the I2C address of the device
7+
68
Example:
79

810
codec: sgtl5000@0a {

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ tcp_adv_win_scale - INTEGER
147147
(if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
148148
if it is <= 0.
149149
Possible values are [-31, 31], inclusive.
150-
Default: 2
150+
Default: 1
151151

152152
tcp_allowed_congestion_control - STRING
153153
Show/set the congestion control choices available to non-privileged
@@ -410,7 +410,7 @@ tcp_rmem - vector of 3 INTEGERs: min, default, max
410410
net.core.rmem_max. Calling setsockopt() with SO_RCVBUF disables
411411
automatic tuning of that socket's receive buffer size, in which
412412
case this value is ignored.
413-
Default: between 87380B and 4MB, depending on RAM size.
413+
Default: between 87380B and 6MB, depending on RAM size.
414414

415415
tcp_sack - BOOLEAN
416416
Enable select acknowledgments (SACKS).

‎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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,10 +1968,9 @@ S: Maintained
19681968
F: drivers/net/ethernet/ti/cpmac.c
19691969

19701970
CPU FREQUENCY DRIVERS
1971-
M: Dave Jones <davej@redhat.com>
1971+
M: Rafael J. Wysocki <rjw@sisk.pl>
19721972
L: cpufreq@vger.kernel.org
1973-
W: http://www.codemonkey.org.uk/projects/cpufreq/
1974-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq.git
1973+
L: linux-pm@vger.kernel.org
19751974
S: Maintained
19761975
F: drivers/cpufreq/
19771976
F: include/linux/cpufreq.h
@@ -4037,6 +4036,7 @@ F: Documentation/scsi/53c700.txt
40374036
F: drivers/scsi/53c700*
40384037

40394038
LED SUBSYSTEM
4039+
M: Bryan Wu <bryan.wu@canonical.com>
40404040
M: Richard Purdie <rpurdie@rpsys.net>
40414041
S: Maintained
40424042
F: drivers/leds/
@@ -5892,11 +5892,11 @@ F: Documentation/scsi/st.txt
58925892
F: drivers/scsi/st*
58935893

58945894
SCTP PROTOCOL
5895-
M: Vlad Yasevich <vladislav.yasevich@hp.com>
5895+
M: Vlad Yasevich <vyasevich@gmail.com>
58965896
M: Sridhar Samudrala <sri@us.ibm.com>
58975897
L: linux-sctp@vger.kernel.org
58985898
W: http://lksctp.sourceforge.net
5899-
S: Supported
5899+
S: Maintained
59005900
F: Documentation/networking/sctp.txt
59015901
F: include/linux/sctp.h
59025902
F: include/net/sctp/

‎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 = -rc7
55
NAME = Saber-toothed Squirrel
66

77
# *DOCUMENTATION*

‎arch/alpha/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ config ALPHA_BROKEN_IRQ_MASK
477477

478478
config VGA_HOSE
479479
bool
480-
depends on ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI
480+
depends on VGA_CONSOLE && (ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL || ALPHA_TSUNAMI)
481481
default y
482482
help
483483
Support VGA on an arbitrary hose; needed for several platforms

‎arch/alpha/include/asm/rtc.h‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
#ifndef _ALPHA_RTC_H
22
#define _ALPHA_RTC_H
33

4-
#if defined(CONFIG_ALPHA_GENERIC)
4+
#if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP) \
5+
|| defined(CONFIG_ALPHA_GENERIC)
56
# define get_rtc_time alpha_mv.rtc_get_time
67
# define set_rtc_time alpha_mv.rtc_set_time
7-
#else
8-
# if defined(CONFIG_ALPHA_MARVEL) && defined(CONFIG_SMP)
9-
# define get_rtc_time marvel_get_rtc_time
10-
# define set_rtc_time marvel_set_rtc_time
11-
# endif
128
#endif
139

1410
#include <asm-generic/rtc.h>

‎arch/alpha/kernel/core_tsunami.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <asm/core_tsunami.h>
1212
#undef __EXTERN_INLINE
1313

14+
#include <linux/module.h>
1415
#include <linux/types.h>
1516
#include <linux/pci.h>
1617
#include <linux/sched.h>

0 commit comments

Comments
 (0)